test(casts): add tests for ShopperEstablishmentCodeCast functionality test(casts): add tests for ShopperServiceCodeCast functionality test(casts): add tests for ShopperSiteCodeCast functionality test(dto): update ProductDtoTest to include additional fields test(dto): update SettingDtoTest to remove arcadiaSites assertions test(events): update AnOrderHasBeenPlacedTest to use value objects test(entities): update OrderTest to use value objects for employee details test(value-objects): update EmployeeUpsertDataTest to use value objects test(pagination): update PaginationTest to access value properties test(services): update AppCustomerAuthServiceTest to use CrmHashcode test(services): update CrmServiceTest to use CrmHashcode for customer retrieval
61 lines
2.4 KiB
XML
61 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="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>
|