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 39995] - junit per-test-method fork mode
Date Tue, 11 Jul 2006 21:06:29 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=39995>.
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=39995





------- Additional Comments From stevel@apache.org  2006-07-11 21:06 -------
IDEA delivers this granularity; I dont know how.

the only way I know to get junit to run a single method in a test case is to
implement the static method 

public static TestCase[] suite() 

and return an array of pre-instantiated TestCase objects. So maybe, just maybe,
something like this could be done for ant, too. On Java1.5 you could dynamically
create the subclass with the method, for java1.4 it would be trickier. 

-- 
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