mirror of
https://github.com/pestphp/pest.git
synced 2026-12-03 22:45:06 +01:00
12bddc0137
* fix(parallel): support --include-path * fix(parallel): keep an include path with an equals sign in the parent process * fix(parallel): apply the include path before the bootstrap file * chore(rector): skip the parallel include path fixture * fix(parallel): apply the command line include path before the XML one in the bootstrap file Register `--include-path` on the ParaTest command, so ParaTest passes it to the PHPUnit configuration of the parent process. PHPUnit then puts the command line paths before the XML `<includePath>` before it includes the `--bootstrap` file. Read the value and the arguments the option consumes through PHPUnit's `Builder`, and write the value back in a form that PHPUnit reads unchanged, for the parent process and for each worker. Run the include path handler first, so it reads only the arguments of the user. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(parallel): declare strict types and refresh the success snapshot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
33 lines
1.1 KiB
XML
33 lines
1.1 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.0/phpunit.xsd"
|
|
backupGlobals="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
bootstrap="vendor/autoload.php"
|
|
colors="true"
|
|
failOnRisky="true"
|
|
failOnWarning="false"
|
|
processIsolation="false"
|
|
stopOnError="false"
|
|
stopOnFailure="false"
|
|
backupStaticProperties="false"
|
|
>
|
|
<testsuites>
|
|
<testsuite name="default">
|
|
<directory suffix=".php">./tests</directory>
|
|
<directory suffix=".php">./tests-external</directory>
|
|
<exclude>./tests/.snapshots</exclude>
|
|
<exclude>./tests/Fixtures/Inheritance</exclude>
|
|
<exclude>./tests/Fixtures/ParallelIncludePath</exclude>
|
|
<exclude>./tests/Fixtures/Suites</exclude>
|
|
<exclude>./tests/Fixtures/Tia</exclude>
|
|
</testsuite>
|
|
</testsuites>
|
|
<source>
|
|
<include>
|
|
<directory suffix=".php">./src</directory>
|
|
</include>
|
|
</source>
|
|
</phpunit>
|