Class CakeTestSuiteCommand
Class to customize loading of test suites from CLI
- PHPUnit_TextUI_Command
- CakeTestSuiteCommand
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/CakeTestSuiteCommand.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/CakeTestSuiteCommand.php
Method Summary
-
__construct() public
Construct method -
getRunner() public
Create a runner for the command. -
handleFixture() public
Handler for customizing the FixtureManager class/ -
handleReporter() public
Handles output flag used to change printing on webrunner. -
run() public
Ugly hack to get around PHPUnit having a hard coded classname for the Runner. :(
Method Detail
__construct() public ¶
__construct( array $loader , $params = array() )
Construct method
Parameters
- array $loader
- $params list of options to be used for this run
- $params optional array()
getRunner() public ¶
getRunner( $loader )
Create a runner for the command.
Parameters
- $loader
- loader to be used for the test run.
Returns
handleFixture() public ¶
handleFixture( string $class )
Handler for customizing the FixtureManager class/
Parameters
- string $class
- Name of the class that will be the fixture manager
handleReporter() public ¶
handleReporter( $reporter )
Handles output flag used to change printing on webrunner.