phing test 出现错误 Error reading project file [wrapped: PHPUnitReportTask requires the XSL extension]
不知道是不是版本错误,提示没有找到XSLTProcessor
<?xml version="1.0" ?><project name="DEERSHOP" default="dist" basedir="."><property name="tests.dir" value="test" /> <target name="prepare"> <mkdir dir="report/logs"/> </target> <target name="test" description="Run PHPUnit tests" depends="prepare">
<phpunit failureproperty="failure.unittest" > <formatter type="xml" todir="report/logs" outfile="test.unit.report.xml"/> <batchtest> <fileset dir="${tests.dir}"> <include name="**/*Test.php"/> <include name="*Test.php"/> </fileset> </batchtest> </phpunit>
<phpunitreport infile="report/logs/test.unit.report.xml" format="frames" todir="report/test" styledir="/home/xfw/coverage/clover-html"/> </target> </project>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货