I have a bunch of JUnit
tests I'm running with maven using the following plugin
:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
When I run them, they take about 20 minutes to run. Sometimes a test 2 minutes in will fail, but the whole thing will keep running.
I'd like to kill it as soon as I know a test has failed.
My question is: How to show a 'running total' of test successes and failures in maven?