2016-05-15 15:02:07 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-12-31 07:57:21 +01:00
|
|
|
<!--
|
|
|
|
~ phpunit.xml
|
|
|
|
~ Copyright (c) 2018 thegrumpydictator@gmail.com
|
|
|
|
~
|
|
|
|
~ This file is part of Firefly III.
|
|
|
|
~
|
|
|
|
~ Firefly III is free software: you can redistribute it and/or modify
|
|
|
|
~ it under the terms of the GNU General Public License as published by
|
|
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
|
|
~ (at your option) any later version.
|
|
|
|
~
|
|
|
|
~ Firefly III is distributed in the hope that it will be useful,
|
|
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
~ GNU General Public License for more details.
|
|
|
|
~
|
|
|
|
~ You should have received a copy of the GNU General Public License
|
|
|
|
~ along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
|
2016-05-15 15:02:07 +02:00
|
|
|
<phpunit backupGlobals="false"
|
|
|
|
backupStaticAttributes="false"
|
2017-09-09 21:57:24 +02:00
|
|
|
bootstrap="vendor/autoload.php"
|
2016-05-15 15:02:07 +02:00
|
|
|
colors="true"
|
|
|
|
convertErrorsToExceptions="true"
|
|
|
|
convertNoticesToExceptions="true"
|
|
|
|
convertWarningsToExceptions="true"
|
|
|
|
processIsolation="false"
|
2019-06-08 06:18:55 +02:00
|
|
|
stopOnFailure="true">
|
2018-04-27 11:29:09 +02:00
|
|
|
<listeners>
|
|
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
|
|
|
|
</listeners>
|
2016-05-15 15:02:07 +02:00
|
|
|
<testsuites>
|
2019-06-10 20:14:00 +02:00
|
|
|
<!-- test suites -->
|
|
|
|
<testsuite name="Api">
|
|
|
|
<directory suffix="Test.php">./tests/Api</directory>
|
|
|
|
</testsuite>
|
|
|
|
<!-- unit tests, splitted: -->
|
|
|
|
<testsuite name="Unit">
|
2019-08-03 04:46:47 +02:00
|
|
|
<!--
|
2019-06-10 20:14:00 +02:00
|
|
|
<directory suffix="Test.php">./tests/Unit/Console</directory>
|
2019-06-16 13:15:06 +02:00
|
|
|
<directory suffix="Test.php">./tests/Unit/Factory</directory>
|
2019-06-21 19:05:36 +02:00
|
|
|
<directory suffix="Test.php">./tests/Unit/Generator</directory>
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Handlers</directory>
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Helpers</directory>
|
2019-07-26 17:48:24 +02:00
|
|
|
<directory suffix="Test.php">./tests/Unit/Import</directory>
|
2019-07-31 16:53:09 +02:00
|
|
|
<directory suffix="Test.php">./tests/Unit/Jobs</directory>
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Middleware</directory>
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Rules</directory>
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Services</directory>
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Support</directory>
|
2019-08-01 06:21:44 +02:00
|
|
|
<directory suffix="Test.php">./tests/Unit/TransactionRules</directory>
|
2019-08-03 04:46:47 +02:00
|
|
|
-->
|
|
|
|
<directory suffix="Test.php">./tests/Unit/Transformers</directory>
|
2019-06-10 20:14:00 +02:00
|
|
|
</testsuite>
|
2017-09-09 21:57:24 +02:00
|
|
|
<testsuite name="Feature">
|
2019-07-23 17:33:23 +02:00
|
|
|
<directory suffix="Test.php">./tests/Feature</directory>
|
2016-12-22 19:51:49 +01:00
|
|
|
</testsuite>
|
2019-06-23 05:53:10 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
|
2017-09-09 21:57:24 +02:00
|
|
|
<testsuite name="Unit">
|
2017-02-12 11:25:17 +01:00
|
|
|
<directory suffix="Test.php">./tests/Unit</directory>
|
2016-05-15 15:02:07 +02:00
|
|
|
</testsuite>
|
2019-06-10 20:14:00 +02:00
|
|
|
-->
|
2016-05-15 15:02:07 +02:00
|
|
|
</testsuites>
|
|
|
|
<filter>
|
2017-09-09 21:57:24 +02:00
|
|
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
2016-09-16 06:19:40 +02:00
|
|
|
<directory suffix=".php">./app</directory>
|
2016-05-15 15:02:07 +02: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>
|