Пример #1
0
 private function runFileTestSuite($path, TestFilter $filter = null)
 {
     $filter = $filter ?: new TestFilter();
     $path = str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $path);
     $suite = new FileTestSuite(new TestSuiteFactory(), $filter, $this->files->fullPath(), $path);
     $suite->run($this->listener);
 }
Пример #2
0
 private function runFileTestSuite($path)
 {
     $suite = new FileTestSuite(new TestSuiteFactory(), new TestFilter(), $this->files->fullPath(), $this->file($path));
     $suite->run($this->listener);
 }