ParaTest\Runners\PHPUnit\TestFileLoader::loadDir PHP Method

loadDir() private method

Loads suites from a directory
private loadDir ( string $path, string $pattern = self::TEST_PATTERN )
$path string
$pattern string
    private function loadDir($path, $pattern = self::TEST_PATTERN)
    {
        $files = scandir($path);
        foreach ($files as $file) {
            $this->tryLoadTests($path . DIRECTORY_SEPARATOR . $file, $pattern);
        }
    }