NyanCat\PHPUnit\ResultPrinter::addFailure PHP Method

addFailure() public method

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