firefly-iii/phpunit.coverage.xml

65 lines
2.3 KiB
XML
Raw Normal View History

2017-10-06 08:41:21 -05:00
<?xml version="1.0" encoding="UTF-8"?>
2018-12-31 00:57:21 -06:00
<!--
~ phpunit.coverage.xml
2020-02-16 07:00:57 -06:00
~ Copyright (c) 2020 james@firefly-iii.org
2018-12-31 00:57:21 -06:00
~
~ This file is part of Firefly III (https://github.com/firefly-iii).
2018-12-31 00:57:21 -06:00
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as
~ published by the Free Software Foundation, either version 3 of the
~ License, or (at your option) any later version.
2018-12-31 00:57:21 -06:00
~
~ This program is distributed in the hope that it will be useful,
2018-12-31 00:57:21 -06:00
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
2018-12-31 00:57:21 -06:00
~
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
2018-12-31 00:57:21 -06:00
-->
2017-10-06 08:41:21 -05:00
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
2019-06-07 23:18:55 -05:00
stopOnFailure="true">
2018-04-27 04:29:09 -05:00
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
2017-10-06 08:41:21 -05:00
<testsuites>
2019-06-10 13:14:00 -05:00
<testsuite name="Api">
<directory suffix="Test.php">./tests/Api</directory>
</testsuite>
<testsuite name="Unit">
2019-08-03 03:50:43 -05:00
<directory suffix="Test.php">./tests/Unit</directory>
2019-06-10 13:14:00 -05:00
</testsuite>
2019-06-22 22:53:10 -05:00
<testsuite name="Feature">
2019-07-23 10:33:23 -05:00
<directory suffix="Test.php">./tests/Feature</directory>
2019-06-22 22:53:10 -05:00
</testsuite>
2017-10-06 08:41:21 -05:00
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
<exclude>
<file>app/Http/breadcrumbs.php</file>
</exclude>
</whitelist>
</filter>
<logging>
2018-07-01 02:52:56 -05:00
<log type="coverage-clover" target="./storage/build/clover-all.xml" />
2017-10-06 08:41:21 -05:00
</logging>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
</php>
</phpunit>