-
Notifications
You must be signed in to change notification settings - Fork 30
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
E2E test guide #44
Comments
For developers, they would also want to see a doc about how to developing a new case for e2e |
E2E test guideEnd-to-End (E2E) testing is a crucial component in modern software development, designed to simulate user interactions across the entire application to ensure all components and integrations function together seamlessly. By incorporating E2E testing, we can verify that changes in code do not disrupt existing functionalities, maintaining the integrity and reliability of the system even as it evolves. PrerequisitesThe Go version in go.mod is 1.22.0
The following components will be installed while using the shell
Components that need to be installed by the user
UsageTo run the E2E tests, execute the
Command Line FlagsWhen testing locally, you may want to skip some setup steps to save time, especially after the initial setup is complete. The following flags are available to customize the test execution:
Example Commands
How to add test caseTODO |
@noobwei great job! And You should make a Pull Request, put the above content in the corresponding directory. |
https://kmesh.net/en/docs/developer/e2e-guide/#how-to-add-test-case We are missing how to develope test case. |
Add developer about how to run E2E test guide in local dev environment.
About how to write the doc, you can refer UT's user guide: #41
And the E2E test framework design can refer here: https://github.com/kmesh-net/kmesh/blob/main/docs/proposal/e2e.md
You can try to try running the tests locally yourself, extracting some of the content in the proposal, such as the use of the command line flags, and extending it appropriately. So as to wirte a doc that can make it easy for other developers to get started.
@noobwei
The text was updated successfully, but these errors were encountered: