コード例 #1
0
ファイル: Module.php プロジェクト: lenninsanchez/donadores
 public function afterStep(\Codeception\Event\Step $e)
 {
     foreach (\Codeception\SuiteManager::$modules as $module) {
         $module->_afterStep($e->getStep(), $e->getTest());
     }
 }
コード例 #2
0
ファイル: Console.php プロジェクト: NaszvadiG/ImageCMS
 public function afterStep(\Codeception\Event\Step $e)
 {
     if (!$this->debug) {
         return;
     }
     if ($output = $e->getStep()->pullDebugOutput()) {
         $this->output->debug($output);
     }
 }
コード例 #3
0
ファイル: Console.php プロジェクト: lenninsanchez/donadores
 public function beforeStep(\Codeception\Event\Step $e)
 {
     if (!$this->steps or !$e->getTest() instanceof ScenarioDriven) {
         return;
     }
     $this->output->writeln("* " . $e->getStep());
 }
コード例 #4
0
ファイル: Logger.php プロジェクト: lenninsanchez/donadores
 public function beforeStep(\Codeception\Event\Step $e)
 {
     $this->logger->info($e->getStep()->getHumanizedAction());
 }
コード例 #5
0
ファイル: Console.php プロジェクト: BatVane/Codeception
 public function afterStep(\Codeception\Event\Step $e)
 {
     if (!$this->debug) {
         return;
     }
     $step = $e->getStep();
     $action = $step->getAction();
     $activeModule = \Codeception\SuiteManager::$modules[\Codeception\SuiteManager::$actions[$action]];
     if ($output = $activeModule->_getDebugOutput()) {
         $this->output->debug($output);
     }
 }