mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
70 lines
2.9 KiB
XML
70 lines
2.9 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="true">
|
|
<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>
|
|
|
|
<testsuite name="Pdf">
|
|
<directory suffix="Test.php">./tests/Pdf</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/Factory</directory>
|
|
<directory suffix=".php">./app/Helpers</directory>
|
|
<directory suffix=".php">./app/Libraries</directory>
|
|
<directory suffix=".php">./app/Listeners</directory>
|
|
<directory suffix=".php">./app/Mail</directory>
|
|
<directory suffix=".php">./app/Notifications</directory>
|
|
<directory suffix=".php">./app/Providers</directory>
|
|
<directory suffix=".php">./app/Repositories</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>
|