PHP Class NyanCat\PHPUnit\ResultPrinter

.. -_-_-_-_,------, -_-_-_-_| /\_/\ -_-_-_-^|__( ^ .^) -_-_-_- "" ""
Author: Jeff Welch ([email protected])
Inheritance: extends PHPUnit_TextUI_ResultPrinter
Show file Open project: whatthejeff/nyancat-phpunit-resultprinter

Public Methods

Method Description
__construct ( $out = NULL, $verbose = FALSE, $colors = FALSE, $debug = FALSE )
addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
endTest ( PHPUnit_Framework_Test $test, $time )
startTestSuite ( PHPUnit_Framework_TestSuite $suite )

Protected Methods

Method Description
printHeader ( )
writeProgress ( $progress )

Method Details

__construct() public method

public __construct ( $out = NULL, $verbose = FALSE, $colors = FALSE, $debug = FALSE )

addError() public method

public addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addFailure() public method

public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError

addIncompleteTest() public method

public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addSkippedTest() public method

public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

endTest() public method

public endTest ( PHPUnit_Framework_Test $test, $time )
$test PHPUnit_Framework_Test

printHeader() protected method

protected printHeader ( )

startTestSuite() public method

public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

writeProgress() protected method

protected writeProgress ( $progress )