The default HTML reports generated by TestNG, though comprehensive, are a little bit horrid. Since Cedric introduced a reporting API to TestNG a little while ago, I have been using my own hacked together, Velocity-powered reporter.
It’s very simple and doesn’t have all of the information from the default report but it is easier to work out what’s going on with your test results at a high level. I’ve had it in a Java.net repository for a while and now I’ve just produced a slightly improved version for download by anybody that might find it useful.
- A real-world example (unit tests for the Watchmaker Framework)
- A very simple sample report showing some failures
It’s not particularly slick and there is room for improvement. Suggestions are welcome.