...

Text file src/edge-infra.dev/test/f2/examples/labels/BUILD.bazel

Documentation: edge-infra.dev/test/f2/examples/labels

     1load("@io_bazel_rules_go//go:def.bzl", "go_test")
     2
     3go_test(
     4    name = "labels_test",
     5    srcs = ["labels_test.go"],
     6    args = [
     7        # runs TestAnotherFeature
     8        "--skip-labels=boo=hoo",
     9
    10        # runs TestFeature
    11        # "--labels=boo=hoo",
    12
    13        # runs everything
    14        # "--skip-labels=other=label",
    15
    16        # runs everything
    17        # "--labels=component=yada",
    18
    19        # skips the entire framework
    20        # "--skip-labels=other=label,flaky=true",
    21
    22        # skips the entire framework
    23        # "--skip-labels=other=label,foo=bar",
    24
    25        # force t.Log to print even if the test passes
    26        # dont use this in production
    27        "--test.v",
    28    ],
    29    tags = [
    30        "f2-example",  # dont use outside f2/examples, stops deps test from failing
    31        "integration",
    32    ],
    33    visibility = ["//visibility:public"],
    34    deps = [
    35        "//test/f2",
    36        "@tools_gotest_v3//assert",
    37    ],
    38)

View as plain text