abstract class (none) \ PHPUnit_Runner_BaseTestRunner

All known direct subclasses:
PHPUnit_TextUI_TestRunner

Base class for all test runners.


Method Summary

Name Description
clearStatus()Clears the status message.
getLoader()Returns the loader to be used.
getTest($suiteClassName, $suiteClassFile = "", $suffixes = "")Returns the Test corresponding to the given suite. This is a template method, subclasses override the runFailed() and clearStatus() methods.
loadSuiteClass($suiteClassName, $suiteClassFile = "")Returns the loaded ReflectionClass for a suite name.
runFailed($message)Override to define how to handle a failed loading of a test suite.

protected function clearStatus()

Clears the status message.


public function getLoader()

Returns the loader to be used.

Returns:
PHPUnit_Runner_TestSuiteLoader

public function getTest($suiteClassName, $suiteClassFile = "", $suffixes = "")

Returns the Test corresponding to the given suite. This is a template method, subclasses override the runFailed() and clearStatus() methods.

Parameters:
string - $suiteClassFile
mixed - $suffixes
Defaults:
suiteClassFile = ""
suffixes = ""
Returns:
PHPUnit_Framework_Test

protected function loadSuiteClass($suiteClassName, $suiteClassFile = "")

Returns the loaded ReflectionClass for a suite name.

Parameters:
string - $suiteClassFile
Defaults:
suiteClassFile = ""
Returns:
ReflectionClass

protected abstract function runFailed($message)

Override to define how to handle a failed loading of a test suite.

Parameters:
string - $message