feat: note()

This commit is contained in:
Nuno Maduro
2024-06-27 01:26:54 +01:00
parent d9252e85d6
commit 5c3bf469d5
10 changed files with 118 additions and 3 deletions

View File

@ -123,6 +123,9 @@ final class Help implements HandlesArguments
], [
'arg' => '--todos',
'desc' => 'Output to standard output the list of todos',
], [
'arg' => '--notes',
'desc' => 'Output to standard output tests with notes',
], [
'arg' => '--retry',
'desc' => 'Run non-passing tests first and stop execution upon first error or failure',

View File

@ -34,7 +34,7 @@ final class Parallel implements HandlesArguments
/**
* @var string[]
*/
private const UNSUPPORTED_ARGUMENTS = ['--todo', '--todos', '--retry'];
private const UNSUPPORTED_ARGUMENTS = ['--todo', '--todos', '--retry', '--notes'];
/**
* Whether the given command line arguments indicate that the test suite should be run in parallel.
@ -42,6 +42,7 @@ final class Parallel implements HandlesArguments
public static function isEnabled(): bool
{
$argv = new ArgvInput();
if ($argv->hasParameterOption('--parallel')) {
return true;
}