'DefaultPrinter', 'COLLISION_IGNORE_DURATION' => 'true'], ); $process->run(); expect($process->getExitCode())->toBe(0); $outputContent = preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $process->getOutput()); return $outputContent; }; $snapshot = function ($name) { $testsPath = dirname(__DIR__); return file_get_contents(implode(DIRECTORY_SEPARATOR, [ $testsPath, '.snapshots', "$name.txt", ])); }; test('todos', function () use ($run, $snapshot) { expect($run('--todos', false))->toContain($snapshot('todos')); })->skipOnWindows(); test('todos in parallel', function () use ($run, $snapshot) { expect($run('--todos', true))->toContain($snapshot('todos')); })->skipOnWindows()->skip('Waiting for Parallel to be stable'); test('todo', function () use ($run, $snapshot) { expect($run('--todo', false))->toContain($snapshot('todo')); })->skipOnWindows(); test('todo in parallel', function () use ($run, $snapshot) { expect($run('--todo', true))->toContain($snapshot('todo')); })->skipOnWindows()->skip('Waiting for Parallel to be stable');