diff --git a/test/plugin.jelly b/test/plugin.jelly index 7b212ab6..3a8ce4fc 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -307,11 +307,16 @@ + + [deprecated] testmatch property is deprecated, please use testmatchpattern instead + + + - + - You must define the test case to run via -Dtestmatch=pattern - Example: maven -Dtestmatch=*Foo* test:match + You must define the test case to run via -Dtestmatchpattern=pattern + Example: maven -Dtestmatchpattern=*Foo* test:match @@ -361,7 +366,10 @@ - + + + + diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index 529ca680..5c2e6fff 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -25,6 +25,8 @@ + Added testnotmatchpattern that can be used in test:match + Deprecated testmatch property by testmatchpattern to allow more complex patterns in test:match Deprecate dependency handle diff --git a/test/xdocs/goals.xml b/test/xdocs/goals.xml index d6f5faaa..779a446d 100644 --- a/test/xdocs/goals.xml +++ b/test/xdocs/goals.xml @@ -35,7 +35,8 @@ test:match - Execute all the tests matching the given 'testmatch' variable + Execute all the tests matching the given 'testmatchpattern' variable + nd excluding those in 'testnotmatchpattern' variable test:match-test diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index f8ad9a78..62177914 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -252,10 +252,17 @@ maven.test.search.classdir=true - testmatch + testmatchpattern + Yes (required in test:match) + + Ant pattern used in test:match goal to specify the tests that should run + + + + testnotmatchpattern Yes - Used in test:match goal to specify the tests that should run + Ant pattern used in test:match goal to specify the tests that shouldn't run