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