Skip to content

Instantly share code, notes, and snippets.

@rederlo
Last active January 19, 2016 14:02
Show Gist options
  • Save rederlo/df4129f7f6a101037096 to your computer and use it in GitHub Desktop.
Save rederlo/df4129f7f6a101037096 to your computer and use it in GitHub Desktop.
Exemplo phpunit.xml com coverage.
<phpunit colors="true" bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Tdd">
<directory suffix=".php">tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">../src/</directory>
<exclude>
<directory suffix=".php">../vendor/</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log
type="coverage-html"
target="data/coverage"
charset="UTF-8"
yui="true"
highlight="true"
lowUpperBound="35"
highUpperBound="70"/>
</logging>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment