Class CakeTestRunner
A custom test runner for Cake's use of PHPUnit.
- PHPUnit_TextUI_TestRunner
- CakeTestRunner
Package: Cake\TestSuite
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/TestSuite/CakeTestRunner.php
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/TestSuite/CakeTestRunner.php
Method Summary
-
__construct() public
Lets us pass in some options needed for cake's webrunner. -
_getFixtureManager() protected
Get the fixture manager class specified or use the default one. -
createTestResult() protected
Create the test result and splice on our code coverage reports. -
doRun() public
Actually run a suite of tests. Cake initializes fixtures here using the chosen fixture manager
Method Detail
__construct() public ¶
__construct( $loader , $params )
Lets us pass in some options needed for cake's webrunner.
_getFixtureManager() protected ¶
_getFixtureManager( $arguments )
Get the fixture manager class specified or use the default one.
Returns
instance
of a fixture manager.
of a fixture manager.
createTestResult() protected ¶
createTestResult( )
Create the test result and splice on our code coverage reports.
Returns
PHPUnit_Framework_TestResult