phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<testsuites>
<testsuite name="Concierge DB Integration Suite">
<directory suffix=".php">./tests/integration/</directory>
<directory suffix=".php">./tests/unit/</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_DRIVER" value="sqlite"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">src/</directory>
<directory suffix=".php">migrations/</directory>
<exclude>
<directory suffix=".js">src/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>