pub fn run_specs(
    directory_path: &Path,
    parse_spec_options: &ParseSpecOptions,
    run_spec_options: &RunSpecsOptions,
    format_text: impl Fn(&Path, &str, &SpecConfigMap) -> Result<Option<String>>,
    get_trace_json: impl Fn(&Path, &str, &SpecConfigMap) -> String
)