Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
-
Environment:Maven 1.0.2
Test plugin 1.6.2
-
Number of attachments :
Description
When using test:match, you can only match a certain name of a test class, because it is defined like this:
<fileset dir="${maven.test.searchdir}">
<include name="**/${testmatch}.*"/>
</fileset>
I would like for example to match all unit test in a package called 'integration'. If I do:
maven -Dtestmatch=*/integration//.* test:match
then this does not work. It would work if the jelly script was changed to:
<fileset dir="${maven.test.searchdir}">
<include name="${testmatch}/>
</fileset>
regards,
Wim
Deprecated testmatch in favor of testmatchpattern property