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
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
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
37821e1108
chore: fixes output snapshots on team city
2026-06-11 10:12:32 +01:00
nuno maduro
da726beffc
chore: merges 4.x
2026-06-01 06:28:44 +01:00
nuno maduro
bd22f478b8
chore: fixes issues with contracts and symfony 8.1
2026-06-01 06:24:42 +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
b2c07561e7
wip
2026-05-01 20:54:24 +01: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
2d649d765f
chore: adjusts tests
2026-04-11 01:54:13 +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
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
e766825f5b
chore: fixes test:unit
2026-04-10 12:15:00 +01:00
Aleksandr Štšepelin
4b50cb486d
Restore success snapshot coverage with lower memory limit
2026-03-25 23:59:29 +02:00
Aleksandr Štšepelin
f7175ecfd7
Fix parallel dataset reporting and nested fixtures
2026-03-25 23:59:29 +02:00
Aleksandr Štšepelin
07737bc0b2
Fix parallel file selection and empty-suite reporting
2026-03-25 23:59:28 +02:00
vmadmax
a956de5446
fix: preserve Unicode characters in class names for --filter matching
2026-02-02 09:01:24 +01:00
Ilia Smirnov
c7e4efcea4
fix: replace substr with mb_substr in Str::beforeLast to ensure multibyte string compatibility and correct TeamCity test names for datasets in "describe" blocks
2026-01-14 00:55:35 +01:00
Nuno Maduro
bc57a84e77
release: 4.3.1
2026-01-04 11:29:59 -05:00
Nuno Maduro
477d20a54f
release: 4.1.3
2025-10-29 22:45:27 +00:00
Nuno Maduro
711a60c2db
release: beta 1
2025-08-05 17:44:12 +01:00
Nuno Maduro
4c88590b89
feat: not.toHaveSuspiciousCharacters
2025-07-26 07:47:00 -06:00
Nuno Maduro
d187566e63
chore: updates snapshots
2025-07-25 21:29:26 -06:00
nuno maduro
d6c6489e93
Merge branch '4.x' into fix/sibling-describe-blocks
2025-07-26 04:26:10 +01:00
Nuno Maduro
2aa32569f0
fix: adjust snapshots
2025-07-25 21:06:49 -06:00
Nuno Maduro
de4409e368
fix: before all
2025-07-25 20:54:37 -06:00
Nuno Maduro
f9901245f1
updates dependencies and snapshots
2025-07-22 23:51:32 +01:00
Nuno Maduro
be9c95e3bc
feat: adds see
2025-07-22 23:06:43 +01:00
Nuno Maduro
af3fdceddb
feat: adds phpunit 12.2.5 support
2025-06-28 18:31:45 +01:00
Nuno Maduro
0fc9d4dfe0
feat: adds phpunit 12.2.1 support
2025-06-08 15:29:23 +01:00
Nuno Maduro
66ceb64faa
Updates tests
2025-02-03 13:36:47 +00:00
jshayes
50ff347b59
Pass description into describe call
2025-01-20 17:40:18 -05:00
jshayes
b5b8fab09b
Fix an issue where beforeEach/afterEach functions were called on other describe blocks with the same name
2025-01-20 17:36:22 -05:00
Nuno Maduro
709ecb1ba2
chore: adjusts tests
2025-01-19 17:35:09 +00:00
Nuno Maduro
6afb36519d
release: 3.7.2
2025-01-19 17:16:25 +00:00
Nuno Maduro
c2cabaeae6
chore: fixes test suite
2024-12-01 23:16:34 +00:00
Nuno Maduro
5d32dd0641
feat: option to coverage
2024-12-01 22:45:31 +00:00
jshayes
6968094e2b
Add tests
2024-10-13 10:39:17 -04:00
jshayes
cd2eb3504b
Add helper to get last element of array
2024-10-13 09:47:54 -04:00
jshayes
7c639cdbbd
Add more tests
2024-10-13 00:41:04 -04:00
jshayes
a6cd83665c
Execute all parent beforeEach and afterEach functions for each test
2024-10-11 23:51:18 -04:00