added more clarify how to invoke/debug the tests

This commit is contained in:
Geoffrey Huntley 2019-06-25 15:49:01 +10:00 committed by GitHub
parent ed22d9c047
commit 9cacd98dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,13 +21,14 @@ nix-build release.nix -A tests-results --show-trace
**Building single e2e test**
```
cd tests
nix-build release.nix -A tests.k8s-1_10.testsByName.k8s-crd.test
nix-build release.nix -A tests.k8s-1_10.testsByName.<test-name>.test
```
**Debugging e2e test**
```
nix-build release.nix -A tests.k8s-1_10.testsByName.k8s-crd.test.driver
nix-build release.nix -A tests.k8s-1_10.testsByName.<test-name>.test.driver
resut/bin/nixos-test-driver
testScript;