1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/phpunit.xml
2019-04-24 20:01:40 +10:00

58 lines
2.2 KiB
XML

<?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="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
<exclude>
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./app/Providers</directory>
<directory suffix=".php">./app/Http</directory>
<directory suffix=".php">./app/Models</directory>
<directory suffix=".php">./app/Transformers</directory>
<directory suffix=".php">./app/Events</directory>
<directory suffix=".php">./app/Observers</directory>
<directory suffix=".php">./app/Policies</directory>
<directory suffix=".php">./app/Jobs</directory>
<directory suffix=".php">./app/Filters</directory>
<file>./app/Console/Kernel.php</file>
<file>./app/Constants.php</file>
<file>./app/Libraries/OFX.php</file>
<file>./app/Exceptions/Handler.php</file>
</exclude>
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="MAIL_DRIVER" value="array"/>
</php>
<logging>
<log type="coverage-clover" target="coverage.xml"/>
</logging>
</phpunit>