public function afterFeature(AfterFeatureTested $event) { $this->updateStats("features", $event->getTestResult()->getResultCode()); $this->features[] = new Feature($event, $this->scenarios, $this->background); $this->scenarios = array(); $this->background = null; }
/** * @param AfterFeatureTested $event */ public function onAfterFeatureTested(AfterFeatureTested $event) { $this->printEvent("testSuiteFinished", array('name' => $event->getFeature()->getTitle())); }