phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
<directory suffix=".php">./relationships/src</directory>
<directory suffix=".php">./contracts/src</directory>
<directory suffix=".php">./tools/src</directory>
<exclude>
<directory>./app/Passport</directory>
<directory>./app/Http/Controllers/Auth</directory>
<file>./app/Repositories/DocumentationRepository.php</file>
<file>./app/Http/Controllers/RefreshController.php</file>
<file>./app/Http/Controllers/TokenController.php</file>
</exclude>
</whitelist>
</filter>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
</php>
<logging>
<log type="coverage-html" target="./report"
lowUpperBound="50" highLowerBound="80" />
</logging>
</phpunit>