ReportNG is a simple HTML reporting plug-in for the TestNGunit-testing framework. It is intended as a replacement for the default TestNG HTML report. The default report is comprehensive but is not so easy to understand at-a-glance. ReportNG provides a simple, colour-coded view of the test results.
This plug-in should be configure in the POM of your project, but I faced some issues with the link created when a test fail. (Log Output).
Researching about the issue I found this possible configuration to solve the issue.
Info:
org.uncommons.reportng.escape-output
Used to turn off escaping for log output in the reports (not recommended). The default is for output to be escaped, since this prevents characters such as '<' and '&' from causing mark-up problems. If escaping is turned off, then log text is included as raw HTML/XML, which allows for the insertion of hyperlinks and other nasty hacks.
Mainly we need to set to false the escape-output property. I know it's not recommended, but it was the solution I found, if any of you have a better idea, it's welcome.
Issue:
Links are broken in the report, Image locations is fine.
Solution:
Add this property after <configurations> in your POM file (Maven project):
<systemPropertyVariables>
<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>
</systemPropertyVariables>
After applying this fix:
Clicking on the link, the image will be shown.