ldc-boutique-cnc-sable/phpunit.xml
Jérémy Munsch 3b3997d547
feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-27 09:58:44 +01:00

60 lines
2.3 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="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>
</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>