private function testIsStillRunning($test) { if (!$test->isDoneRunning()) { return true; } $this->setExitCode($test); $test->stop(); if ($this->options->stopOnFailure && $test->getExitCode() > 0) { $this->pending = array(); } if (static::PHPUNIT_FATAL_ERROR === $test->getExitCode()) { $errorOutput = $test->getStderr(); if (!$errorOutput) { $errorOutput = $test->getStdout(); } throw new \Exception($errorOutput); } $this->printer->printFeedback($test); if ($this->hasCoverage()) { $this->addCoverage($test); } return false; }