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

[Discuss] Build integration test #511

Open
ruanwenjun opened this issue Aug 25, 2021 · 1 comment
Open

[Discuss] Build integration test #511

ruanwenjun opened this issue Aug 25, 2021 · 1 comment
Labels
discussion This issue requires further discussion feature help wanted Extra attention is needed

Comments

@ruanwenjun
Copy link
Member

In most of the time, we can use unit test to test our code, but this is not enough, since unit test is just test the code logic, it doesn't considerate the real situation of different modules working together.

We should also use integration test to test the whole application.

In EventMesh, there are some three-part dependencies, e.g. rocketmq、mysql(In the future)...
It is better to create a container environment to run the integration test script or code.

I think maybe this project can help us.
https://github.com/testcontainers/testcontainers-java.
https://www.testcontainers.org/modules/rabbitmq/

It supports create mysql、kafka、pulsar container, but it donesn't support rocketmq now(testcontainers/testcontainers-java#3348).

@qqeasonchen
Copy link
Contributor

Agree, e2e-test is expecting.

@Pil0tXia Pil0tXia added help wanted Extra attention is needed discussion This issue requires further discussion labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This issue requires further discussion feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants