mirror of
https://github.com/pestphp/pest.git
synced 2026-12-06 15:52:16 +01:00
feat: let a shard unit bundle several test classes (#1829)
* feat: let a shard unit bundle several test classes Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix: own unknown shard units in every shard and clean up worker timings Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix: drop removed test classes from shard units and consume coverage option values Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix: preserve empty shard units and consume more option values in discovery Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ test('parallel', function () use ($run): void {
|
||||
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
|
||||
$profileOutput = $run('tests/Fixtures/Suites/SuccessOnly.php', '--profile');
|
||||
|
||||
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 30 skipped, 1767 passed (3815 assertions)';
|
||||
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 30 skipped, 1788 passed (3843 assertions)';
|
||||
|
||||
expect($output)
|
||||
->toContain("Tests: {$expected}")
|
||||
|
||||
Reference in New Issue
Block a user