您的位置:軟件測試 > 開源軟件測試 > 開源單元測試工具 > TestNG
TestNG測試報告美化buid.xml配置
作者:網(wǎng)絡轉(zhuǎn)載 發(fā)布時間:[ 2016/7/19 11:37:02 ] 推薦標簽:單元測試 TestNG

<?xml version="1.0" encoding="UTF-8"?>
<project name="myproject" basedir="." default="transform">
     <echo message="The base dir is: ${basedir}"/>
      <property name="lib.dir" value="jar"/>
         <echo message="The base dir is: ${lib.dir}"/>
    <path id="test.classpath">
         <!-- adding the saxon jar to your classpath -->
         <fileset dir="${lib.dir}" includes="*.jar"/>
    </path>

    <target name="transform">
        <xslt in="${basedir} est-output estng-results.xml" style="${basedir} est-output estng-results.xsl"
              out="${basedir} est-output estReport.html">
            <param name="testNgXslt.outputDir" expression="${basedir} est-output"/>
            <classpath refid="test.classpath"/>
        </xslt>
    </target>
</project>

軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd