代码改变世界

Reportng配置报告地址

2017-02-17 16:11  jier_wang  阅读(297)  评论(0编辑  收藏  举报

ant build
<target name="transform">
<xslt in="./target/surefire-reports/testng-results.xml" style="./src/test/resources/ta/testng-results.xsl" out="./target/surefire-reports/Report.html">
<param name="testNgXslt.outputDir" expression="E:/e2e/e2e_api/BP/target/surefire-reports/" />
<classpath refid="test.classpath" />
</xslt>
</target>
expression需要时本地绝对路径