PHP 클래스 PhpBench\Tests\Benchmark\RunnerTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
provideRunner ( )
setUp ( )
testBeforeAndAfterClass ( ) It should call the before and after class methods.
testEnvironment ( ) It should add environmental information to the DOM.
testHandleExceptions ( ) It should handle exceptions thrown by the executor.
testOverrideThings ( ) It should allow the sleep value to be overridden.
testRetryThreshold ( ) It should serialize the retry threshold.
testRunner ( $iterations, $revs, array $parameters, $assertionCallbacks ) It should run the tests.
testSkip ( ) It should skip subjects that should be skipped.
testSleep ( ) It should set the sleep attribute in the DOM.
testWarmup ( ) It should set the warmup attribute in the DOM.

비공개 메소드들

메소드 설명
assertNoErrors ( Suite $suite )
loadIterationResultCallback ( array $times = ['10'] )

메소드 상세

provideRunner() 공개 메소드

public provideRunner ( )

setUp() 공개 메소드

public setUp ( )

testBeforeAndAfterClass() 공개 메소드

It should call the before and after class methods.

testEnvironment() 공개 메소드

It should add environmental information to the DOM.
public testEnvironment ( )

testHandleExceptions() 공개 메소드

It should handle nested exceptions.

testOverrideThings() 공개 메소드

It should allow the warmup value to be overridden. It should allow the revs value to be overridden. It should allow the retry threshold value to be overridden.
public testOverrideThings ( )

testRetryThreshold() 공개 메소드

It should serialize the retry threshold.
public testRetryThreshold ( )

testRunner() 공개 메소드

- With 1 iteration, 1 revolution - With 1 iteration, 4 revolutions
public testRunner ( $iterations, $revs, array $parameters, $assertionCallbacks )
$parameters array

testSkip() 공개 메소드

It should skip subjects that should be skipped.
public testSkip ( )

testSleep() 공개 메소드

It should set the sleep attribute in the DOM.
public testSleep ( )

testWarmup() 공개 메소드

It should set the warmup attribute in the DOM.
public testWarmup ( )