ReportNG 0.9.0 – HTML and XML Reports for TestNG
I’ve just released version 0.9.0 of ReportNG, my reporting plug-in for TestNG. This version includes several improvements over the previous release. Most importantly, it addresses the biggest problem with the last version – the lack of information about configuration failures. Previously you had to increase the TestNG verbosity and dig around in the console output. Now config failures are displayed prominently above the test results.
There is also more information about skipped tests now too. Dependencies on groups and methods are listed for tests that have been skipped so that you can figure out why they were skipped.
- Sample HTML report (with some failures/skipped tests)
- Real-world example (hopefully with no failed tests)
Finally, aside from a few other cosmetic improvements to the HTML, I have introduce an experimental JUnit XML reporter. I had some problems getting the output that I wanted from the one bundled with TestNG. Mine generates one XML file per test class, which is closer to what you get from JUnit. Now you have the option of using whichever is most suitable for you (the default TestNG reporter or this one). The JUnit XML reporter should be considered incomplete (it doesn’t include detailed test case information yet), but it is useful enough for Hudson to generate summary reports.

If you have any feedback, either post a comment below or use the issue tracker.

on January 24th, 2008 at 1:59 pm
Looks very nice, maybe you can get the default html report generated by TestNG replaced with this one.
on January 29th, 2008 at 7:37 pm
Hi
I’ve just saw the link to this page posted by Cedric on the TestNG list. I love the layout of the result! Congrats!
Actually I am writing a unit testing framework for XSLT, and I am really not good at HTML design. I would like to shamefully steal your layout for my framework. Would it be a problem for you?
Best regards,
–
Florent Georges
on February 1st, 2008 at 7:09 pm
Florent, no problem. Feel free to steal whatever you like
on February 6th, 2008 at 1:33 pm
Thank you. I will let you know if I use something. Regards,
–
Florent Georges