Function: cider-test-default-test-ns-fn

cider-test-default-test-ns-fn is a byte-compiled function defined in cider-test.el.

Signature

(cider-test-default-test-ns-fn NS)

Documentation

For a NS, return the test namespace, which may be the argument itself.

This uses the Leiningen convention of appending '-test' to the namespace name.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-test.el
(defun cider-test-default-test-ns-fn (ns)
  "For a NS, return the test namespace, which may be the argument itself.
This uses the Leiningen convention of appending '-test' to the namespace name."
  (when ns
    (let ((suffix "-test"))
      (if (string-suffix-p suffix ns)
          ns
        (concat ns suffix)))))