Create a new set of test fixtures by doing:
```
f := test.NewFixtures("/path/to/etcd", "/path/to/apiserver")
```
Before running your integration tests, start all your fixtures:
```
err := f.Start()
Expect(err).NotTo(HaveOccurred())
```
Now that you have started your etcd and apiserver, you'll find the
apiserver listening locally on the default port. When you're done with
your testing, stop and clean up:
```
err := f.Stop()
Expect(err).NotTo(HaveOccurred())
```
|
||
|---|---|---|
| .. | ||
| assets | ||
| democli | ||
| testfakes | ||
| vendor | ||
| Gopkg.lock | ||
| Gopkg.toml | ||
| apiserver.go | ||
| apiserver_test.go | ||
| etcd.go | ||
| etcd_test.go | ||
| fixtures.go | ||
| fixtures_test.go | ||
| test_suite_test.go | ||