ldc-arcadia-api/phpunit.xml
Jérémy Munsch 52d121085a
chore: exclude views directory from PHPUnit tests
This change ensures that the views directory is not included in the test coverage.
2026-08-13 12:18:07 +02:00

28 lines
873 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
<testsuite name="Architecture">
<directory>tests/Architecture</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
<exclude>
<directory>src/Presentation/Web/resources/views</directory>
</exclude>
</source>
<php>
<env name="APP_ENV" value="testing"/>
</php>
</phpunit>