public static function buildAll($input, $output)
    {
        $files = scandir($input);

        foreach ($files as $file) {
            // Skipping current and parent directories.
            if (($file[0] === '.') || ($file[0] === '_')) {
                continue;
            }

            // Building the context.
            sprintf("Building context for %s...\n", $file);
            static::build($input . '/' . $file, $output);
        }
    }
public static function buildAll($input, $output)
    {
        $files = scandir($input);

        foreach ($files as $file) {
            // Skipping current and parent directories.
            if (($file[0] === '.') || ($file[0] === '_')) {
                continue;
            }

            // Building the context.
            sprintf("Building context for %s...\n", $file);
            static::build($input . '/' . $file, $output);
        }
    }
public static function buildAll ( $ input , $ output ) { $ files = scandir ( $ input ) ; foreach ( $ files as $ file ) { // Skipping current and parent directories. if ( ( $ file [ 0 ] === '.' ) || ( $ file [ 0 ] === '_' ) ) { continue ; } // Building the context. sprintf ( "Building context for %s...\n" , $ file ) ; static :: build ( $ input . '/' . $ file , $ output ) ; } }
Generates recursively all tests preserving the directory structure.

@param string $input  the input directory
@param string $output the output directory
Generates recursively all tests preserving the directory structure .