maven-surefire插件配置

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-plugin</artifactId>

<version>2.7.1</version>

<configuration>

<systemPropertyVariables>

<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>

</systemPropertyVariables>

<testFailureIgnore>true</testFailureIgnore>

<argLine>

-Dfile.encoding=UTF-8

</argLine>

<suiteXmlFiles>

<!-- 文件的路径要写对,不然会执行失败 -->

<suiteXmlFile>src/test/java/com/doris/auto/phoenix/testng-single.xml</suiteXmlFile>

</suiteXmlFiles>

</configuration>

</plugin>

猜你喜欢

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