CakeBaseReporter contains common reporting features used in the CakePHP Test suite
__construct( string $charset 'utf-8' , array $params array() )
Does nothing yet. The first output will be sent on the first test start.
$charset
optional 'utf-8' $params
optional array() addError( PHPUnit_Framework_Test $test , Exception $e , float $time )
An error occurred.
$test
$e
$time
addFailure( PHPUnit_Framework_Test $test , PHPUnit_Framework_AssertionFailedError $e , float $time )
A failure occurred.
$test
$e
$time
addIncompleteTest( PHPUnit_Framework_Test $test , Exception $e , float $time )
Incomplete test.
$test
$e
$time
addSkippedTest( PHPUnit_Framework_Test $test , Exception $e , float $time )
Skipped test.
$test
$e
$time
baseUrl( )
Get the baseUrl if one is available.
string
endTest( PHPUnit_Framework_Test $test , float $time )
A test ended.
$test
$time
endTestSuite( PHPUnit_Framework_TestSuite $suite )
A test suite ended.
$suite
paintDocumentEnd( )
Paints the end of the response from the test suite. Used to paint things like </body> in an html page.
paintDocumentStart( )
Paints the start of the response from the test suite. Used to paint things like head elements in an html page.
paintResult( PHPUnit_Framework_TestResult $result )
Paint result
$result
paintTestMenu( )
Paint a list of test sets, core, app, and plugin test sets available.
printResult( PHPUnit_Framework_TestResult $result )
Print result
$result
startTest( PHPUnit_Framework_Test $test )
A test started.
$test
startTestSuite( PHPUnit_Framework_TestSuite $suite )
A test suite started.
$suite
testCaseList( )
Retrieves a list of test cases from the active Manager class, displaying it in the correct format for the reporter subclass
mixed
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/class-CakeBaseReporter.html