def METHOD_NAME() -> RuleRunner:
    METHOD_NAME = RuleRunner(
        rules=[
            *test_rules(),
            *assembly.rules(),
            *build_pkg.rules(),
            *build_pkg_target.rules(),
            *coverage.rules(),
            *coverage_output.rules(),
            *first_party_pkg.rules(),
            *go_mod.rules(),
            *link.rules(),
            *sdk.rules(),
            *target_type_rules.rules(),
            *tests_analysis.rules(),
            *third_party_pkg.rules(),
            *source_files.rules(),
            get_filtered_environment,
            QueryRule(TestResult, (GoTestRequest.Batch,)),
            QueryRule(CoverageReports, (GoCoverageDataCollection,)),
            QueryRule(DigestContents, (Digest,)),
        ],
        target_types=[GoModTarget, GoPackageTarget, FileTarget],
    )
    METHOD_NAME.set_options(
        ["--go-test-args=-v -bench=.", "--test-use-coverage"], env_inherit={"PATH"}
    )
    return METHOD_NAME