Update phpunit to include basic code coverage information. re #96

This commit is contained in:
Sébastien Lucas 2013-10-03 17:59:44 +02:00
parent 650a23c8db
commit 748913ac83

View file

@ -1,7 +1,23 @@
<phpunit>
<testsuites>
<testsuite name="COPS">
<directory>test</directory>
</testsuite>
</testsuites>
<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>
<testsuite name="COPS">
<directory>test</directory>
</testsuite>
</testsuites>
</phpunit>