PHPUnit\Runner\CleverAndSmart\Storage\StorageInterface::record PHP Метод

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

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
Результат void
    public function record(Run $run, TestCase $test, $time, $status);

Usage Example

 public function onCancel()
 {
     if (!$this->currentTest) {
         return;
     }
     $this->storage->record($this->run, $this->currentTest, 0, StorageInterface::STATUS_CANCEL);
     exit(1);
 }
StorageInterface