2013-02-04 56 views

回答

1

This project來自Sebastian Bergmann應該給你一些指點。它提到了PHPUnit的以下配置...

<logging> 
<log type="coverage-html" target="build/coverage" title="Name of Project" 
     charset="UTF-8" yui="true" highlight="true" 
     lowUpperBound="35" highLowerBound="70"/> 
<log type="coverage-clover" target="build/logs/clover.xml"/> 
<log type="junit" target="build/logs/junit.xml" 
     logIncompleteSkipped="false"/> 
</logging> 

...所以我想你應該嘗試--coverage-clover而不是--coverage-html得到一個XML文件。