PHPUnit_Runner_BaseTestRunner
class PHPUnit_Runner_BaseTestRunner (View source)
Base class for all test runners.
Constants
STATUS_PASSED |
|
STATUS_SKIPPED |
|
STATUS_INCOMPLETE |
|
STATUS_FAILURE |
|
STATUS_ERROR |
|
STATUS_RISKY |
|
STATUS_WARNING |
|
SUITE_METHODNAME |
|
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.
clearStatus()
Clears the status message.
runFailed(string $message)
Override to define how to handle a failed loading of a test suite.
Details
at line 30
PHPUnit_Runner_TestSuiteLoader
getLoader()
Returns the loader to be used.
at line 46
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.
at line 118
protected ReflectionClass
loadSuiteClass(string $suiteClassName, string $suiteClassFile = '')
Returns the loaded ReflectionClass for a suite name.
at line 128
protected
clearStatus()
Clears the status message.
at line 138
abstract protected
runFailed(string $message)
Override to define how to handle a failed loading of a test suite.