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"
|
|
|
|
stopOnFailure="true"
|
|
|
|
stopOnError="true"
|
|
|
|
cacheResult="true"
|
|
|
|
cacheResultFile=".phpunit_cache">
|
2021-04-01 22:45:25 +09:00
|
|
|
<coverage processUncoveredFiles="true">
|
|
|
|
<include>
|
|
|
|
<directory suffix=".php">src</directory>
|
|
|
|
</include>
|
2021-05-05 22:34:32 +09:00
|
|
|
<exclude>
|
|
|
|
<directory>src/Util/Exception</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>
|
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"/>
|
|
|
|
</php>
|
|
|
|
<testsuites>
|
|
|
|
<testsuite name="Project Test Suite">
|
|
|
|
<directory>tests</directory>
|
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
|
|
|
<listeners>
|
|
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
|
|
|
|
</listeners>
|
2020-03-11 04:04:22 +09:00
|
|
|
</phpunit>
|