Files

76 lines
3.8 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/10.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="v4">
<directory suffix="Test.php">./tests/v4</directory>
</testsuite>
<testsuite name="Golden">
<directory suffix="Test.php">./tests/Golden</directory>
</testsuite>
<!--
The 3 shards of the CI jobs. Together they hold the Feature, Unit, and Golden tests once. Feature files
are split by the first letter of the file name, so that the shards take about as long on PostgreSQL
(CI run of 2026-12-05: 1383 s, 1335 s and 1310 s of test time). A test file whose name does not start
with A to Z is in no shard, and the ratchet of the CI job then fails.
-->
<testsuite name="Shard1">
<directory prefix="A" suffix="Test.php">./tests/Feature</directory>
<directory prefix="B" suffix="Test.php">./tests/Feature</directory>
<directory prefix="C" suffix="Test.php">./tests/Feature</directory>
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Shard2">
<directory prefix="D" suffix="Test.php">./tests/Feature</directory>
<directory prefix="E" suffix="Test.php">./tests/Feature</directory>
<directory prefix="F" suffix="Test.php">./tests/Feature</directory>
<directory prefix="G" suffix="Test.php">./tests/Feature</directory>
<directory prefix="H" suffix="Test.php">./tests/Feature</directory>
<directory prefix="I" suffix="Test.php">./tests/Feature</directory>
<directory prefix="J" suffix="Test.php">./tests/Feature</directory>
<directory prefix="K" suffix="Test.php">./tests/Feature</directory>
<directory prefix="L" suffix="Test.php">./tests/Feature</directory>
<directory prefix="M" suffix="Test.php">./tests/Feature</directory>
<directory prefix="N" suffix="Test.php">./tests/Feature</directory>
<directory prefix="O" suffix="Test.php">./tests/Feature</directory>
<directory prefix="P" suffix="Test.php">./tests/Feature</directory>
<directory suffix="Test.php">./tests/Golden</directory>
</testsuite>
<testsuite name="Shard3">
<directory prefix="Q" suffix="Test.php">./tests/Feature</directory>
<directory prefix="R" suffix="Test.php">./tests/Feature</directory>
<directory prefix="S" suffix="Test.php">./tests/Feature</directory>
<directory prefix="T" suffix="Test.php">./tests/Feature</directory>
<directory prefix="U" suffix="Test.php">./tests/Feature</directory>
<directory prefix="V" suffix="Test.php">./tests/Feature</directory>
<directory prefix="W" suffix="Test.php">./tests/Feature</directory>
<directory prefix="X" suffix="Test.php">./tests/Feature</directory>
<directory prefix="Y" suffix="Test.php">./tests/Feature</directory>
<directory prefix="Z" suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage/>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array" force="true"/>
<env name="DB_CONNECTION" value="testing" force="true"/>
<env name="MAIL_MAILER" value="array" force="true"/>
<env name="QUEUE_CONNECTION" value="sync" force="true"/>
<env name="SESSION_DRIVER" value="array" force="true"/>
<!-- Disable broadcasting for host-side Pest browser runs. -->
<env name="BROADCAST_DRIVER" value="null" force="true"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
</source>
</phpunit>