Hi,
we are about to implement an enterprise application with several components.
I am working on a component which exists of: Component A - sending to JMS queue Component B - periodically called, receiving from JMS queue and sending to another JMS queue Component C - MessageDrivenBean sending the data to another component.
Additionally I am using a database as well as another external component for data manipulation which is not developed by me but is has an interface.
Now we want to have automatic tests for this set of components A,B,C.
What is the best practice for such an architecture?
How can we achieve a test which sends something to A - and it makes all the way to the end of C?
Or is it better to unit test A,B,C etc. on it's own -> only testing from queue to queue?
Thank you in advance Br Thomas