Files
cheeper-ddd-cqrs-example/phpunit.xml.dist
2021-12-08 15:40:37 +01:00

31 lines
1.2 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="https://schema.phpunit.de/9.3/phpunit.xsd" colors="true"
bootstrap="tests/bootstrap.php" executionOrder="random">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src/Cheeper</directory>
</include>
<exclude>
<file>src/Cheeper/Infrastructure/Persistence/InMemoryCheeps.php</file>
<directory>src/Cheeper/Infrastructure</directory>
<directory>src/Cheeper/Chapter5/Infrastructure</directory>
<directory>src/Cheeper/Chapter6/Infrastructure</directory>
</exclude>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<server name="SHELL_VERBOSITY" value="-1"/>
</php>
<testsuites>
<testsuite name="full">
<directory>tests/</directory>
</testsuite>
</testsuites>
<extensions>
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
</extensions>
</phpunit>