SebbASF created SUREFIRE-1003: --------------------------------- Summary: Does not run test ThreeTestFour.java which matches the include **/*Test*.java Key: SUREFIRE-1003 URL: https://jira.codehaus.org/browse/SUREFIRE-1003 Project: Maven Surefire Issue Type: Bug Components: documentation Affects Versions: 2.14.1 Reporter: SebbASF
The page http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html says that the default includes are {code} <includes> <include>**/*Test*.java</include> <include>**/*Test.java</include> <include>**/*TestCase.java</include> </includes> {code} 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: {code} <include>**/Test*.java</include> {code} so the list should be: <includes> <include>**/Test*.java</include> <include>**/*Test.java</include> <include>**/*TestCase.java</include> </includes> {code} [Note: the first include covers **/TestCase*.java] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira