Update phpunit to include basic code coverage information. re #96
This commit is contained in:
parent
650a23c8db
commit
748913ac83
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>
|
||||||
|
|
Loading…
Reference in a new issue