Skip to content

Instantly share code, notes, and snippets.

@rilwanfit
Last active November 17, 2019 10:12
Show Gist options
  • Save rilwanfit/7777f38a1749635d0f0fbba73dfb909e to your computer and use it in GitHub Desktop.
Save rilwanfit/7777f38a1749635d0f0fbba73dfb909e to your computer and use it in GitHub Desktop.
PHPUnit configuration
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="config/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment