Example #1
0
 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());
 }
Example #2
0
 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'];
 }
Example #3
0
 public function addCept($file)
 {
     $name = $this->relativeName($file);
     $cept = new Cept();
     $cept->configName($name)->configFile($file)->initConfig();
     $this->tests[] = $cept;
 }
Example #4
0
 public function addCept($file)
 {
     Parser::validate($file);
     $name = $this->relativeName($file);
     $cept = new Cept();
     $cept->configName($name)->configFile($file);
     $this->tests[] = $cept;
 }