kubectl/pkg/framework/test
Gareth Smith fc5d4050b1 Add Fixtures struct, which can start+stop everything
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())
```
2017-11-29 12:08:29 +00:00
..
assets Add etcd launcher to test framework 2017-11-29 12:08:29 +00:00
democli Add help text and barebones integration test 2017-11-29 12:08:29 +00:00
testfakes Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
vendor Add dependencies 2017-11-29 12:08:29 +00:00
Gopkg.lock Add help text and barebones integration test 2017-11-29 12:08:29 +00:00
Gopkg.toml Add help text and barebones integration test 2017-11-29 12:08:28 +00:00
apiserver.go Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
apiserver_test.go Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
etcd.go Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
etcd_test.go Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
fixtures.go Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
fixtures_test.go Add Fixtures struct, which can start+stop everything 2017-11-29 12:08:29 +00:00
test_suite_test.go Add apiserver launcher to test framework 2017-11-29 12:08:29 +00:00