Fix parallel file selection and empty-suite reporting

This commit is contained in:
Aleksandr Štšepelin
2026-03-25 23:59:28 +02:00
parent e6ab897594
commit 07737bc0b2
5 changed files with 151 additions and 10 deletions

View File

@ -171,6 +171,14 @@ final class ResultPrinter
$state = (new StateGenerator)->fromPhpUnitTestResult($this->passedTests, $testResult);
if ($testResult->numberOfTestsRun() === 0 && $state->testSuiteTestsCount() === 0) {
$this->output->writeln([
'',
' <fg=white;options=bold;bg=blue> INFO </> No tests found.',
'',
]);
}
$this->compactPrinter->errors($state);
$this->compactPrinter->recap($state, $testResult, $duration, $this->options);
}