Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.14.1
-
None
Description
The page http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html says that the default includes are
<includes> <include>**/*Test*.java</include> <include>**/*Test.java</include> <include>**/*TestCase.java</include> </includes>
The first of the include REs matches ThreeTestFour.java which does not get run.
It also matches the other two include lines which could therefore be removed - however the first include line is wrong, it should be:
<include>**/Test*.java</include>
so the list should be:
<includes> <include>**/Test*.java</include> <include>**/*Test.java</include> <include>**/*TestCase.java</include> </includes>
[Note: the first include covers **/TestCase*.java]