PhpBench\Extensions\XDebug\Tests\System\ProfileCommandTest::testGui PHP Метод

testGui() публичный Метод

It should launch a gui.
public testGui ( )
    public function testGui()
    {
        $env = getenv('PATH');
        putenv('PATH=' . $env . ':' . __DIR__ . '/bin');
        $process = $this->phpbench('xdebug:profile benchmarks/set1/BenchmarkBench.php --gui --gui-bin=foogrind');
        putenv('PATH=' . $env);
        $this->assertExitCode(0, $process);
    }