PHPUnit_TextUI_TestRunner
class PHPUnit_TextUI_TestRunner extends PHPUnit_Runner_BaseTestRunner (View source)
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
Constants
| STATUS_PASSED |
|
| STATUS_SKIPPED |
|
| STATUS_INCOMPLETE |
|
| STATUS_FAILURE |
|
| STATUS_ERROR |
|
| STATUS_RISKY |
|
| STATUS_WARNING |
|
| SUITE_METHODNAME |
|
| SUCCESS_EXIT |
|
| FAILURE_EXIT |
|
| EXCEPTION_EXIT |
|
Properties
| protected Filter | $codeCoverageFilter | ||
| protected PHPUnit_Runner_TestSuiteLoader | $loader | ||
| protected PHPUnit_TextUI_ResultPrinter | $printer | ||
| static protected bool | $versionStringPrinted |
Methods
getLoader()
Returns the loader to be used.
getTest(string $suiteClassName, string $suiteClassFile = '', mixed $suffixes = '')
Returns the Test corresponding to the given suite.
loadSuiteClass(string $suiteClassName, string $suiteClassFile = '')
Returns the loaded ReflectionClass for a suite name.
runFailed(string $message)
Override to define how to handle a failed loading of a test suite.
static PHPUnit_Framework_TestResult
createTestResult()
No description
write(string $buffer)
No description
handleConfiguration(array $arguments)
No description
Details
at line 713
PHPUnit_Runner_TestSuiteLoader
getLoader()
Returns the loader to be used.
PHPUnit_Framework_Test
getTest(string $suiteClassName, string $suiteClassFile = '', mixed $suffixes = '')
Returns the Test corresponding to the given suite.
This is a template method, subclasses override the runFailed() and clearStatus() methods.
protected ReflectionClass
loadSuiteClass(string $suiteClassName, string $suiteClassFile = '')
Returns the loaded ReflectionClass for a suite name.
protected
clearStatus()
Clears the status message.
at line 686
protected
runFailed(string $message)
Override to define how to handle a failed loading of a test suite.