PHP Class ParaTest\Runners\PHPUnit\BaseRunner

Afficher le fichier Open project: brianium/paratest Class Usage Examples

Protected Properties

Свойство Type Description
$coverage ParaTest\Coverage\CoverageMerger CoverageMerger to hold track of the accumulated coverage
$exitcode integer A tallied exit code that returns the highest exit code returned out of the entire collection of tests
$interpreter ParaTest\Logging\LogInterpreter
$options ParaTest\Runners\PHPUnit\Options
$pending array A collection of pending ExecutableTest objects that have yet to run
$printer ResultPrinter
$running array A collection of ExecutableTest objects that have processes currently running

Méthodes publiques

Méthode Description
__construct ( $opts = [] )
getExitCode ( ) : integer Returns the highest exit code encountered throughout the course of test execution
run ( )

Méthodes protégées

Méthode Description
getCoverage ( ) : CoverageMerger
hasCoverage ( ) : boolean
initCoverage ( )
load ( ) Builds the collection of pending ExecutableTest objects to run. If functional mode is enabled $this->pending will contain a collection of TestMethod objects instead of Suite objects
log ( ) Write output to JUnit format if requested
logCoverage ( ) Write coverage to file if requested
verifyConfiguration ( ) Ensures a valid configuration was supplied. If not causes ParaTest to print the error message and exit immediately with an exit code of 1

Method Details

__construct() public méthode

public __construct ( $opts = [] )

getCoverage() protected méthode

protected getCoverage ( ) : CoverageMerger
Résultat ParaTest\Coverage\CoverageMerger

getExitCode() public méthode

Returns the highest exit code encountered throughout the course of test execution
public getExitCode ( ) : integer
Résultat integer

hasCoverage() protected méthode

protected hasCoverage ( ) : boolean
Résultat boolean

initCoverage() protected méthode

protected initCoverage ( )

load() protected méthode

Builds the collection of pending ExecutableTest objects to run. If functional mode is enabled $this->pending will contain a collection of TestMethod objects instead of Suite objects
protected load ( )

log() protected méthode

Write output to JUnit format if requested
protected log ( )

logCoverage() protected méthode

Write coverage to file if requested
protected logCoverage ( )

run() public méthode

public run ( )

verifyConfiguration() protected méthode

Ensures a valid configuration was supplied. If not causes ParaTest to print the error message and exit immediately with an exit code of 1
protected verifyConfiguration ( )

Property Details

$coverage protected_oe property

CoverageMerger to hold track of the accumulated coverage
protected CoverageMerger,ParaTest\Coverage $coverage
Résultat ParaTest\Coverage\CoverageMerger

$exitcode protected_oe property

A tallied exit code that returns the highest exit code returned out of the entire collection of tests
protected int $exitcode
Résultat integer

$interpreter protected_oe property

protected LogInterpreter,ParaTest\Logging $interpreter
Résultat ParaTest\Logging\LogInterpreter

$options protected_oe property

protected Options,ParaTest\Runners\PHPUnit $options
Résultat ParaTest\Runners\PHPUnit\Options

$pending protected_oe property

A collection of pending ExecutableTest objects that have yet to run
protected array $pending
Résultat array

$printer protected_oe property

protected ResultPrinter,ParaTest\Runners\PHPUnit $printer
Résultat ResultPrinter

$running protected_oe property

A collection of ExecutableTest objects that have processes currently running
protected array $running
Résultat array