Update phpunit to include basic code coverage information. re #96
This commit is contained in:
parent
650a23c8db
commit
748913ac83
26
phpunit.xml
26
phpunit.xml
|
@ -1,7 +1,23 @@
|
||||||
<phpunit>
|
<phpunit>
|
||||||
<testsuites>
|
|
||||||
<testsuite name="COPS">
|
<filter>
|
||||||
<directory>test</directory>
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||||
</testsuite>
|
<!-- this is the path of the files included in your clover report -->
|
||||||
</testsuites>
|
<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>
|
||||||
|
<testsuite name="COPS">
|
||||||
|
<directory>test</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
</phpunit>
|
</phpunit>
|
Loading…
Reference in a new issue