CakeTestSuiteDispatcher handles web requests to the test suite and runs the correct action.
_checkPHPUnit( )
Checks that PHPUnit is installed. Will exit if it doesn't
_checkXdebug( )
Checks for the xdebug extension required to do code coverage. Displays an error if xdebug isn't installed.
_testCaseList( )
Generates a page containing the a list of test cases that could be run.
date( string $format )
Returns formatted date string using static time This method is being used as formatter for created, modified and updated fields in Model::save()
$format
string
loadTestFramework( )
Checks for the existence of the test framework files
boolean
run( )
Static method to initialize the test runner, keeps global space clean
setParams( array $params )
Sets the params, calling this will bypass the auto parameter parsing.
$params
time( boolean $reset false )
Sets a static timestamp
$reset
optional false integer
© 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-CakeTestSuiteDispatcher.html