diff --git a/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java b/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java index e2d0002210..d3e16f3f47 100644 --- a/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java +++ b/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java @@ -100,6 +100,8 @@ public class SurefirePlugin /** * Specify this parameter if you want to use the test regex notation to select tests to run. + * The regular expression will be used to create an include pattern formatted like **/${test}.java + * When used, the includes and excludes patterns parameters are ignored * * @parameter expression="${test}" */ @@ -107,6 +109,8 @@ public class SurefirePlugin /** * List of patterns (separated by commas) used to specify the tests that should be included in testing. + * When not specified and whent the test parameter is not specified, the default includes will be + * **/Test*.java **/*Test.java **/*TestCase.java * * @parameter */ @@ -114,6 +118,8 @@ public class SurefirePlugin /** * List of patterns (separated by commas) used to specify the tests that should be excluded in testing. + * When not specified and whent the test parameter is not specified, the default excludes will be + * **/Abstract*Test.java **/Abstract*TestCase.java * * @parameter */