test:match should support specifying an ant pattern style match
---------------------------------------------------------------

         Key: MPTEST-48
         URL: http://jira.codehaus.org/browse/MPTEST-48
     Project: maven-test-plugin
        Type: Improvement
 Environment: Maven 1.0.2
Test plugin 1.6.2
    Reporter: Wim Deblauwe


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




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to