Function: bazel-coverage

bazel-coverage is an interactive and natively compiled function defined in bazel.el.

Signature

(bazel-coverage TARGET)

Documentation

Run Bazel test TARGET with coverage instrumentation enabled.

Key Bindings

bazel-mode-map C-c C-c

Source Code

;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
(defun bazel-coverage (target)
  "Run Bazel test TARGET with coverage instrumentation enabled."
  (declare (ftype (function (string) null)))
  (interactive (list (bazel--read-target-pattern "Test target" :only-tests)))
  (cl-check-type target string)
  (bazel--run-bazel-command "coverage" target)
  nil)