run() public method

Runs this scenario.
public run ( array &$world )
$world array
コード例 #1
0
ファイル: TestCase.php プロジェクト: kytvi2p/ZettaFramework
 /**
  * Run this test's scenario.
  *
  * @throws RuntimeException
  */
 protected function runTest()
 {
     parent::runTest();
     $this->scenario->run($this->world);
 }
コード例 #2
0
ファイル: TestCase.php プロジェクト: schwarer2006/wikia
 /**
  * Run this test's scenario.
  *
  * @return mixed
  * @throws RuntimeException
  */
 protected function runTest()
 {
     $testResult = parent::runTest();
     $this->scenario->run($this->world);
     return $testResult;
 }