jelix_TextUI_Command
extends Command
in package
Command for PHPUnit, that load tests classes from the `tests` directory of each modules.
It is deprecated, prefer to put your unit tests classes into a single directory for PHPUnit, outside modules.
Tags
Table of Contents
- $entryPoint : mixed
- $testType : mixed
- __construct() : mixed
- main() : int
- createRunner() : TestRunner
- getAllModulesTestSuites() : mixed
- getModuleTestSuite() : mixed
- handleCustomTestSuite() : void
- showHelp() : void
- showMessage() : mixed
Properties
$entryPoint
protected
mixed
$entryPoint
= 'index'
Tags
$testType
protected
mixed
$testType
= ''
Tags
Methods
__construct()
public
__construct() : mixed
Tags
Return values
mixed —main()
public
static main([bool $exit = true ]) : int
Parameters
- $exit : bool = true
Tags
Return values
int —createRunner()
protected
createRunner() : TestRunner
Tags
Return values
TestRunner —getAllModulesTestSuites()
protected
getAllModulesTestSuites(GlobalSetup $globalSetup) : mixed
Parameters
- $globalSetup : GlobalSetup
Tags
Return values
mixed —getModuleTestSuite()
protected
getModuleTestSuite(GlobalSetup $globalSetup, mixed $module[, mixed $testFile = '' ]) : mixed
Parameters
- $globalSetup : GlobalSetup
- $module : mixed
- $testFile : mixed = ''
Tags
Return values
mixed —handleCustomTestSuite()
protected
handleCustomTestSuite() : void
Tags
Return values
void —showHelp()
protected
showHelp() : void
Tags
Return values
void —showMessage()
protected
showMessage(mixed $message) : mixed
Parameters
- $message : mixed