Variable: cider-test-infer-test-ns

cider-test-infer-test-ns is a customizable variable defined in cider-test.el.

Value

cider-test-default-test-ns-fn

Documentation

Function to infer the test namespace for NS.

The default implementation uses the simple Leiningen convention of appending
'-test' to the namespace name.

This variable was added, or its default value changed, in cider version 0.7.0.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-test.el
;;; Test namespaces
;;
;; Test namespace inference exists to enable DWIM test running functions: the
;; same "run-tests" function should be able to be used in a source file, and in
;; its corresponding test namespace. To provide this, we need to map the
;; relationship between those namespaces.

(defcustom cider-test-infer-test-ns 'cider-test-default-test-ns-fn
  "Function to infer the test namespace for NS.
The default implementation uses the simple Leiningen convention of appending
'-test' to the namespace name."
  :type 'symbol
  :package-version '(cider . "0.7.0"))