From 98b8ae3f06edf9ac2d7afae22f271ee7c263b852 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Tue, 1 Nov 2005 07:12:43 +0000 Subject: [PATCH] PR: MNG-1342 Submitted by: Jerome Lacoste improve surefire plugin docs git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329998 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/test/SurefirePlugin.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 */