Function: hypb-ert

hypb-ert is a byte-compiled function defined in hypb-ert.el.

Signature

(hypb-ert TEST-SELECTOR)

Documentation

Run all ert TEST-SELECTOR tests.

See documentation for ert-select-tests for TEST-SELECTOR types.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb-ert.el
(defun hypb-ert (test-selector)
  "Run all ert TEST-SELECTOR tests.
See documentation for `ert-select-tests' for TEST-SELECTOR types."
  (if (memq 'message-fn (actype:params #'ert-run-tests-interactively))
      ;; Suppress ert messages so last test case message stays in the minibuffer;
      ;; 3rd arg message-fn available only in Emacs 27 and earlier
      (with-suppressed-warnings ((callargs ert))
        (ert test-selector nil #'hypb-ert-message-function))
    (ert test-selector))
  ;; ERT can display a long internal data structure as a result, so
  ;; replace it in the minibuffer with a blank message.
  (message ""))