feat: add '--only-covered' option to '--coverage'

This commit is contained in:
SimonBroekaert
2026-02-06 11:45:52 +01:00
parent 3a4329ddc7
commit c3620840b4
3 changed files with 25 additions and 3 deletions

View File

@ -160,6 +160,12 @@ final readonly class Help implements HandlesArguments
], [
'arg' => '--coverage --min',
'desc' => 'Set the minimum required coverage percentage, and fail if not met',
], [
'arg' => '--coverage --exactly',
'desc' => 'Set the exact required coverage percentage, and fail if not met',
], [
'arg' => '--coverage --only-covered',
'desc' => 'Hide files with 0% coverage from the code coverage report',
], ...$content['Code Coverage']];
$content['Mutation Testing'] = [[