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>
|
||||
<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>
|
Loading…
Reference in a new issue