public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time) { if ($this->debug) { return parent::addError($test, $e, $time); } $this->writeProgress('fail'); $this->lastTestFailed = TRUE; }