protected function runIncludedSuites($suites, $parent_dir)
    {
        foreach ($suites as $relativePath) {
            $current_dir = rtrim($parent_dir, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $relativePath;
            $config = Configuration::config($current_dir);
            $suites = Configuration::suites();

            $namespace = $this->currentNamespace();
            $this->output->writeln(
                "\n<fg=white;bg=magenta>\n[$namespace]: tests from $current_dir\n</fg=white;bg=magenta>"
            );

            $this->executed += $this->runSuites($suites, $this->options['skip']);
            if (!empty($config['include'])) {
                $this->runIncludedSuites($config['include'], $current_dir);
            }
        }
    }
protected function runIncludedSuites($suites, $parent_dir)
    {
        foreach ($suites as $relativePath) {
            $current_dir = rtrim($parent_dir, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $relativePath;
            $config = Configuration::config($current_dir);
            $suites = Configuration::suites();

            $namespace = $this->currentNamespace();
            $this->output->writeln(
                "\n<fg=white;bg=magenta>\n[$namespace]: tests from $current_dir\n</fg=white;bg=magenta>"
            );

            $this->executed += $this->runSuites($suites, $this->options['skip']);
            if (!empty($config['include'])) {
                $this->runIncludedSuites($config['include'], $current_dir);
            }
        }
    }
protected function runIncludedSuites ( $ suites , $ parent_dir ) { foreach ( $ suites as $ relativePath ) { $ current_dir = rtrim ( $ parent_dir , DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR . $ relativePath ; $ config = Configuration :: config ( $ current_dir ) ; $ suites = Configuration :: suites ( ) ; $ namespace = $ this -> currentNamespace ( ) ; $ this -> output -> writeln ( "\n<fg=white;bg=magenta>\n[$namespace]: tests from $current_dir\n</fg=white;bg=magenta>" ) ; $ this -> executed += $ this -> runSuites ( $ suites , $ this -> options [ 'skip' ] ) ; if ( ! empty ( $ config [ 'include' ] ) ) { $ this -> runIncludedSuites ( $ config [ 'include' ] , $ current_dir ) ; } } }
Runs included suites recursively

@param array $suites
@param string $parent_dir
Runs included suites recursively