def METHOD_NAME(dependency_file):
    """Generate the skeleton for minimal tests.
    Schemas are populated from the sql folder. Run the `deps` command to
    generate a file of dependencies between queries.
    """
    deps = json.loads(Path(dependency_file).read_text())
    for query in list_queries(SQL_ROOT):
        # only tests for org_mozilla_fenix_glam_nightly
        if "org_mozilla_fenix_glam_nightly" not in query.name:
            continue
        print(f"copying schemas for {query.name}")
        # views are also considered aggregates
        path = TEST_ROOT / query.name / "test_minimal"
        path.mkdir(parents=True, exist_ok=True)
        # set query parameters
        params = list(
            map(
                lambda x: dict(zip(["name", "type", "value"], x)),
                [
                    ("submission_date", "DATE", "2020-10-01"),
                    ("min_sample_id", "INT64", 0),
                    ("max_sample_id", "INT64", 99),
                    ("sample_size", "INT64", 100),
                ],
            )
        )
        with (path / "query_params.yaml").open("w") as fp:
            yaml.dump(params, fp)
        # now copy over the schemas
        query_deps = [x["from"] for x in deps if query.name in x["to"]]
        print(f"found dependencies: {json.dumps(query_deps, indent=2)}")
        for dep in query_deps:
            project = dep.split(":")[0]
            dataset = dep.split(":")[1].split(".")[0]
            table = dep.split(".")[1]
            for schema in (ROOT / "sql" / project / dataset).glob(f"{table}/schema.*"):
                print(f"copied dependency {schema}")
                shutil.copyfile(
                    schema,
                    path
                    / (
                        (
                            f"{project}.{dataset}."
                            if dataset != "glam_etl"
                            else f"{dataset}."
                        )
                        + f"{schema.parent.name}.{schema.name}"
                    ),
                )