-1
以下是我的Ant構建工具,這是工作的罰款,以生成HTML report.I要使用替代的build.xml的pom.xmlMaven的:Junit的HTML報告香皂測試用例
<?xml version="1.0"?>
<project name="SoapTest" default="testreport" basedir=".">
<target name="soapui">
<exec dir="." executable="C:/Program Files/SmartBear/SoapUI-5.2.0/bin/testrunner.bat">
<arg line="-j -f 'C:/soapreports' 'C:/SoapUI/APRS_SoapUI_Project.xml'"/>
</exec>
</target>
<target name="testreport" depends="soapui">
<junitreport todir="C:/soapreports">
<fileset dir="C:/soapreports">
<include name="TEST-*.xml"/>
</fileset>
<report todir="C:/soapreports/HTML" styledir="C:/Program Files/apache-ant-1.9.6/etc" format="noframes">
</report>
</junitreport>
</target>
</project>
您是否嘗試了文檔? https://www.soapui.org/test-automation/maven/maven-2-x.html – SiKing