mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
14 lines
333 B
PHP
14 lines
333 B
PHP
<?php
|
|
|
|
test('visual snapshot of help command output', function () {
|
|
$output = function () {
|
|
$process = (new Symfony\Component\Process\Process(['php', 'bin/pest', '--help', '--colors=never']));
|
|
|
|
$process->run();
|
|
|
|
return $process->getOutput();
|
|
};
|
|
|
|
expect($output())->toContain('Pest Options:');
|
|
});
|