maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ansgar Kroger <ansgar.kro...@gmail.com>
Subject surefire "includes" documentation
Date Thu, 14 Feb 2013 10:13:14 GMT
Hi all,

I believe that there is a mistake in the documentation of the includes
configuration parameter for surefire:test
While the exclusion/inclusion example page (
http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html)
says

By default, the Surefire Plugin will automatically include all test classes
with the following wildcard patterns:


   - "**/Test*.java" - includes all of its subdirectories and all java
      filenames that start with "Test".
      - "**/*Test.java" - includes all of its subdirectories and all java
      filenames that end with "Test".
      - "**/*TestCase.java" - includes all of its subdirectories and all
      java filenames that end with "TestCase".


the parameter's documentation on the goal usage page (
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#includes)
says

the default includes will be
<includes>
 <include>**/IT*.java</include>
 <include>**/*IT.java</include>
 <include>**/*ITCase.java</include>
</includes>


The second one looks like the default pattern for failsafe test includes.

Best regards,

Ansgar Kröger

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message