firefly-iii/phpunit.xml

60 lines
2.0 KiB
XML
Raw Normal View History

2016-05-15 08:02:07 -05:00
<?xml version="1.0" encoding="UTF-8"?>
2018-12-31 00:57:21 -06:00
<!--
~ phpunit.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
-->
2016-05-15 08:02:07 -05:00
<phpunit backupGlobals="false"
backupStaticAttributes="false"
2017-09-09 14:57:24 -05:00
bootstrap="vendor/autoload.php"
2016-05-15 08:02:07 -05:00
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false">
2018-04-27 04:29:09 -05:00
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
2016-05-15 08:02:07 -05:00
<testsuites>
2020-07-31 22:34:32 -05:00
<!--
2019-06-10 13:14:00 -05:00
<testsuite name="Api">
<directory suffix="Test.php">./tests/Api</directory>
</testsuite>
2017-09-09 14:57:24 -05:00
<testsuite name="Feature">
2019-07-23 10:33:23 -05:00
<directory suffix="Test.php">./tests/Feature</directory>
2016-12-22 12:51:49 -06:00
</testsuite>
2020-07-30 23:53:48 -05:00
-->
2020-07-31 22:34:32 -05:00
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
2016-05-15 08:02:07 -05:00
</testsuites>
<filter>
2017-09-09 14:57:24 -05:00
<whitelist processUncoveredFilesFromWhitelist="true">
2016-09-15 23:19:40 -05:00
<directory suffix=".php">./app</directory>
2016-05-15 08:02:07 -05:00
</whitelist>
</filter>
<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>