49 lines
1.6 KiB
XML
49 lines
1.6 KiB
XML
<?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>
|
|
<testsuite name="Unit">
|
|
<directory>tests/Unit</directory>
|
|
</testsuite>
|
|
<testsuite name="Integration">
|
|
<directory>tests/Integration</directory>
|
|
</testsuite>
|
|
<testsuite name="Web">
|
|
<directory>tests/Web</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<coverage processUncoveredFiles="true">
|
|
<include>
|
|
<directory suffix=".php">src</directory>
|
|
</include>
|
|
<exclude>
|
|
<directory suffix="Entity.php">src/</directory>
|
|
<directory suffix="Fixtures.php">src/Framework/Fixtures</directory>
|
|
</exclude>
|
|
</coverage>
|
|
|
|
<listeners>
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
|
|
</listeners>
|
|
|
|
<extensions>
|
|
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
|
|
</extensions>
|
|
</phpunit>
|