DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43546>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43546

           Summary: JUnit Test Filtering, junit task extension
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


In JUnit (>4.x) it's possible to filter the tests to be run by applying a
filter. Extend the JUnit task of ant, so users can define a filter to be 
applied.

Attached code for ant 1.7.0.

The filter can be configured thus:
<typedef name="filter"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitFilter"/>
<junit>
 ...
        <filter
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitPrefixFilter"
properties="testB"/>
</junit>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to