Esempio n. 1
0
 /**
  * Queue tests for suites.
  *
  * @param $path
  * @return bool tests were queued
  */
 private function queueTestSuites($path)
 {
     $queued = false;
     $suites = $this->dataRepository->getSuitesForPath($path);
     foreach ($suites as $suite) {
         $queued = true;
         $this->command->line('Adding all tests for the ' . $suite->name . ' suite');
         $this->dataRepository->queueTestsForSuite($suite->id);
     }
     return $queued;
 }
Esempio n. 2
0
 public function runAll($project_id)
 {
     $this->dataRepository->runAll($project_id);
     return $this->success();
 }