Skip to content

Commit

Permalink
Added whitelist so that running global phpunit doesn't affect code co…
Browse files Browse the repository at this point in the history
…verage

On my local system stuff from /usr/local/php was being included
  • Loading branch information
alexbilbie committed Apr 26, 2014
1 parent 375d01c commit d6d0694
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit d6d0694

Please sign in to comment.