Skip to content

Commit

Permalink
Add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Darklg committed Aug 15, 2015
1 parent 866ef10 commit 7147f29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ user-values.php
.DS_Store
composer.lock
vendor
tests/coverage
10 changes: 9 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,18 @@

<filter>
<whitelist>
<directory suffix=".php">.</directory>
<directory prefix="./inc/">.</directory>
</whitelist>
<blacklist>
<directory>tests</directory>
<directory>vendor</directory>
</blacklist>
</filter>

<logging>
<log type="coverage-html" target="tests/coverage" title="PHPUnit"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="50" highLowerBound="90"/>
</logging>

</phpunit>

0 comments on commit 7147f29

Please sign in to comment.