You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Emmanuel Hugonnet <eh...@redhat.com> on 2020/08/28 14:09:06 UTC

Simple JUnit utility

Hello,
I had to be able to start a broker for some tests and stop it at the end of the run. This is 'missing' so I wrote a small JUnit RunListener
for this and I would like to share it with you, maybe it would make sense to have it in the artemis-junit module?
WDYT ?
The code is available here:
https://github.com/ehsavoie/wildfly/blob/WFLY-13771/testsuite/shared/src/main/java/org/jboss/as/test/integration/common/jms/ArtemisRunListener.java
with a sample usage here: https://github.com/ehsavoie/wildfly/blob/WFLY-13771/testsuite/integration/basic/pom.xml#L1974

Cheers,
Emmanuel