Function: cider-test-run-test
cider-test-run-test is an interactive and byte-compiled function
defined in cider-test.el.
Signature
(cider-test-run-test)
Documentation
Run the test at point.
The test ns/var exist as text properties on report items and on highlighted failed/erred test definitions.
When not found, a test definition at point or in a corresponding test namespace is searched.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-test.el
(defun cider-test-run-test ()
"Run the test at point.
The test ns/var exist as text properties on report items and on highlighted
failed/erred test definitions.
When not found, a test definition at point
or in a corresponding test namespace is searched."
(interactive)
(let* ((found (cider--extract-test-var-at-point))
(found-ns (car found))
(found-var (cadr found)))
(if (not found-var)
(message "No test found at point")
(cider-test-update-last-test found-ns (list found-var))
(cider-test-execute found-ns (list found-var)))))