Commit Graph

43 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 42d9b777bf chore: coding style changes 2026-08-07 14:52:56 +01:00
nuno maduro b49ba062d5 wq 2026-08-06 22:05:15 +01:00
Jeffrey van Hees 047753c836 fix: key Tia results per dataset row (#1799)
The result cache was keyed `Class::method` on both sides, so every row of a
`->with()` test shared one entry and the last writer won. On replay that single
status was handed to every row.

`TestMethod::id()` already appends `#dataSetName`, and `TestCase` reaches the
same value object through `valueObjectForEvents()`, so both sides can use it.
2026-08-02 21:43:15 -04:00
nuno maduro eee60c9e11 fix: duplicated team city output 2026-06-11 10:08:27 +01:00
nuno maduro 9e4cf4b665 wip 2026-05-02 18:58:42 +01:00
nuno maduro 28305fcb7a wip 2026-05-02 16:35:52 +01:00
nuno maduro 4a8c2d7d78 wip 2026-05-02 15:03:44 +01:00
nuno maduro 7d51601120 wip 2026-05-02 14:15:37 +01:00
nuno maduro c38d32ae86 wip 2026-05-02 09:49:33 +01:00
nuno maduro bf48e20880 wip 2026-05-01 22:36:15 +01:00
nuno maduro bed5e5b54a wip 2026-05-01 20:02:46 +01:00
nuno maduro 58dfb6da64 wip 2026-04-30 22:12:53 +01:00
nuno maduro 405d8d4406 wip 2026-04-28 21:28:46 +01:00
nuno maduro e24882c486 wip 2026-04-21 09:41:19 -07:00
nuno maduro a5915b16ab wip 2026-04-20 20:58:38 -07:00
nuno maduro 9c8033d60c feat(tia): continues to work on poc 2026-04-20 10:09:07 -07:00
nuno maduro c7e32f5d33 feat(tia): continues to work on poc 2026-04-20 10:09:07 -07:00
nuno maduro f09d6f2064 feat(tia): continues to work on poc 2026-04-20 10:09:07 -07:00
nuno maduro 4b9bb77b54 feat(tia): adds poc 2026-04-20 10:09:07 -07:00
nuno maduro c440031e28 feat(tia): adds poc 2026-04-20 10:09:07 -07:00
nuno maduro 4ac14b2528 feat(time-based-sharding): updates plugin 2026-04-14 08:34:41 -07:00
Nuno Maduro ed38fb644f release: 4.0.0 rc 1 2025-08-20 07:58:51 +01:00
Nuno Maduro 6d6e4e040f fix: wrong status code being used 2025-07-25 18:03:58 -06:00
Nuno Maduro e2d360b1b5 chore: adjusts tests 2024-09-03 14:09:03 +01:00
Nuno Maduro 04c39bae2e Adjust style 2024-06-25 21:02:52 +01:00
Adrian Nürnberger d4853feecd drop own implementation 2024-01-24 21:33:17 +01:00
Nuno Maduro b9d2be87a2 fix: missing things on junit 2024-01-20 13:21:57 +00:00
Adrian Nürnberger 14fb992ef2 unify converter 2023-12-19 06:29:28 +01:00
Adrian Nürnberger e5dc6f0ae2 junit support 2023-12-19 06:29:28 +01:00
Nuno Maduro 961e0aec66 feat: removes non used subscriber 2023-03-19 15:40:53 +00:00
Nuno Maduro 30b151f927 feat: --bail 2023-03-16 11:55:42 +00:00
Nuno Maduro 7fc12613a8 feat: kernel dump 2023-02-18 14:39:47 +00:00
Nuno Maduro 8eaf4859ff chore: different refactors 2023-02-11 16:51:29 +00:00
Nuno Maduro d69f61c8d3 refacto: --retry option 2023-02-11 16:48:06 +00:00
Nuno Maduro 349e2f45df chore: style changes 2023-01-11 20:11:36 +00:00
Oliver 0839c7e127 Add Initial teamcity support 2023-01-11 09:37:12 +01:00
Nuno Maduro 330b4f0171 fix: ensures --retry works with errored tests 2023-01-02 20:59:59 +00:00
Nuno Maduro 106b279ed0 feat: adds --retry option 2021-12-04 21:18:55 +00:00
Nuno Maduro 183f975166 chore: phpstan level 5 2021-11-14 21:23:02 +00:00
Nuno Maduro 4b213d63bd feat: reworks evalution of Test Case 2021-11-14 19:58:25 +00:00
Nuno Maduro 2b687a7269 refactor: PHP 8 features 2021-10-24 18:29:59 +01:00
Nuno Maduro cf47b45262 feat: basic PHPUnit 10 support 2021-10-24 01:03:18 +01:00