I\'m currently working on a java project using maven. We use the maven surefire plugin to run our junit suite as part of the build process.
Our test suite is rapidl
You can run maven with --fail-fast option:
maven
--fail-fast
The -ff option is very useful for developers running interactive builds who want to have rapid feedback during the development cycle.
-ff
an example can be:
mvn clean test -ff
http://books.sonatype.com/mvnref-book/reference/running-sect-options.html