PHP Класс ParaTest\Runners\PHPUnit\BaseRunner

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__construct ( $opts = [] )
getExitCode ( ) : integer Returns the highest exit code encountered throughout the course of test execution
run ( )

Защищенные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

public __construct ( $opts = [] )

getCoverage() защищенный Метод

protected getCoverage ( ) : CoverageMerger
Результат ParaTest\Coverage\CoverageMerger

getExitCode() публичный Метод

Returns the highest exit code encountered throughout the course of test execution
public getExitCode ( ) : integer
Результат integer

hasCoverage() защищенный Метод

protected hasCoverage ( ) : boolean
Результат boolean

initCoverage() защищенный Метод

protected 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
protected load ( )

log() защищенный Метод

Write output to JUnit format if requested
protected log ( )

logCoverage() защищенный Метод

Write coverage to file if requested
protected logCoverage ( )

run() публичный Метод

public run ( )

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
protected verifyConfiguration ( )

Описание свойств

$coverage защищенное свойство

CoverageMerger to hold track of the accumulated coverage
protected CoverageMerger,ParaTest\Coverage $coverage
Результат ParaTest\Coverage\CoverageMerger

$exitcode защищенное свойство

A tallied exit code that returns the highest exit code returned out of the entire collection of tests
protected int $exitcode
Результат integer

$interpreter защищенное свойство

protected LogInterpreter,ParaTest\Logging $interpreter
Результат ParaTest\Logging\LogInterpreter

$options защищенное свойство

protected Options,ParaTest\Runners\PHPUnit $options
Результат ParaTest\Runners\PHPUnit\Options

$pending защищенное свойство

A collection of pending ExecutableTest objects that have yet to run
protected array $pending
Результат array

$printer защищенное свойство

protected ResultPrinter,ParaTest\Runners\PHPUnit $printer
Результат ResultPrinter

$running защищенное свойство

A collection of ExecutableTest objects that have processes currently running
protected array $running
Результат array