Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add E2E test framework #11

Open
tokers opened this issue Mar 15, 2022 · 6 comments
Open

Add E2E test framework #11

tokers opened this issue Mar 15, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@tokers
Copy link
Contributor

tokers commented Mar 15, 2022

Besides basic unit test cases, we need to setup the E2E test framework, to verify changes are feasible.

The logic here is creating some APISIX resources, and use ETCD adapter as the configuration center, pushing changes to APISIX, and send requests to APISIX to check if the results are good.

Note, we need run E2E test cases multiple times for each backend.

@tokers tokers added the enhancement New feature or request label Mar 15, 2022
@tokers
Copy link
Contributor Author

tokers commented Mar 15, 2022

@membphis @bzp2010

@tokers
Copy link
Contributor Author

tokers commented Mar 15, 2022

I see @bzp2010 is writing some new features for this project, I recommend setting up the E2E framework firstly, or you cannot find some potential bugs in the new PR.

@membphis
Copy link

Can we use the same testing framework as APISIX-Dashboard?

@tokers
Copy link
Contributor Author

tokers commented Mar 15, 2022

Can we use the same testing framework as APISIX-Dashboard?

Maybe, but the part for feeding configurations should be changed as we don't support all features that Manager API / Admin API needs.

@membphis
Copy link

Maybe, but the part for feeding configurations should be changed as we don't support all features that Manager API / Admin API needs.

@tokers you are right

@bzp2010
Copy link
Contributor

bzp2010 commented Mar 16, 2022

Update

A draft of the E2E framework has been made available here #12, which uses the same testing framework as the APISIX Dashboard (i.e. ginkgo, but upgraded to v2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants