Piwik\Plugins\TestRunner\Commands\TestsRun::executeTests PHP Method

executeTests() private method

private executeTests ( $suite, $testFile, $groups, $options, $command, Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface
    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);
    }