Website/app/phpunit.xml

49 lines
1.6 KiB
XML
Raw Normal View History

2024-02-04 04:39:13 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
convertDeprecationsToExceptions="false"
>
<php>
<ini name="display_errors" value="1" />
<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>
2024-04-22 18:52:51 +00:00
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="Web">
<directory>tests/Web</directory>
2024-02-04 04:39:13 +00:00
</testsuite>
</testsuites>
2024-04-22 18:52:51 +00:00
2024-02-04 04:39:13 +00:00
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
2024-04-22 18:52:51 +00:00
<exclude>
<directory suffix="Entity.php">src</directory>
<directory suffix="Fixtures.php">fixtures</directory>
</exclude>
2024-02-04 04:39:13 +00:00
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<extensions>
2024-04-22 18:52:51 +00:00
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
2024-02-04 04:39:13 +00:00
</extensions>
</phpunit>