Example #1
0
 public function loadTests($path = null)
 {
     $testLoader = new Loader($this->settings);
     $testLoader->loadTests($path);
     $tests = $testLoader->getTests();
     if ($this->settings['shuffle']) {
         shuffle($tests);
     }
     foreach ($tests as $test) {
         $this->addToSuite($test);
     }
     $this->suite->reorderDependencies();
 }