testng自带的测试报告样式不美观,可以使用testng的一个plugin reportng。具体配置方法如下:
使用intellij idea创建一个maven项目,pom.xml引入reportng,
4.0.0 TestNGProj TestNGProj 1.0-SNAPSHOT org.testng testng 6.8.21 org.uncommons reportng 1.1.4 test org.testng testng com.google.inject guice 3.0 test org.apache.maven.plugins maven-resources-plugin 2.5 org.apache.maven.plugins maven-surefire-plugin 2.12 src/main/java/testng.xml
Copyright © 2009-2022 www.kswsj.com 成都快上网科技有限公司 版权所有 蜀ICP备19037934号