Added whitelist so that running global phpunit doesn't affect code coverage

On my local system stuff from /usr/local/php was being included
1.0 0.3.0
Alex Bilbie 2014-04-26 17:55:20 +01:00
parent 375d01c0b8
commit d6d06948b8
1 changed files with 10 additions and 7 deletions

View File

@ -6,13 +6,16 @@
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./test</directory>
</blacklist>
</filter>
<filter>
<blacklist>
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./test</directory>
</blacklist>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./build/logs/coverage" title="lncd/OAuth-client" charset="UTF-8" yui="true" highlight="true" lowUpperBound="50" highLowerBound="90"/>
<log type="coverage-text" target="php://stdout" title="lncd/OAuth-client" charset="UTF-8" yui="true" highlight="true" lowUpperBound="50" highLowerBound="90"/>