2020-03-11 04:04:22 +09:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
|
2021-08-04 02:44:22 +09: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"
|
2022-10-28 08:04:25 +09:00
|
|
|
cacheResultFile="var/phpunit/result_cache"
|
2022-10-28 08:22:42 +09:00
|
|
|
cacheResult="true"
|
|
|
|
processIsolation="false">
|
|
|
|
<coverage
|
|
|
|
cacheDirectory="var/phpunit/coverage_cache"
|
|
|
|
includeUncoveredFiles="true"
|
|
|
|
processUncoveredFiles="true"
|
|
|
|
>
|
|
|
|
<!-- pathCoverage="true" -->
|
2021-04-01 22:45:25 +09:00
|
|
|
<include>
|
|
|
|
<directory suffix=".php">src</directory>
|
|
|
|
</include>
|
2021-05-05 22:34:32 +09:00
|
|
|
<exclude>
|
|
|
|
<directory>src/Util/Exception</directory>
|
2021-11-24 08:29:04 +09:00
|
|
|
<directory>src/PHPStan</directory>
|
2021-07-20 23:03:15 +09:00
|
|
|
<directory>src/Routes</directory>
|
2021-07-29 06:03:27 +09:00
|
|
|
<directory>src/DataFixtures</directory> <!-- This is where the test data is loaded, it get's tested enough, me thinks -->
|
2021-07-20 23:03:15 +09:00
|
|
|
<directory>src/Security</directory> <!-- TODO: Should be tested in the future -->
|
2021-05-05 22:34:32 +09:00
|
|
|
<file>src/Kernel.php</file>
|
|
|
|
<file>src/CacheKernel.php</file>
|
|
|
|
</exclude>
|
2022-10-29 02:49:03 +09:00
|
|
|
<report>
|
|
|
|
<html outputDirectory=".test_coverage_report"/>
|
|
|
|
</report>
|
2021-04-01 22:45:25 +09: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"/>
|
2022-03-07 08:49:56 +09:00
|
|
|
<!-- <env name="CACHE_DRIVER" value="array"/> -->
|
|
|
|
<env name="SESSION_DRIVER" value="array"/>
|
|
|
|
<env name="QUEUE_DRIVER" value="sync"/>
|
|
|
|
<env name="MAIL_DRIVER" value="array"/>
|
2021-04-01 22:45:25 +09:00
|
|
|
</php>
|
|
|
|
<testsuites>
|
2022-03-07 09:48:07 +09:00
|
|
|
<testsuite name="Controller">
|
|
|
|
<directory suffix="Test.php">./tests/Controller</directory>
|
|
|
|
</testsuite>
|
|
|
|
<testsuite name="Core">
|
|
|
|
<directory suffix="Test.php">./tests/Core</directory>
|
|
|
|
</testsuite>
|
|
|
|
<testsuite name="Entity">
|
|
|
|
<directory suffix="Test.php">./tests/Entity</directory>
|
|
|
|
</testsuite>
|
|
|
|
<testsuite name="Twig">
|
|
|
|
<directory suffix="Test.php">./tests/Twig</directory>
|
|
|
|
</testsuite>
|
|
|
|
<testsuite name="Util">
|
|
|
|
<directory suffix="Test.php">./tests/Util</directory>
|
|
|
|
</testsuite>
|
|
|
|
<testsuite name="Plugins">
|
|
|
|
<directory suffix="Test.php">./plugins/</directory>
|
|
|
|
</testsuite>
|
|
|
|
<testsuite name="Component">
|
|
|
|
<directory suffix="Test.php">./components/</directory>
|
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
2021-04-01 22:45:25 +09:00
|
|
|
<listeners>
|
|
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
|
|
|
|
</listeners>
|
2020-03-11 04:04:22 +09:00
|
|
|
</phpunit>
|