[ https://jira.codehaus.org/browse/SUREFIRE-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Gudian closed SUREFIRE-1003. ------------------------------------ Resolution: Fixed Fix Version/s: 2.16 Fixed with commit 7a0783637542d1bb0b3c191755748b2d3764fd50. Thanks for the report! > 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 > Assignee: Andreas Gudian > Fix For: 2.16 > > > 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: > {code} > <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