RE: Maven/Surefire finds no tests to run
Maybe I can piggy back onto this problem with an ongoing issue we have had with the surefire that I have yet to find a solution to - http://stackoverflow.com/questions/3842597/maven-reporting-plugins-do-not-execute-if-a-unit-test-failure-occurs Can anyone help? Vince -Original Message- From: Ron Gross [mailto:r...@delver.com] Sent: Saturday, November 13, 2010 1:21 PM To: users@maven.apache.org Subject: Maven/Surefire finds no tests to run The details are here: http://stackoverflow.com/questions/4174276/maven-surefire-finds-no-tests-to-run Can anyone help? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven/Surefire finds no tests to run
The default include patterns only include Test*.java *Test.java *TestCase.java irrespective of whether you have annotated with JUnit 4 annotations or not, surefire will only run those tests that are defined by the include rules. Note that this is a good thing as it allows you to run different sets of tests in different phases, e.g. if you use failsafe, it's include rules only include IT*.java *IT.java *ITCase.java so you can keep the IT's and the UT's in the same folder and let failsafe run the ITs while surefire runs the UTs -Stephen On 13 November 2010 20:20, Ron Gross wrote: > The details are here: > http://stackoverflow.com/questions/4174276/maven-surefire-finds-no-tests-to-run > > Can anyone help? > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven/Surefire finds no tests to run
The details are here: http://stackoverflow.com/questions/4174276/maven-surefire-finds-no-tests-to-run Can anyone help?