ldc-boutique-cnc-sable/phpunit.xml
Jérémy Munsch 1cf15950c6
fix: add missing CACHE_STORE environment variable
This change ensures that the CACHE_STORE environment variable is defined for the testing environment.
2026-10-27 16:17:40 +01:00

62 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Architecture">
<directory suffix="Test.php">./tests/Architecture</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="IntegrationStandalones">
<directory suffix="Test.php">./tests/Integration/Standalones</directory>
</testsuite>
<testsuite name="IntegrationWithApp">
<directory suffix="Test.php">./tests/Integration/WithApp</directory>
</testsuite>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<php>
<ini name="memory_limit" value="-1"/>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="mysql"/>
<!-- <env name="DB_DATABASE" value="testing_db"/> -->
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="CRM_ENDPOINT" value="http://fake-url.com"/>
<env name="CRM_TOKEN" value="fake-token"/>
<env name="CRM_PASSWORD" value="fake-password"/>
<env name="ARCADIA_API_ENDPOINT" value="https://fake-arcadia-api.local"/>
<env name="ARCADIA_API_APIKEY" value="fake-key"/>
<env name="ARCADIA_API_SECRET" value="fake-secret"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./domain</directory>
<directory suffix=".php">./infra</directory>
<directory suffix=".php">./shared</directory>
</include>
<exclude>
<directory suffix=".php">./config</directory>
<directory suffix=".php">./database/migrations</directory>
<directory suffix=".php">./routes</directory>
<directory suffix=".php">./database/factories</directory>
<directory suffix=".php">./database/seeders</directory>
</exclude>
</source>
<coverage>
<report>
<clover outputFile="coverage/clover.xml"/>
<html outputDirectory="coverage/html"/>
</report>
</coverage>
</phpunit>