maven-reportng插件依赖添加

<dependency>

<groupId>org.uncommons</groupId>

<artifactId>reportng</artifactId>

<version>1.1.4</version>

<scope>test</scope>

</dependency>

<!-- testng插件版本较低时,需要添加必要的guice依赖 没有这个库的话testng的报表内容显示有问题-->

<dependency>

<groupId>com.google.inject</groupId>

<artifactId>guice</artifactId>

<version>4.1.0</version>

</dependency>

猜你喜欢

转载自www.cnblogs.com/doris0122/p/10074523.html