ParaTest\Runners\PHPUnit\Configuration::getSuitePaths PHP Method

getSuitePaths() public method

Returns a suite paths relative to the config file
public getSuitePaths ( $path ) : array | string[]
$path
return array | string[]
    public function getSuitePaths($path)
    {
        $real = realpath($this->getConfigDir() . $path);
        if ($real !== false) {
            return array($real);
        }
        if ($this->isGlobRequired($path)) {
            $paths = array();
            foreach (glob($this->getConfigDir() . $path, GLOB_ONLYDIR) as $path) {
                if (($path = realpath($path)) !== false) {
                    $paths[] = $path;
                }
            }
            return $paths;
        }
        throw new \RuntimeException("Suite path {$path} could not be found");
    }