\PHPUnit_Runner_BaseTestRunner

Base class for all test runners.

Synopsis

class PHPUnit_Runner_BaseTestRunner {
  • // constants
  • const STATUS_PASSED = 0;
  • const STATUS_SKIPPED = 1;
  • const STATUS_INCOMPLETE = 2;
  • const STATUS_FAILURE = 3;
  • const STATUS_ERROR = 4;
  • const STATUS_RISKY = 5;
  • const SUITE_METHODNAME = 'suite';
}

Hierarchy

Violations

Checkstyle

Line Column Severity Message
93 34 error Only one argument is allowed per line in a multi-line function call
104 34 error Only one argument is allowed per line in a multi-line function call

Constants

Name Value
STATUS_PASSED 0
STATUS_SKIPPED 1
STATUS_INCOMPLETE 2
STATUS_FAILURE 3
STATUS_ERROR 4
STATUS_RISKY 5
SUITE_METHODNAME 'suite'

Methods

protected

  • clearStatus() — Clears the status message.
  • loadSuiteClass() — Returns the loaded ReflectionClass for a suite name.
  • runFailed() — Override to define how to handle a failed loading of a test suite.

public

  • getLoader() — Returns the loader to be used.
  • getTest() — Returns the Test corresponding to the given suite.

History