Skip to content

Commit

Permalink
add binary to generate code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
eteubert committed Jul 3, 2015
1 parent 3f362e6 commit 8453c52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/code-coverage.sh
@@ -0,0 +1,2 @@
phpunit --coverage-html=../../coverage/report
echo "Code Coverage Report: http://podlove-publisher.dev/wp-content/coverage/report/"
11 changes: 11 additions & 0 deletions phpunit.xml
Expand Up @@ -13,4 +13,15 @@
<php>
<const name="PODLOVE_LOG_LEVEL" value="250"/>
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">lib/modules/seasons/model</directory>
</whitelist>
</filter>
<!--
<logging>
<log type="coverage-html" target="/srv/www/podlove-publisher/htdocs/wp-content/coverage/report" lowUpperBound="35"
highLowerBound="70"/>
</logging>
-->
</phpunit>

0 comments on commit 8453c52

Please sign in to comment.