minikube/test/integration
Thomas Stromberg 2b58dbd285 retry nslookup, make sure start includes StartArgs 2019-09-11 13:08:44 -07:00
..
testdata Merge branch 'master' into norunner2 2019-09-11 11:54:24 -07:00
README.md Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
a_download_only_test.go Refactor parallelized integration tests for clarity 2019-09-11 09:59:38 -07:00
addons_test.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
docker_test.go Refactor parallelized integration tests for clarity 2019-09-11 09:59:38 -07:00
driver_install_or_update_test.go Merge driver change 2019-09-11 11:57:38 -07:00
fn_mount_cmd.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
fn_pvc.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
fn_tunnel_cmd.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
functional_test.go retry nslookup, make sure start includes StartArgs 2019-09-11 13:08:44 -07:00
guest_env_test.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
gvisor_addon_test.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
helpers.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
main.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
none_test.go Refactor parallelized integration tests for clarity 2019-09-11 09:59:38 -07:00
start_stop_delete_test.go Refactor parallelized integration tests for clarity 2019-09-11 09:59:38 -07:00
util.go Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
version_upgrade_test.go Refactor parallelized integration tests for clarity 2019-09-11 09:59:38 -07:00

README.md

Integration tests

The basics

To run all tests from the minikube root directory:

make integration

Quickly iterating on a single test

Run a single test on an active cluster:

make integration -e TEST_ARGS="-test.v -test.run TestFunctional/parallel/MountCmd --profile=minikube --cleanup=false"

WARNING: For this to work repeatedly, the test must be written so that it cleans up after itself.

See main.go for details.

Disabling parallelism

make integration -e TEST_ARGS="-test.parallel=1"

Testing philosophy