Integration test via message broker

There are two programs that communicate using a message broker and I want to cover some of the interactions between them using integration tests.

So, I want to write an integration test that will use JUnit before it wants to run an external program in the phase, and it needs to be cleaned up in the after phase.

Is there a good way to do this, or am I just going the wrong way?

+3
java maven junit integration-testing messaging


source to share


No one has answered this question yet

Check out similar questions:

3211
Iterating through a HashMap
1898
How do you assert that a specific exception is thrown in JUnit 4 tests?
1367
Fastest way to determine if an integer square root is an integer
331
What's the difference between unit tests and integration tests?
292
What is the difference between integration and unit tests?
104
Junit: Integration Test and Unit Tests
73
Running an application before and after Suite in jUnit 4.x
68
Integration testing
1
A pre-existing testing environment for message brokers?
0
Testing http server integration - junit?



All Articles
Loading...
X
Show
Funny
Dev
Pics