diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 915c56a6..94fbb5da 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -377,6 +377,9 @@ PASS Tests\Unit\TestSuite ✓ it does not allow to add the same test description twice + PASS Tests\Visual\Help + ✓ visual snapshot of help command output + PASS Tests\Visual\SingleTestOrDirectory ✓ allows to run a single test ✓ allows to run a directory @@ -394,5 +397,5 @@ ✓ depends with defined arguments ✓ depends run test only once - Tests: 7 skipped, 232 passed + Tests: 7 skipped, 233 passed \ No newline at end of file diff --git a/tests/Visual/Help.php b/tests/Visual/Help.php new file mode 100644 index 00000000..e1382461 --- /dev/null +++ b/tests/Visual/Help.php @@ -0,0 +1,13 @@ +run(); + + return $process->getOutput(); + }; + + expect($output())->toContain('Pest Options:'); +});