• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Run this target to generate and open an HTML coverage report.
2# Takes the same arguments as `bazel coverage`, but after a double dash (`--`).
3# The default is to run `bazel coverage //...`, which accumulates the coverage of all tests.
4sh_binary(
5    name = "coverage",
6    srcs = ["coverage.sh"],
7    data = [
8        "@genhtml//file:genhtml",
9    ],
10)
11