mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: adds --parallel option to help
This commit is contained in:
@ -102,6 +102,13 @@ final class Help implements HandlesArguments
|
|||||||
'desc' => 'Initialise a standard Pest configuration',
|
'desc' => 'Initialise a standard Pest configuration',
|
||||||
]], ...$content['Configuration']];
|
]], ...$content['Configuration']];
|
||||||
|
|
||||||
|
$content['Execution'] = [...[
|
||||||
|
[
|
||||||
|
'arg' => '--parallel',
|
||||||
|
'desc' => 'Run tests in parallel',
|
||||||
|
],
|
||||||
|
], ...$content['Execution']];
|
||||||
|
|
||||||
$content['Selection'] = array_merge([
|
$content['Selection'] = array_merge([
|
||||||
[
|
[
|
||||||
'arg' => '--bail',
|
'arg' => '--bail',
|
||||||
|
|||||||
@ -33,6 +33,7 @@
|
|||||||
--test-suffix [suffixes] Only search for test in files with specified suffix(es). Default: Test.php,.phpt
|
--test-suffix [suffixes] Only search for test in files with specified suffix(es). Default: Test.php,.phpt
|
||||||
|
|
||||||
EXECUTION OPTIONS:
|
EXECUTION OPTIONS:
|
||||||
|
--parallel ........................................... Run tests in parallel
|
||||||
--process-isolation ................ Run each test in a separate PHP process
|
--process-isolation ................ Run each test in a separate PHP process
|
||||||
--globals-backup ................. Backup and restore $GLOBALS for each test
|
--globals-backup ................. Backup and restore $GLOBALS for each test
|
||||||
--static-backup ......... Backup and restore static properties for each test
|
--static-backup ......... Backup and restore static properties for each test
|
||||||
|
|||||||
Reference in New Issue
Block a user