How can I get JavaDoc into a JunitReport?

Posted by benklaasen on Stack Overflow See other posts from Stack Overflow or by benklaasen
Published on 2010-04-13T09:44:10Z Indexed on 2010/04/14 6:03 UTC
Read the original article Hit count: 272

Filed under:
|
|
|
|

Hi -

I'm a tester, with some Java and plenty of bash coding experience.

My team is building an automated functional test harness using JUnit 4 and ant. Testers write automated tests in Java and use JavaDoc to document these tests. We're using ant's JunitReport task to generate our test result reports. This works superbly for reporting.

What we're missing, however, is a way to combine those JavaDoc free-text descriptions of what the test does along with the JunitReport results.

My question is, what's involved to get the JavaDoc into the JunitReport output?

I'd like to be able to inject the JavaDoc for a given test method into the JunitReport at the level of each method result.

regards Ben

© Stack Overflow or respective owner

Related posts about java

Related posts about junit