Function: cider-test-rerun-failed-tests

cider-test-rerun-failed-tests is an interactive and byte-compiled function defined in cider-test.el.

Signature

(cider-test-rerun-failed-tests)

Documentation

Rerun failed and erring tests from the last test run.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-test.el
(defun cider-test-rerun-failed-tests ()
  "Rerun failed and erring tests from the last test run."
  (interactive)
  (if cider-test-last-summary
      (nrepl-dbind-response cider-test-last-summary (fail error)
        (if (not (zerop (+ error fail)))
            (cider-test-execute :non-passing)
          (message "No prior failures to retest")))
    (message "No prior results to retest")))