File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
doc/modules/ROOT/pages/testing Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ kbd:[C-c C-t t] or kbd:[C-c C-t C-t].
83
83
84
84
You can configure CIDER's test execution behavior in multiple ways.
85
85
86
+ === Test Namespace Naming Convention
87
+
86
88
If your tests are not following the `some.ns-test` naming convention
87
89
you can set the variable `cider-test-infer-test-ns` to a function that
88
90
takes the current namespace and returns the matching test namespace
@@ -105,12 +107,17 @@ This uses the convention of prepending 'test-' to the namespace name."
105
107
(setq cider-test-infer-test-ns #'cider-custom-test-ns-fn)
106
108
----
107
109
110
+ === Macros Used to Define Tests
111
+
108
112
If your individual tests are not defined by `deftest` or `defspec`, CIDER will
109
113
not recognize them when searching for a test at point in `cider-test-run-test`.
110
114
You can customize the variable `cider-test-defining-forms` to add additional
111
115
forms for CIDER to recognize as individual test definitions.
112
116
113
- If you want to view the test report regardless of whether the tests have
117
+ === Display Test Report on Success
118
+
119
+ By default the test report is displayed only when there are test failures or
120
+ errors. If you want to view the test report regardless of whether the tests have
114
121
passed or failed:
115
122
116
123
[source,lisp]
You can’t perform that action at this time.
0 commit comments