Skip to content

Instantly share code, notes, and snippets.

@modess
Created March 13, 2018 06:07
Show Gist options
  • Select an option

  • Save modess/bbdea9e94f04c672d57c67e0ac371c01 to your computer and use it in GitHub Desktop.

Select an option

Save modess/bbdea9e94f04c672d57c67e0ac371c01 to your computer and use it in GitHub Desktop.
Generic PHPUnit configuration file
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Application Test Suite">
<directory>./test/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./build/coverage" title="App"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="./build/logs/junit.xml"
logIncompleteSkipped="false"/>
</logging>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment