release: v4.6.0

This commit is contained in:
nuno maduro
2026-04-14 10:22:45 -07:00
parent eeab24e2bb
commit 4e03cd3edb
4 changed files with 7 additions and 3 deletions

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '4.4.4';
return '4.6.0';
}
function testDirectory(string $file = ''): string

View File

@ -142,6 +142,10 @@ final class Shard implements AddsOutput, HandlesArguments, Terminable
'testsCount' => count($tests),
];
if ($testsToRun === []) {
return $arguments;
}
return [...$arguments, '--filter', $this->buildFilterArgument($testsToRun)];
}