mercredi 27 janvier 2016

Unit Test against ActiveMQ

I use maven to run unit test. Every time i have to remember to start ActiveMQ first because the unit test need to send JMS message to Queue and consume it for assertion. I wonder is there some maven plugin to automatically launch the ActiveMQ for unit testing?

Is short. Is that possible to launch ActiveMQ before running unit testing. I googled and found some tips. But according to that way. I should run a mvn command to launch the ActiveMQ which is not auto way to run unit test

Thanks in advanced

Aucun commentaire:

Enregistrer un commentaire