public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time) { $this->write('<span style="color:red">'); parent::addError($test, $e, $time); $this->write('</span>'); }