PhpBench\Tests\System\ReportTest::testGenerateReportFromUuid PHP Метод

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

It should generate a report when given the --uuid option.
    public function testGenerateReportFromUuid()
    {
        $dom = $this->createResult(null, ' --store');
        $uuid = $dom->evaluate('string(./suite/@uuid)');
        $process = $this->phpbench('report --uuid=' . $uuid . ' --report=default');
        $this->assertEquals(0, $process->getExitCode());
        $output = $process->getOutput();
        $this->assertContains('benchNothing', $output);
    }