public function printFeedback(ExecutableTest $test)
{
try {
$reader = new Reader($test->getTempFile());
} catch (\InvalidArgumentException $e) {
throw new \RuntimeException(sprintf("%s\n" . "The process: %s\n" . "This means a PHPUnit process was unable to run \"%s\"\n", $e->getMessage(), $test->getLastCommand(), $test->getPath()));
}
if (!$reader->hasResults()) {
throw new \RuntimeException(sprintf("The process: %s\nLog file \"%s\" is empty.\n" . "This means a PHPUnit process was unable to run \"%s\"\n" . "Maybe there is more than one class in this file.", $test->getLastCommand(), $test->getTempFile(), $test->getPath()));
}
$this->results->addReader($reader);
$this->processReaderFeedback($reader, $test->getTestCount());
$this->printTestWarnings($test);
}