You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/10/04 09:22:22 UTC

DO NOT REPLY [Bug 43546] New: - JUnit Test Filtering, junit task extension

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: Rutger.Lubbers@qnh.nl


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43546] - JUnit Test Filtering, junit task extension

Posted by bu...@apache.org.
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





------- Additional Comments From Rutger.Lubbers@qnh.nl  2007-10-04 00:23 -------
Created an attachment (id=20914)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20914&action=view)
Modified files for ant 1.7.0


-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org