github.com/sercand/please@v13.4.0+incompatible/src/test/BUILD (about)

     1  go_library(
     2      name = "test",
     3      srcs = glob(
     4          ["*.go"],
     5          exclude = [
     6              "*_stub.go",
     7              "*_test.go",
     8          ],
     9      ),
    10      visibility = ["PUBLIC"],
    11      deps = [
    12          "//src/build",
    13          "//src/cli",
    14          "//src/core",
    15          "//src/fs",
    16          "//src/metrics",
    17          "//src/utils",
    18          "//src/worker",
    19          "//third_party/go:docker",
    20          "//third_party/go:logging",
    21          "//third_party/go:tools",
    22          "//third_party/go:xattr",
    23      ],
    24  )
    25  
    26  go_test(
    27      name = "results_test",
    28      srcs = ["results_test.go"],
    29      data = glob(["test_data/*"]),
    30      deps = [
    31          ":test",
    32          "//third_party/go:testify",
    33      ],
    34  )
    35  
    36  go_test(
    37      name = "container_test",
    38      srcs = ["container_test.go"],
    39      container = True,
    40      data = ["test_data/container_data.txt"],
    41  )
    42  
    43  go_test(
    44      name = "coverage_test",
    45      srcs = ["coverage_test.go"],
    46      data = [
    47          "test_data/gcov_coverage.gcov",
    48          "test_data/go_coverage.txt",
    49          "test_data/go_coverage_2.txt",
    50          "test_data/go_coverage_3.txt",
    51          "test_data/istanbul_coverage.json",
    52          "test_data/istanbul_coverage_2.json",
    53          "test_data/python-coverage.xml",
    54      ],
    55      deps = [
    56          ":test",
    57          "//third_party/go:testify",
    58      ],
    59  )
    60  
    61  go_test(
    62      name = "xml_results_test",
    63      srcs = ["xml_results_test.go"],
    64      deps = [
    65          ":test",
    66          "//third_party/go:testify",
    67      ],
    68  )