public function addCept($file) { $name = $this->relativeName($file); $this->tests[$name] = $file; $cept = new TestCase\Cept($this->dispatcher, array('name' => $name, 'file' => $file, 'bootstrap' => $this->settings['bootstrap'])); $cept->preload(); $this->suite->addTest($cept, $cept->getScenario()->getGroups()); }
public function __construct($dispatcher, array $data = array(), $dataName = '') { parent::__construct($dispatcher, $data, $dataName); $this->testClassInstance = $data['instance']; $this->testMethod = $data['method']; $this->guy = $data['guy']; }
public function addCept($file) { $name = $this->relativeName($file); $cept = new Cept(); $cept->configName($name)->configFile($file)->initConfig(); $this->tests[] = $cept; }
public function addCept($file) { Parser::validate($file); $name = $this->relativeName($file); $cept = new Cept(); $cept->configName($name)->configFile($file); $this->tests[] = $cept; }