PhpBench\Tests\System\ShowTest::testDefaultReport PHP Method

testDefaultReport() public method

It should show a report for a specific run.
public testDefaultReport ( )
    public function testDefaultReport()
    {
        $document = $this->createResult(null, ' --store');
        $uuid = $document->evaluate('string(./suite/@uuid)');
        $process = $this->phpbench('show ' . $uuid);
        $this->assertExitCode(0, $process);
        $output = $process->getOutput();
        $this->assertContains(<<<'EOT'
+--------------+--------------+--------+--------+------+-----+----------+----------+----------+----------+----------+---------+--------+-------+
| benchmark    | subject      | groups | params | revs | its | mem_peak | best     | mean     | mode     | worst    | stdev   | rstdev | diff  |
+--------------+--------------+--------+--------+------+-----+----------+----------+----------+----------+----------+---------+--------+-------+
| NothingBench | benchNothing |        | []     | 1    | 1   | 100b     | 10.000μs | 10.000μs | 10.000μs | 10.000μs | 0.000μs | 0.00%  | 0.00% |
+--------------+--------------+--------+--------+------+-----+----------+----------+----------+----------+----------+---------+--------+-------+
EOT
, $output);
    }