/** * @param BeforeSuiteTested $event */ public function onBeforeSuiteTested(BeforeSuiteTested $event) { $this->currentSuite = new Suite(); $this->currentSuite->setName($event->getSuite()->getName()); $print = $this->renderer->renderBeforeSuite($this); $this->printer->writeln($print); }
/** * @param BeforeSuiteTested $event */ public function onBeforeSuiteTested(BeforeSuiteTested $event) { $this->currentSuite = new Suite(); $this->currentSuite->setName($event->getSuite()->getName()); $this->getCurrentFeature(); $print = $this->renderer->renderBeforeSuite($this); /*Old logic, commet as tag for current suite noy used in index file*/ /* $this->printer->writeln($print);*/ }