ReportNG報告

折騰了很久,終於把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

相關文章
相關標籤/搜索