Norby Baruani
5cfb4133bf
[5.x] Make time-based sharding namespace-agnostic and forward --test-directory ( #1677 )
...
* refactor(shard): extract parseListTestsOutput for testability
* test(shard): characterize parseListTestsOutput current behavior
* fix(shard): parse any PHP FQCN namespace from --list-tests
* fix(shard): forward --test-directory to list-tests subprocess
* chore: lint + snapshot fixups
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
* refactor(shard): make extracted helpers private, test via reflection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
* revert visual_snapshot_of_help_command_output
* revert visual_snapshot_of_help_command_output
* keep function removeParallelArguments
* strip --processes argument when building list-tests command
The removeParallelArguments method was not filtering --processes flags, causing the list-tests subprocess to fail when parallel execution was enabled. This prevented time-based sharding from working correctly with the --parallel option.
Now both --parallel/-p and --processes arguments are removed from the command used to enumerate tests, ensuring the subprocess runs successfully.
* test: re-add namespace-agnostic sharding tests
- 5.x merge kept describe()-style test file, dropped PR #1677 tests for parseListTestsOutput + buildListTestsCommand. Re-add them in matching style.
- Also fix removeParallelArguments test broken by merge: source array_values() + strips --processes, so expects ['bin/pest','tests/'].
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-06-14 13:09:30 +01:00
nuno maduro
b2998bc69e
chore: updates snapshots
2026-06-12 20:30:16 +01:00
oddvalue
d393799d2a
Optimize buildFilterArgument in Shard plugin for compact regex generation and add comprehensive tests ( #1675 )
2026-06-12 20:06:50 +01:00
nuno maduro
0d7814ca16
chore: update snapshots
2026-06-12 18:02:06 +01:00
flap152
8467c64c22
fix: popArgument drops duplicate arguments breaking --parallel --exclude-gropup= ( #1674 )
...
* fix: popArgument drops duplicate arguments breaking --parallel multi-exclude-group
Fixes #1437
* fix: ensure popArgument handles duplicate arguments
* fix: update expected test results and snapshots after rebase
---------
Signed-off-by: nuno maduro <enunomaduro@gmail.com >
Co-authored-by: nuno maduro <enunomaduro@gmail.com >
2026-06-12 17:58:37 +01:00
oddvalue
97714a7088
Enforce filter length validation and add tests for Shard plugin ( #1673 )
2026-06-12 17:56:32 +01:00
nuno maduro
15e9b6a507
chore: snapshots
2026-06-12 07:22:13 +01:00
nuno maduro
520ce29376
Merge branch '4.x' into 5.x
2026-06-12 07:22:01 +01:00
nuno maduro
3aab02d2eb
ci: fixes dd test
2026-06-11 10:50:24 +01:00
nuno maduro
553aac65e6
release: v4.7.3
2026-06-11 10:40:18 +01:00
Punyapal Shah
be49a3ce18
Fix: dd ( #1692 )
...
* fix: update dd method to return never type
Co-authored-by: Copilot <copilot@github.com >
* fix: enhance var_dump calls to accept additional arguments
* fix: update dd method to handle paratest and collision printer environments
* test: add dd method tests for ExpectationFailedException in parallel mode
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-06-11 10:16:07 +01:00
Sonali dudhia
774a340400
feat: add toBeUlid assertion and isUlid validation method ( #1726 )
2026-06-11 10:14:00 +01:00
nuno maduro
37821e1108
chore: fixes output snapshots on team city
2026-06-11 10:12:32 +01:00
nuno maduro
79bc7a8257
Merge branch '4.x' into 5.x
2026-06-01 07:09:57 +01:00
nuno maduro
40b88b62ef
release: v4.7.2
2026-06-01 07:08:59 +01:00
nuno maduro
da726beffc
chore: merges 4.x
2026-06-01 06:28:44 +01:00
nuno maduro
4ef12b9aac
Merge branch '4.x' into 5.x
2026-06-01 06:25:56 +01:00
nuno maduro
bd22f478b8
chore: fixes issues with contracts and symfony 8.1
2026-06-01 06:24:42 +01:00
nuno maduro
eeaac34cf6
release: v4.7.1
2026-06-01 05:42:12 +01:00
nuno maduro
f859bb179d
Merge branch '4.x' into 5.x
2026-05-04 07:38:40 -03:00
nuno maduro
2fc75cfcf0
chore: updates snapshots
2026-05-03 13:09:32 -03:00
nuno maduro
a3796daa42
wip
2026-05-03 13:24:10 +01:00
nuno maduro
9e4cf4b665
wip
2026-05-02 18:58:42 +01:00
nuno maduro
4280233b40
wip
2026-05-02 18:37:24 +01:00
nuno maduro
b2c07561e7
wip
2026-05-01 20:54:24 +01:00
nuno maduro
97600b6f0b
wip
2026-05-01 20:53:40 +01: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
c440031e28
feat(tia): adds poc
2026-04-20 10:09:07 -07:00
nuno maduro
18bbca748f
Merge branch '4.x' into 5.x
2026-04-18 07:03:46 -07:00
nuno maduro
bff44562a9
release: v4.6.3
2026-04-18 06:51:25 -07:00
nuno maduro
f142aad8ad
Merge branch '4.x' into 5.x
2026-04-17 19:35:53 -07:00
nuno maduro
cabff738f7
release: v4.6.2
2026-04-17 19:32:23 -07:00
nuno maduro
6053e15d00
Merge branch '4.x' into 5.x
2026-04-17 06:07:14 -07:00
nuno maduro
87db0b4847
release: v4.6.1
2026-04-15 09:03:09 -07:00
nuno maduro
4e03cd3edb
release: v4.6.0
2026-04-14 10:23:26 -07:00
nuno maduro
7cbb1fcdb2
wip
2026-04-14 09:29:41 -07:00
nuno maduro
4ac14b2528
feat(time-based-sharding): updates plugin
2026-04-14 08:34:41 -07:00
nuno maduro
2d649d765f
chore: adjusts tests
2026-04-11 01:54:13 +01:00
nuno maduro
4fb4908570
Merge branch '4.x' into 5.x
2026-04-10 22:37:24 +01:00
nuno maduro
3855249ce9
feat: adds --flaky cli option
2026-04-10 20:03:50 +01:00
nuno maduro
f528bd8427
feat: adds flaky
2026-04-10 19:52:31 +01:00
nuno maduro
729f18a152
fix: stacktrace with nested with calls
2026-04-10 17:25:05 +01:00
nuno maduro
bce26aeaad
Merge pull request #1634 from dbpolito/dataset_named_params
...
Dataset Named Parameters
2026-04-10 16:54:57 +01:00
nuno maduro
5948bcd71e
chore: type improvements
2026-04-10 16:50:10 +01:00
nuno maduro
a8e974d64a
chore: updates snapshots
2026-04-10 14:42:34 +01:00
nuno maduro
4b5374d507
Merge branch '4.x' into fix/unicode-filename-filter
2026-04-10 12:29:30 +01:00
nuno maduro
b71bfc513a
chore: guards
2026-04-10 12:23:49 +01:00
nuno maduro
e766825f5b
chore: fixes test:unit
2026-04-10 12:15:00 +01:00
nuno maduro
8a83a1a1a9
Merge pull request #1655 from stsepelin/fix/parallel-empty-suite-reporting
...
fix: nested dataset discovery and parallel invalid-dataset reporting
2026-04-10 11:59:48 +01:00