ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Agsjö <erik.ag...@bozoka.com>
Subject ant target patch
Date Wed, 19 Sep 2001 13:01:14 GMT
I have felt a need for a better link between a class and it's test case 
than what can be done in a build.xml.
I think it would be nice to see directly in a java file or package 
javadoc where the test case is.

Provided is a patch to BatchTest.java that makes it accept to new 
attributes "usetag" and "tagname".
When usetag is true, <batchtest> will scan the provided files for 
javadoc tag defined test cases.
Since this might result in duplicate test cases (several classes might 
specify the same test case),
duplicate tests are removed as well. For this to work I had to patch 
JUnitTest.java as well.

/Erik


Mime
View raw message