• internal This class is not covered by the backward compatibility promise for PHPUnit
Abstract
Constants
public PHPUnit\Runner\BaseTestRunner::STATUS_ERROR = 4
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_FAILURE = 3
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_INCOMPLETE = 2
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_PASSED = 0
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_RISKY = 5
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_SKIPPED = 1
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_UNKNOWN = -1
 


  • var int
public PHPUnit\Runner\BaseTestRunner::STATUS_WARNING = 6
 


  • var int
public PHPUnit\Runner\BaseTestRunner::SUITE_METHODNAME = 'suite'
 


  • var string
Methods
public getLoader() : PHPUnit\Runner\TestSuiteLoader
 
Returns the loader to be used.

public getTest(string $suiteClassName, string $suiteClassFile = '', $suffixes = '') : PHPUnit\Framework\Test
 
Returns the Test corresponding to the given suite.

This is a template method, subclasses override the runFailed() and clearStatus() methods.

Methods
protected clearStatus() : void
 
Clears the status message.

protected loadSuiteClass(string $suiteClassName, string $suiteClassFile = '') : ReflectionClass
 
Returns the loaded ReflectionClass for a suite name.

protected abstract runFailed(string $message) : void
 
Override to define how to handle a failed loading of a test suite.

© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only