tree: e5f279e064f0ad1a2e7afe69aaadea756ffccc1e [path history] [tgz]
  1. endpoints/
  2. features/
  3. ingress/
  4. scaffold/
  5. testdata/
  6. e2e.go
  7. e2e_test.go
  8. go.mod
  9. go.sum
  10. README.md
test/e2e/README.md

apisix ingress controller e2e test suites

For running e2e test cases, a Kubernetes cluster is needed, minikube is a good choice to build k8s cluster in development environment.

Scaffold

a e2e test scaffold is prepared to run test cases easily. The source codes are in directory test/e2e/scaffold, it builds necessary running environment:

  • Create a brand new namespace;
  • Create etcd deployment and etcd service in the specified namespace;
  • Create apisix deployment and apisix service in the specified namespace (note both the control plane and data plane are created);
  • Create apisix-ingress-controller deployment in the specified namespace;
  • Create a http server with kennethreitz/httpbin as the upstream.

The above mentioned steps are run before each case starts and all resources will be destroyed after the case finishes.