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

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

Public Methods

Method Description
setUp ( )
testInvalidBootstrap ( ) It should throw an exception if the bootstrap file does not exist.
testLiveExecute ( ) It should generate a script from a given template, launch it and return the results.
testPassSettingsToPayload ( ) It should pass the wrapper, ini settings and php-binary to the payload.

Private Methods

Method Description
createLiveLauncher ( )

Method Details

setUp() public method

public setUp ( )

testInvalidBootstrap() public method

It should throw an exception if the bootstrap file does not exist.

testLiveExecute() public method

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

testPassSettingsToPayload() public method

It should pass the wrapper, ini settings and php-binary to the payload.