firefly-iii/phpunit.xml

71 lines
2.3 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
-->
2020-08-22 05:24:01 -05:00
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
2016-05-15 08:02:07 -05:00
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"
2020-08-22 05:24:01 -05:00
stopOnFailure="true"
2016-05-15 08:02:07 -05:00
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
2020-08-22 05:24:01 -05:00
processIsolation="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<listeners>
2020-10-04 03:56:10 -05:00
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>1000</integer>
</element>
</array>
</arguments>
</listener>
2020-08-22 05:24:01 -05:00
</listeners>
<testsuites>
2020-10-04 03:56:10 -05:00
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
2020-08-22 05:24:01 -05:00
<!--
2019-06-10 13:14:00 -05:00
<testsuite name="Api">
<directory suffix="Test.php">./tests/Api</directory>
</testsuite>
2020-10-04 03:56:10 -05:00
2020-08-22 05:24:01 -05:00
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
2020-10-04 03:56:10 -05:00
-->
2020-08-22 05:24:01 -05:00
</testsuites>
<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>
2016-05-15 08:02:07 -05:00
</phpunit>