b0c5002552 | ||
---|---|---|
.. | ||
e2eutil | ||
framework | ||
upgradetest | ||
README.md | ||
basic_test.go | ||
cluster_status_test.go | ||
main_test.go | ||
recovery_test.go | ||
resize_test.go | ||
restore_test.go | ||
self_hosted_test.go | ||
tls_test.go | ||
util.go |
README.md
E2E Testing
End-to-end (e2e) testing is automated testing for real user scenarios.
Build and run test
Prerequisites:
- a running k8s cluster and kube config. We will need to pass kube config as arguments.
- Have kubeconfig file ready.
- Have etcd operator image ready.
e2e tests are written as go test. All go test techniques applies, e.g. picking what to run, timeout length. Let's say I want to run all tests in "test/e2e/":
$ go test -v ./test/e2e/ --kubeconfig "$HOME/.kube/config" --operator-image=gcr.io/coreos-k8s-scale-testing/etcd-operator