2020-03-10 19:04:22 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
|
2021-08-03 18:44:22 +01:00
|
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
|
|
|
backupGlobals="false"
|
|
|
|
colors="true"
|
|
|
|
bootstrap="tests/bootstrap.php"
|
|
|
|
stopOnFailure="true"
|
|
|
|
stopOnError="true"
|
|
|
|
cacheResult="true"
|
2021-08-07 19:16:44 +01:00
|
|
|
cacheResultFile=".phpunit_cache"
|
|
|
|
executionOrder="defects">
|
2021-04-01 14:45:25 +01:00
|
|
|
<coverage processUncoveredFiles="true">
|
|
|
|
<include>
|
|
|
|
<directory suffix=".php">src</directory>
|
|
|
|
</include>
|
2021-05-05 14:34:32 +01:00
|
|
|
<exclude>
|
|
|
|
<directory>src/Util/Exception</directory>
|
2021-11-23 23:29:04 +00:00
|
|
|
<directory>src/PHPStan</directory>
|
2021-07-20 15:03:15 +01:00
|
|
|
<directory>src/Routes</directory>
|
2021-07-28 22:03:27 +01:00
|
|
|
<directory>src/DataFixtures</directory> <!-- This is where the test data is loaded, it get's tested enough, me thinks -->
|
2021-07-20 15:03:15 +01:00
|
|
|
<directory>src/Security</directory> <!-- TODO: Should be tested in the future -->
|
2021-05-05 14:34:32 +01:00
|
|
|
<file>src/Kernel.php</file>
|
|
|
|
<file>src/CacheKernel.php</file>
|
|
|
|
</exclude>
|
2021-04-01 14:45:25 +01:00
|
|
|
</coverage>
|
|
|
|
<php>
|
|
|
|
<ini name="error_reporting" value="-1"/>
|
|
|
|
<server name="APP_ENV" value="test" force="true"/>
|
|
|
|
<server name="SHELL_VERBOSITY" value="-1"/>
|
|
|
|
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
|
|
|
|
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5"/>
|
|
|
|
</php>
|
|
|
|
<testsuites>
|
|
|
|
<testsuite name="Project Test Suite">
|
|
|
|
<directory>tests</directory>
|
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
|
|
|
<listeners>
|
|
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
|
|
|
|
</listeners>
|
2020-03-10 19:04:22 +00:00
|
|
|
</phpunit>
|