Commit Graph

18 Commits

Author SHA1 Message Date
Ikki Nishihara fabc818ba9 Support nested Composer vendor directories (#2053)
Co-authored-by: haranishi <223786623+haranishi@users.noreply.github.com>
Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
2026-11-20 02:40:22 +05:30
Aleksandr Štšepelin 9dc8c1d5cb fix: honor all stop-on-* flags in parallel mode (#1684)
* fix: honor all stop-on-* flags in parallel mode

Previously --stop-on-failure was the only flag honored in parallel
mode, and it only cleared pending tests when the exit code was
non-zero. The rest (--stop-on-defect, --stop-on-error, --stop-on-risky,
--stop-on-incomplete, --stop-on-warning, --stop-on-notice,
--stop-on-deprecation, --stop-on-skipped) were silently ignored.

WrapperRunner now precomputes the set of progress-file characters that
should trigger a stop (F, E, R, I, W, N, D, S) based on the configured
flags, and scans each worker's progress file for them after every
cycle. Once any matching outcome is seen, the pending queue is cleared.

Up to N-1 in-flight tests (where N is --processes) can still complete
after the first stop-worthy outcome — stopping them mid-run would risk
corrupting shared state.

Closes #1463.

* fix: preserve parallel stop conditions on Pest 5

* test: expand parallel stop-on regression coverage
2026-11-17 01:49:46 +05:30
nuno maduro 42d9b777bf chore: coding style changes 2026-08-07 14:52:56 +01:00
nuno maduro 9b7c15d5b6 wip 2026-05-02 12:03:35 +01:00
Yury Kudryavtsev 4105e33c39 Fix Undefined array key "testdox-columns" warning
Fix Undefined array key "testdox-columns" warning
2025-10-21 11:44:55 +03:00
Admiral-Enigma cd5272d8cc Cast "testdox-columns" to an int 2025-08-22 10:00:49 +02:00
Nuno Maduro d2eb94d723 chore: bumps phpunit and paratest 2024-12-12 11:50:43 +00:00
Nuno Maduro 45cce6ce93 Style 2024-07-24 21:54:52 +01:00
Nuno Maduro cb0f256791 release: 2.33.2 2024-02-02 16:50:40 +00:00
Nuno Maduro 049da041b2 release: v2.11.0 2023-08-01 14:43:50 +01:00
Nuno Maduro 0e5470b192 chore: adds support for PhpUnit@10.2.2 2023-06-15 12:02:00 +02: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 b887116e5c fix: Pest.php file not loaded in certain environments 2023-03-20 17:34:42 +00:00
Nuno Maduro b4b4bf3685 style: plugin actions improvements 2023-02-18 14:39:47 +00:00
Luke Downing d57437ff02 chore(cleanup): Tidy-up and tweaks of Pest Parallel integration. 2023-02-13 12:25:00 +00:00
Luke Downing 666b2f3fd0 chore(cleanup): Tidy-up and tweaks of Pest Parallel integration. 2023-02-13 12:13:53 +00:00
Luke Downing 69afb31bb9 chore(cleanup): Tidy-up and tweaks of Pest Parallel integration. 2023-02-13 11:13:17 +00:00
Nuno Maduro 8eaf4859ff chore: different refactors 2023-02-11 16:51:29 +00:00