Skip to content

Instantly share code, notes, and snippets.

@clarkeash
Last active January 27, 2016 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clarkeash/efdaf5bae757175b0804 to your computer and use it in GitHub Desktop.
Save clarkeash/efdaf5bae757175b0804 to your computer and use it in GitHub Desktop.
Standard phpunit configuration. (adapted from Laravel)
<?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">
<testsuites>
<testsuite name="Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<php>
<!--<env name="APP_ENV" value="testing"/>-->
</php>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment