chore(cleanup): Tidy-up and tweaks of Pest Parallel integration.

This commit is contained in:
Luke Downing
2023-02-13 11:13:17 +00:00
parent 5ca4c5bca9
commit 69afb31bb9
6 changed files with 54 additions and 6 deletions

View File

@ -22,6 +22,7 @@ final class Parallel implements HandlesArguments
'--parallel',
'-p',
'--no-output',
'--cache-result',
];
/**

View File

@ -152,8 +152,6 @@ final class ResultPrinter
return;
}
$this->compactPrinter->newLine();
$state = (new StateGenerator())->fromPhpUnitTestResult($testResult);
$this->compactPrinter->errors($state);

View File

@ -34,6 +34,7 @@ final class CompactPrinter
private const LOOKUP_TABLE = [
'.' => ['gray', '.'],
'S' => ['yellow', 's'],
'T' => ['blue', 't'],
'I' => ['yellow', 'i'],
'N' => ['yellow', 'i'],
'R' => ['yellow', '!'],