PHP Class PhpBench\Tests\System\ReportTest

Inheritance: extends SystemTestCase
Datei anzeigen Open project: dantleech/phpbench

Public Methods

Method Description
provideGenerators ( )
provideOutputs ( )
testGenerateReport ( ) It should generate a report.
testGenerateReportFromUuid ( ) It should generate a report when given the --uuid option.
testGenerators ( $config ) The core report generators should execute.
testNoReports ( ) It should throw an exception if no reports are specified.
testNonExistingFile ( ) It should throw an exception if the report file does not exist.
testOutputs ( $output ) It should generate in different output formats.
testTimeUnitOverride ( ) It should allow the mode, precision and time-unit to be specified.

Method Details

provideGenerators() public method

public provideGenerators ( )

provideOutputs() public method

public provideOutputs ( )

testGenerateReport() public method

It should generate a report.
public testGenerateReport ( )

testGenerateReportFromUuid() public method

It should generate a report when given the --uuid option.

testGenerators() public method

The core report generators should execute.
public testGenerators ( $config )

testNoReports() public method

It should throw an exception if no reports are specified.
public testNoReports ( )

testNonExistingFile() public method

It should throw an exception if the report file does not exist.
public testNonExistingFile ( )

testOutputs() public method

It should generate in different output formats.
public testOutputs ( $output )

testTimeUnitOverride() public method

It should allow the mode, precision and time-unit to be specified.