Variable: bazel-test-at-point-functions

bazel-test-at-point-functions is a customizable variable defined in bazel.el.

Value

(which-function)

Documentation

Abnormal hook to find a test case at point.

Each function in this hook should check whether it recognizes the area around point as a test case, and return a string that can be used as value for Bazel’s --test_filter option if so. The default value of this option includes ‘which-function’ at low priority.

Source Code

;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
(defcustom bazel-test-at-point-functions '(which-function)
  "Abnormal hook to find a test case at point.
Each function in this hook should check whether it recognizes the
area around point as a test case, and return a string that can be
used as value for Bazel’s --test_filter option if so.  The
default value of this option includes ‘which-function’ at low
priority."
  :type 'hook
  :options '(which-function)
  :initialize #'bazel--initialize-test-at-point-functions
  :risky t
  :group 'bazel
  :link '(custom-manual "(bazel.el) Extending")
  :link '(url-link "https://bazel.build/docs/user-manual#test-filter")
  :link '(url-link "https://bazel.build/reference/test-encyclopedia"))