mirror of https://github.com/kubernetes/kops.git
Update docs/development/testing.md
Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com>
This commit is contained in:
parent
67b289510f
commit
cfa19844f2
|
@ -6,7 +6,7 @@ Unit and integration tests can be run using `go test`
|
|||
|
||||
To run all tests:
|
||||
```
|
||||
go test ./...
|
||||
go test -v ./...
|
||||
```
|
||||
|
||||
### Adding an integration test
|
||||
|
@ -51,4 +51,4 @@ GINKGO_PARALLEL=y kubetest --test --test_args="--ginkgo.skip=\[Slow\]|\[Serial\]
|
|||
|
||||
If you want to run the tests against your development version of kops, you need to upload the binaries and set the environment variables as described in [Adding a new feature](adding_a_feature.md).
|
||||
|
||||
Since we assume you are using this cluster for testing, we leave the cluster running after the tests have finished so that you can inspect the nodes if anything unexpected happens. If you do not need this, you can add the `--down` flag. Otherwise, just delete the cluster as any other cluster: `kops delete cluster my.testcluster.com --yes`
|
||||
Since we assume you are using this cluster for testing, we leave the cluster running after the tests have finished so that you can inspect the nodes if anything unexpected happens. If you do not need this, you can add the `--down` flag. Otherwise, just delete the cluster as any other cluster: `kops delete cluster my.testcluster.com --yes`
|
||||
|
|
Loading…
Reference in New Issue