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> <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>