折腾了很久,终于把ReportNG这个报告弄出来了,记录一下:html
须要的Jar包以下:3d
在Eclipse中配置内容以下:org.uncommons.reportng.HTMLReporterxml
在Testng.xml中配置下述内容:htm
<listeners>
<listener class-name="org.uncommons.reportng.HTMLReporter" />
<listener class-name="org.uncommons.reportng.JUnitXMLReporter" />
</listeners>blog
Test_Testng\test-output\html\index.htmlip