PHP Класс PhpBench\Tests\Benchmark\RunnerTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

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

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