Update phpunit to include basic code coverage information. re #96
This commit is contained in:
父節點
650a23c8db
當前提交
748913ac83
共有 1 個文件被更改,包括 21 次插入 和 5 次删除
16
phpunit.xml
16
phpunit.xml
|
@ -1,4 +1,20 @@
|
||||||
<phpunit>
|
<phpunit>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||||
|
<!-- this is the path of the files included in your clover report -->
|
||||||
|
<directory suffix=".php">./</directory>
|
||||||
|
<exclude>
|
||||||
|
<directory suffix=".php">./resources</directory>
|
||||||
|
</exclude>
|
||||||
|
<exclude>
|
||||||
|
<directory suffix=".php">./test</directory>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="./clover.xml"/>
|
||||||
|
</logging>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="COPS">
|
<testsuite name="COPS">
|
||||||
<directory>test</directory>
|
<directory>test</directory>
|
||||||
|
|
載入中…
Add table
Add a link
Reference in a new issue