PHP Class PhpBench\Tests\Unit\Benchmark\Executor\MicrotimeExecutorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: dantleech/phpbench

Méthodes publiques

Méthode Description
setUp ( )
tearDown ( )
testExecute ( ) It should create a script which benchmarks the code and returns the time taken and the memory used.
testExecuteAfter ( ) It should execute methods after the benchmark subject.
testExecuteBefore ( ) It should execute methods before the benchmark subject.
testExecuteMethods ( ) It should execute arbitrary methods on the benchmark class.
testParameters ( ) It should pass parameters to the benchmark method.
testParametersBeforeSubject ( ) It should pass parameters to the before metadata and after metadata methods.
testRepressOutput ( ) It should prevent output from the benchmarking class.

Private Methods

Méthode Description
removeTemporaryFiles ( )

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testExecute() public méthode

It should create a script which benchmarks the code and returns the time taken and the memory used.
public testExecute ( )

testExecuteAfter() public méthode

It should execute methods after the benchmark subject.
public testExecuteAfter ( )

testExecuteBefore() public méthode

It should execute methods before the benchmark subject.
public testExecuteBefore ( )

testExecuteMethods() public méthode

It should execute arbitrary methods on the benchmark class.
public testExecuteMethods ( )

testParameters() public méthode

It should pass parameters to the benchmark method.
public testParameters ( )

testParametersBeforeSubject() public méthode

It should pass parameters to the before metadata and after metadata methods.

testRepressOutput() public méthode

It should prevent output from the benchmarking class.
public testRepressOutput ( )