PhpBench\Tests\System\ReportTest::testNoReports PHP Method

testNoReports() public method

It should throw an exception if no reports are specified.
public testNoReports ( )
    public function testNoReports()
    {
        $process = $this->phpbench('report --file=results/report1.xml');
        $this->assertExitCode(1, $process);
        $this->assertContains('You must specify or con', $process->getErrorOutput());
    }