Hi, JUnit (since 4.?) allows filtering of the tests to be run. It would be nice to allow ant build scripts to use this filter capacity. This would allow developers to run a (small, fast running) set of tests, while the integration or production build runs extra test sets. The filtering only works with JUnit 4 test code.
I've changed a few source files (of ant 1.7.0) and added two. It works fine (here). It requires (at the moment) a typedef of the filter: <typedef name="junitfilter" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitFilter"/> and can be used as follows: <junit> <junitfilter classname="com.example.JUnitDBFilter" properties="dbtest"/> </junit> I would like to know if you find this useful (enough) for inclusion. Would someone like to see the code and comment on it? Thanks & Kind regards, Rutger Lubbers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]