Commit Graph

17 Commits

Author SHA1 Message Date
Jhon Farias 12bddc0137 fix(parallel): support --include-path (#2075)
* 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>
2026-12-04 01:48:02 +05:30
nuno maduro d112582857 wip 2026-08-05 19:58:57 +01:00
nuno maduro 872f0a50c2 fix(tia): replayable scenarios running afterEach 2026-08-04 20:19:12 +01:00
Clément Birklé e46d499384 add tests for snapshots external to the tests directory 2025-03-19 16:33:44 +01:00
Nuno Maduro 0064f3fdff chore: phpunit ^10.1 support 2023-04-13 11:03:29 +01:00
Nikos Charalampidis 1965763cd0 fix parallel execution of test class that inherit other class with the same name 2023-03-29 13:02:18 +03:00
Nuno Maduro 1e61034e86 feat: support for deprecated, notices, and warnings 2023-03-02 20:37:18 +00:00
Nuno Maduro 69a0c3ba99 chore: dont fails on warnings 2023-03-02 17:50:47 +00:00
Nuno Maduro d69f61c8d3 refacto: --retry option 2023-02-11 16:48:06 +00:00
Oliver 0839c7e127 Add Initial teamcity support 2023-01-11 09:37:12 +01:00
Nuno Maduro c61d70abf1 Removes possibility of tests being risky 2022-09-15 14:13:18 +01:00
Nuno Maduro 46ffdf9c7a Enables integration 2022-09-15 12:07:32 +01:00
Nuno Maduro 3ff95faaaa Uses Collision ^7.0 2022-09-15 01:07:15 +01:00
Fabio Ivona a4ec4b2841 fix tests against PhpUnit 10 refactors 2022-08-25 16:20:00 +02:00
Owen Voke 0e89525ea8 chore: fix PHPUnit config 2020-09-15 10:45:17 +01:00
Owen Voke 6413f7040f chore: update PHPUnit configuration for coverage 2020-08-25 21:41:05 +01:00
Nuno Maduro de2929077b first 2020-05-11 18:38:30 +02:00