[ http://jira.codehaus.org/browse/MPTEST-48?page=comments#action_41035 ] Carlos Sanchez commented on MPTEST-48: --------------------------------------
Deprecated testmatch in favor of testmatchpattern property > 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 > Assignee: Carlos Sanchez > Fix For: 1.7 > > Original Estimate: 15 minutes > Remaining: 15 minutes > > 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
