コード例 #1
0
 /**
  * @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);
 }
コード例 #2
0
 /**
  * @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);*/
 }