Instantly share code, notes, and snippets.

Embed
What would you like to do?
PHPUnit config for a ZF2 app.
<?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