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 40406] - [junitreport] Using JUnit 4 test methods appear as "unknown"
Date Wed, 08 Nov 2006 06:23:09 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=40406>.
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=40406





------- Additional Comments From saurav.kumar@barco.com  2006-11-07 22:23 -------
Hi
I solved that issue on that time by extending our *Test classes with TestCase. 
Although it is not required with Junit 4 still, to get reports I did this.

I think now we can achieve this by using Ant 1.7(Beta).

Regards,
Saurav


(In reply to comment #0)
> I'm using JUnit 4 for my unit tests and using @Test instead of 
testMethodName.
> The actual JUnit task executes fine and all tests are detected and pass, but
> once they get to the JUnit report, all class reports label the test methods 
as
> "unknown" in the name column instead of the actual method name.



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