maven-surefire外掛配置
阿新 • • 發佈:2018-12-06
<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>