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:
The above mentioned steps are run before each case starts and all resources will be destroyed after the case finishes.
Test cases inside plugins
directory test the availability about APISIX plugins.
Test caes inside features
directory test some features about APISIX, such as traffic-split, health check and so on.
Run make e2e-test
to run the e2e test suites in your development environment, a several stuffs that this command will do:
Step 1
and 2
can be skipped by passing E2E_SKIP_BUILD=1
to this directive, also, you can customize the running concurrency of e2e test suites by passing E2E_CONCURRENCY=X
where X
is the desired number of cases running in parallel.
Run make kind-reset
to delete the cluster that created by make e2e-test
.