Skip to content

Commit

Permalink
Prevent coverage reports from looking in tests and vendors
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 17, 2015
1 parent ec5d4cd commit eadd03d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,15 @@
<directory>./tests/</directory>
</testsuite>
</testsuites>

<!-- Prevent coverage reports from looking in tests and vendors -->
<filter>
<blacklist>
<directory suffix=".php">./vendor/</directory>
<directory suffix=".ctp">./vendor/</directory>

<directory suffix=".php">./tests/</directory>
<directory suffix=".ctp">./tests/</directory>
</blacklist>
</filter>
</phpunit>

0 comments on commit eadd03d

Please sign in to comment.