PhpBench\Tests\Unit\Benchmark\Remote\LauncherTest::testLiveExecute PHP Method

testLiveExecute() public method

It should generate a script from a given template, launch it and return the results.
public testLiveExecute ( )
    public function testLiveExecute()
    {
        $launcher = $this->createLiveLauncher();
        $result = $launcher->payload(__DIR__ . '/template/foo.template', ['foo' => 'bar'])->launch();
        $this->assertEquals(['foo' => 'bar'], $result);
    }