ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43546] New: - JUnit Test Filtering, junit task extension
Date Thu, 04 Oct 2007 07:22:22 GMT
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


Mime
View raw message