You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
The text was updated successfully, but these errors were encountered: