PHP Interface PHPUnit\Runner\CleverAndSmart\Storage\StorageInterface

Exibir arquivo Open project: lstrojny/phpunit-clever-and-smart Interface Usage Examples

Public Methods

Method Description
getRecordings ( array $types, boolean $includeTime = true ) : array Fetch records, filtered by type. Use the StorageInterface::STATUS_* constants to define the type.
record ( Run $run, PHPUnit_Framework_TestCase $test, float $time, integer $status ) : void Record a test run

Method Details

getRecordings() public method

Fetch records, filtered by type. Use the StorageInterface::STATUS_* constants to define the type.
public getRecordings ( array $types, boolean $includeTime = true ) : array
$types array Types to filter
$includeTime boolean Flag whether the result time should also be fetched
return array

record() public method

Record a test run
public record ( Run $run, PHPUnit_Framework_TestCase $test, float $time, integer $status ) : void
$run PHPUnit\Runner\CleverAndSmart\Run
$test PHPUnit_Framework_TestCase
$time float
$status integer
return void