PHP 클래스 ParaTest\Runners\PHPUnit\BaseRunner

파일 보기 프로젝트 열기: brianium/paratest 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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