Repository: maven-surefire Updated Branches: refs/heads/master 332b19fa2 -> f4d54fac0
[SUREFIRE-1341] Documentation of configuration parameters in Failsafe should mention IT instead or Test.java Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/f4d54fac Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/f4d54fac Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/f4d54fac Branch: refs/heads/master Commit: f4d54fac09f768fc352a1d0c59a6f05a66982183 Parents: 332b19f Author: Tibor17 <tibo...@lycos.com> Authored: Thu Mar 9 01:39:46 2017 +0100 Committer: Tibor17 <tibo...@lycos.com> Committed: Thu Mar 9 01:39:46 2017 +0100 ---------------------------------------------------------------------- .../maven/plugin/failsafe/IntegrationTestMojo.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/f4d54fac/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java ---------------------------------------------------------------------- diff --git a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java index 2d78109..51c36ee 100644 --- a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java +++ b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java @@ -86,13 +86,13 @@ public class IntegrationTestMojo /** * Specify this parameter to run individual tests by file name, overriding the <code>includes/excludes</code> * parameters. Each pattern you specify here will be used to create an include pattern formatted like - * <code>**/${test}.java</code>, so you can just type "-Dit.test=MyTest" to run a single test called - * "foo/MyTest.java".<br/> + * <code>**/${it.test}.java</code>, so you can just type "-Dit.test=MyIT" to run a single test called + * "foo/MyIT.java".<br/> * This parameter overrides the <code>includes/excludes</code> parameters, and the TestNG <code>suiteXmlFiles</code> * parameter. * <p/> * Since 2.7.3 You can execute a limited number of methods in the test with adding #myMethod or #my*ethod. E.g. type - * "-Dit.test=MyTest#myMethod" <b>supported for junit 4.x and testNg</b> + * "-Dit.test=MyIT#myMethod" <b>supported for junit 4.x and testNg</b> * <br/> * Since 2.19 a complex syntax is supported in one parameter (JUnit 4, JUnit 4.7+, TestNG):<br/> * "-Dit.test=???IT, !Unstable*, pkg/**/Ci*leIT.java, *IT#test*One+testTwo?????, #fast*+slowTest"<br/> @@ -306,9 +306,9 @@ public class IntegrationTestMojo /** * A file containing include patterns. Blank lines, or lines starting with # are ignored. If {@code includes} are * also specified, these patterns are appended. Example with path, simple and regex includes:<br/> - * */test/*<br/> + * */it/*<br/> * **/NotIncludedByDefault.java<br/> - * %regex[.*Test.*|.*Not.*]<br/> + * %regex[.*IT.*|.*Not.*]<br/> */ @Parameter( property = "failsafe.includesFile" ) private File includesFile; @@ -316,9 +316,9 @@ public class IntegrationTestMojo /** * A file containing exclude patterns. Blank lines, or lines starting with # are ignored. If {@code excludes} are * also specified, these patterns are appended. Example with path, simple and regex excludes:<br/> - * */test/*<br/> - * **/DontRunTest.*<br/> - * %regex[.*Test.*|.*Not.*]<br/> + * */it/*<br/> + * **/DontRunIT.*<br/> + * %regex[.*IT.*|.*Not.*]<br/> */ @Parameter( property = "failsafe.excludesFile" ) private File excludesFile;