ReportNG报告

折腾了好久,终于把ReportNG这个报告弄出来了,记录一下:

需要的Jar包如下:

在Eclipse中配置内容如下:org.uncommons.reportng.HTMLReporter

在Testng.xml中配置下述内容:

<listeners>
<listener class-name="org.uncommons.reportng.HTMLReporter" />
<listener class-name="org.uncommons.reportng.JUnitXMLReporter" />
</listeners>

Test_Testng est-outputhtmlindex.html

原文地址:https://www.cnblogs.com/xubc/p/7265070.html