PHP Class PhpBench\Tests\Unit\Benchmark\Remote\PayloadTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: dantleech/phpbench

Public Methods

Method Description
setUp ( )
testBinaryPath ( ) It should customize the PHP binary path.
testInvalidScript ( ) It should throw an exception if the script is invalid.
testLaunch ( ) It should generate a script from a given template, launch it and return the results.
testPhpConfig ( ) It should pass PHP ini settings to the PHP executable.
testTemplateNotFound ( ) It should throw an execption if a template is not found.
testWrap ( ) It should allow the PHP executable to be wrapped with a different executable.

Method Details

setUp() public method

public setUp ( )

testBinaryPath() public method

It should customize the PHP binary path.
public testBinaryPath ( )

testInvalidScript() public method

It should throw an exception if the script is invalid.
public testInvalidScript ( )

testLaunch() public method

It should generate a script from a given template, launch it and return the results.
public testLaunch ( )

testPhpConfig() public method

It should pass PHP ini settings to the PHP executable.
public testPhpConfig ( )

testTemplateNotFound() public method

It should throw an execption if a template is not found.

testWrap() public method

It should allow the PHP executable to be wrapped with a different executable.
public testWrap ( )