Wednesday, 17 July 2013

Execute all test case if any fails in maven


There are couple of ways to do it ,


1. first is configure surefire with testFailureIgnore=true.


2. Second way is execute following line from the command line.

 mvn install -Dmaven.test.failure.ignore=true