TestNG使用ReportNG生成测试报告会更加美观。
依赖包
1
2
3 org.testng
4 testng
5 6.14.3
6 test
7
8
9 org.uncommons
10 reportng
11 1.1.4
12 test
13
14
15 com.google.inject
16 guice
17 4.2.2
18
构建配置
监听名:org.uncommons.reportng.HTMLReporter
TestNG.xml配置
...
报告样式举例
./test-output/html/index.html
标签:测试报告,uncommons,TestNG,ReportNG,test,org,reportng
来源: https://www.cnblogs.com/gongxr/p/10345298.html