Skip to content

Commit

Permalink
Merge pull request #256 from Krinkle/coverage
Browse files Browse the repository at this point in the history
Fix code coverage reporting
  • Loading branch information
markstory committed Jan 7, 2019
2 parents ec97dd8 + ad03d02 commit 2965240
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="./tests/bootstrap.php">
<!-- blacklist the tests and vendor directory from code coverage-->
<filter>
<blacklist>
<directory suffix=".php">./web/vendor</directory>
</blacklist>
</filter>

<testsuites>
<testsuite name="All" suffix="Test.php">
<directory>./tests</directory>
<testsuite>
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit 2965240

Please sign in to comment.