diff options
| -rw-r--r-- | contributors/devel/e2e-tests.md | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/contributors/devel/e2e-tests.md b/contributors/devel/e2e-tests.md index 670358ca..8ccd77f1 100644 --- a/contributors/devel/e2e-tests.md +++ b/contributors/devel/e2e-tests.md @@ -78,6 +78,11 @@ some tests, and then tear everything down. Make sure you have followed the getting started steps for your chosen cloud platform (which might involve changing the --provider flag value to something other than "gce"). +You can quickly recompile the e2e testing framework via `go install ./test/e2e`. +This will not do anything besides allow you to verify that the go code compiles. +If you want to run your e2e testing framework without re-provisioning the e2e setup, +you can do so via `make WHAT=test/e2e/e2e.test`, and then re-running the ginkgo tests. + To build Kubernetes, up a cluster, run tests, and tear everything down, use: ```sh @@ -96,8 +101,9 @@ go run hack/e2e.go -- -v --up # Run all tests go run hack/e2e.go -- -v --test -# Run tests matching the regex "\[Feature:Performance\]" -go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=\[Feature:Performance\]" +# Run tests matching the regex "\[Feature:Performance\]" against a local cluster +# Specify "--provider=local" flag when running the tests locally +go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=\[Feature:Performance\]" --provider=local # Conversely, exclude tests that match the regex "Pods.*env" go run hack/e2e.go -- -v --test --test_args="--ginkgo.skip=Pods.*env" @@ -138,14 +144,6 @@ with this command: go run hack/e2e.go -- -v --down ``` -## Building the Tests - -* You can quickly recompile the e2e testing framework via `go install ./test/e2e`. - This will not do anything besides allow you to verify that the go code compiles. - -* If you want to run your e2e testing framework without re-provisioning the e2e setup, - you can do so via `make WHAT=test/e2e/e2e.test` and then re-running the ginkgo tests. - ## Advanced testing ### Installing/updating kubetest |
