sqle
sqle copied to clipboard
请问,是否需要帮忙实现接口 e2e 测试
我已经帮助如下的一些项目实现了 e2e 接口测试,如果您希望能 e2e 的话,我愿意帮忙实现。期待收到回复。
https://github.com/LinuxSuRen/api-testing/discussions/284
期待收到回复。
以下是我给其他项目做的 E2E 测试的相关信息:
I'm the author of api-testing which is an API testing tool. It seems that no e2e testing in this project. I'd be happy to implement it if you believe it's worth.
In order to let you have a quick kowning about it. Please see also the user's of api-testing.
This is an example https://github.com/apache/hertzbeat/tree/master/e2e. It's pretty simple, see the basic steps:
- write the test cases in YAML format manually
- start the server via docker-compose or other ways
- run the test cases via the command atest
- stop the CI when the testing is failed
It supports a variety of validations to check if the HTTP API response is ok.