Update docs/development/testing.md

Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com>
This commit is contained in:
Ole Markus With 2020-04-18 14:59:43 +02:00 committed by GitHub
parent 67b289510f
commit cfa19844f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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`