Created
February 16, 2016 10:15
-
-
Save vitorbrandao/9ef1ed5649fd86ae2e92 to your computer and use it in GitHub Desktop.
PHPUnit config for a ZF2 app.
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit | |
colors = "true" | |
convertErrorsToExceptions = "true" | |
convertNoticesToExceptions = "true" | |
convertWarningsToExceptions = "true" | |
processIsolation = "false" | |
stopOnFailure = "true" | |
syntaxCheck = "true" | |
bootstrap = "vendor/autoload.php"> | |
<testsuites> | |
<testsuite name="zf2-skeletonapp"> | |
<directory suffix="Test.php">module/*/test/*</directory> | |
</testsuite> | |
</testsuites> | |
<logging> | |
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false" /> | |
</logging> | |
<filter> | |
<whitelist processUncoveredFilesFromWhitelist="true" addUncoveredFilesFromWhitelist="true"> | |
<directory suffix=".php">module/*/src/*</directory> | |
</whitelist> | |
<blacklist> | |
<directory suffix=".php">vendor/*</directory> | |
</blacklist> | |
</filter> | |
</phpunit> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment