Class CakeTestSuiteCommand
Class to customize loading of test suites from CLI
- PHPUnit_TextUI_Command
- CakeTestSuiteCommand
Package: Cake\TestSuite
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/TestSuite/CakeTestSuiteCommand.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
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( mixed $loader , array $params = array() )
Construct method
Parameters
- mixed $loader
- array $params optional array()
- list of options to be used for this run
Throws
getRunner() public ¶
getRunner( mixed $loader )
Create a runner for the command.
Parameters
- mixed $loader
- The 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( string $reporter )
Handles output flag used to change printing on webrunner.
Parameters
- string $reporter