Created
April 15, 2016 17:20
-
-
Save jackdpeterson/07f0bc1fe577c67fb18adab26d8aab23 to your computer and use it in GitHub Desktop.
phpunit.xml sample - with code coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<phpunit bootstrap="./bootstrap.php" colors="true"> | |
<testsuites> | |
<testsuite name="MyCompany Test Suite"> | |
<directory>./MyCompany/Service</directory> | |
</testsuite> | |
</testsuites> | |
<logging> | |
<log type="coverage-html" target="./log/codeCoverage" charset="UTF-8" | |
yui="true" highlight="true" lowUpperBound="50" highLowerBound="80" | |
showUncoveredFiles="false" /> | |
<!-- <log type="testdox-html" target="./log/testdox.html" /> --> | |
</logging> | |
<filter> | |
<whitelist processUncoveredFilesFromWhitelist="true"> | |
<directory suffix=".php">./../src</directory> | |
</whitelist> | |
</filter> | |
</phpunit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment