-
Notifications
You must be signed in to change notification settings - Fork 641
Description
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).