/** * 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; }
public function runAll($project_id) { $this->dataRepository->runAll($project_id); return $this->success(); }