コード例 #1
0
 public function run(PHPUnit\Runner $runner, \PHPUnit_Framework_TestResult $result, $options)
 {
     $this->dispatcher->dispatch(Events::SUITE_BEFORE, new Event\SuiteEvent($this->suite, $result, $this->settings));
     $runner->doEnhancedRun($this->suite, $result, $options);
     $this->dispatcher->dispatch(Events::SUITE_AFTER, new Event\SuiteEvent($this->suite, $result, $this->settings));
 }
コード例 #2
0
ファイル: SuiteManager.php プロジェクト: NaszvadiG/ImageCMS
 public function run(\Codeception\PHPUnit\Runner $runner, \PHPUnit_Framework_TestResult $result, $options)
 {
     $this->dispatcher->dispatch('suite.before', new Event\Suite($this->suite, $result, $this->settings));
     $runner->doEnhancedRun($this->suite, $result, $options);
     $this->dispatcher->dispatch('suite.after', new Event\Suite($this->suite, $result, $this->settings));
 }