Files
automagistre/phpunit.xml.dist

35 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" colors="true"
bootstrap="config/bootstrap.php" cacheResultFile="var/.phpunit.result.cache">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src/</directory>
</include>
<exclude>
<directory>./src/Fixtures</directory>
</exclude>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<env name="KERNEL_DIR" value="src/"/>
<env name="KERNEL_CLASS" value="App\Kernel"/>
<env name="APP_ENV" value="test" force="true"/>
<env name="APP_DEBUG" value="1" force="true"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php>
<testsuites>
<testsuite name="Automagistre Test Suite">
<directory>tests</directory>
<directory>src/*/tests</directory>
</testsuite>
</testsuites>
<extensions>
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
</extensions>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>