Community
Participate
Working Groups
When running a JUNIT unit test it would be handy to be able to specify a RunListener to use with your tests. maven-surefire-plugin allows you to specify RunListeners to use like: <properties> <property> <name>listener</name> <value>org.spf4j.test.log.junit4.Spf4jTestLogRunListener</value> </property> </properties> Unfortunately from within Eclipse there is no way to use them without modifying the unit test code which is not practical a lot of time... Netbeans, due to the fact that is running unit tests with maven/surefire, applies correctly all pom settings, and is a breeze to use in these cases... Intelij will do that too once: https://youtrack.jetbrains.com/issue/IDEA-190385 is fixed. also see: https://stackoverflow.com/questions/10537495/how-can-i-use-a-junit-runlistener-in-eclipse for detail on this... would be great if this would be improved...
surefire allow to specify multiple listeners, so the ability to specify multiple RunListeners would be welcome.