PhpBench\Extensions\XDebug\Tests\System\TraceCommandTest::testCommand PHP Метод

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

It should show the default (simple) report.
public testCommand ( )
    public function testCommand()
    {
        $process = $this->phpbench('xdebug:trace benchmarks/set1/BenchmarkBench.php --filter=benchDoNothing');
        $this->assertExitCode(0, $process);
        $this->assertContains('Time inc', $process->getOutput());
    }