agones.dev/agones@v1.54.0/test/e2e/README.md (about) 1 # E2E Testing 2 3 End-to-end (e2e) testing is automated testing for real user scenarios. 4 5 ## Build and run test 6 7 Prerequisites: 8 - a running k8s cluster (kube config is passed as arguments). 9 - Have kubeconfig file ready. 10 - (optional) set the `IMAGE_PULL_SECRET` env var to the secret name needed to pull the gameserver and/or Agones SDK images, if needed 11 12 e2e tests are written as Go test. All go test techniques apply, e.g. picking 13 what to run, timeout length. 14 15 To run e2e tests on your kubectl configured cluster: 16 17 ``` 18 make test-e2e 19 ``` 20 21 To run a single test on your kubectl configured cluster you can optionally include any flags listed 22 in e2e test args in the agones/build/Makefile such as `FEATURE_GATES="CountsAndLists=true"`: 23 24 ``` 25 FEATURE_GATES="CountsAndLists=true" go test -race -run ^TestCounterAutoscaler$ 26 ``` 27 28 To run on minikube use the special target: 29 30 ``` 31 make minikube-test-e2e 32 ```