private function executeTests($suite, $testFile, $groups, $options, $command, OutputInterface $output)
{
if (empty($suite) && empty($groups) && empty($testFile)) {
foreach ($this->getTestsSuites() as $suite) {
$suite = $this->buildTestSuiteName($suite);
$this->executeTests($suite, $testFile, $groups, $options, $command, $output);
}
return;
}
$params = $this->buildPhpUnitCliParams($suite, $groups, $options);
if (!empty($testFile)) {
$params = $params . " " . $testFile;
}
$this->executeTestRun($command, $params, $output);
}