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

提议:增加 E2E 测试 #849

Open
LinuxSuRen opened this issue Jul 1, 2024 · 1 comment
Open

提议:增加 E2E 测试 #849

LinuxSuRen opened this issue Jul 1, 2024 · 1 comment

Comments

@LinuxSuRen
Copy link

我最近打算采用这个项目来做个系统开发,想着能顺手把 E2E 测试加进来。作者如果认为没有问题的话,我就开始搞了。

对了,另外,我看到项目并没有一些和容器相关的代码,我也考虑顺手把容器的支持也添加上。

期待收到回复。

以下是我给其他项目做的 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.

@CFH-Steven
Copy link

CFH-Steven commented Jul 1, 2024 via email

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

No branches or pull requests

2 participants