diff --git a/src/Plugins/Help.php b/src/Plugins/Help.php index 22f1c9eb..1bb9a9cb 100644 --- a/src/Plugins/Help.php +++ b/src/Plugins/Help.php @@ -102,6 +102,13 @@ final class Help implements HandlesArguments 'desc' => 'Initialise a standard Pest configuration', ]], ...$content['Configuration']]; + $content['Execution'] = [...[ + [ + 'arg' => '--parallel', + 'desc' => 'Run tests in parallel', + ], + ], ...$content['Execution']]; + $content['Selection'] = array_merge([ [ 'arg' => '--bail', diff --git a/tests/.snapshots/help-command.txt b/tests/.snapshots/help-command.txt index 2ebc633d..29a62394 100644 --- a/tests/.snapshots/help-command.txt +++ b/tests/.snapshots/help-command.txt @@ -33,6 +33,7 @@ --test-suffix [suffixes] Only search for test in files with specified suffix(es). Default: Test.php,.phpt EXECUTION OPTIONS: + --parallel ........................................... Run tests in parallel --process-isolation ................ Run each test in a separate PHP process --globals-backup ................. Backup and restore $GLOBALS for each test --static-backup ......... Backup and restore static properties for each test