Skip to content

Commit 5d2df05

Browse files
committed
Fix the documentation about the cider-test-report keybindings
1 parent 5a9b3ce commit 5d2df05

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cider-test.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
(define-key map (kbd "e") #'cider-test-stacktrace)
169169
;; `f' for "run failed".
170170
(define-key map "f" #'cider-test-rerun-failed-tests)
171+
(define-key map "n" #'cider-test-run-ns-tests)
171172
(define-key map "l" #'cider-test-run-loaded-tests)
172173
(define-key map "p" #'cider-test-run-project-tests)
173174
;; `g' generally reloads the buffer. The closest thing we have to that is
@@ -183,6 +184,7 @@
183184
"--"
184185
["Rerun current test" cider-test-run-test]
185186
["Rerun failed/erring tests" cider-test-rerun-failed-tests]
187+
["Run all ns tests" cider-test-run-ns-tests]
186188
["Run all loaded tests" cider-test-run-loaded-tests]
187189
["Run all project tests" cider-test-run-project-tests]
188190
"--"

doc/running_tests.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ you'll have a bit of additional functionality at your disposal.
1717

1818
Keyboard shortcut | Description
1919
--------------------------------|-------------------------------
20-
<kbd>C-c C-t t</kbd> <br/> <kbd>C-c C-t C-t</kbd> | Run test at point.
21-
<kbd>C-c C-t n</kbd> <br/> <kbd>C-c C-t C-n</kbd> | Run tests for current namespace.
22-
<kbd>C-c C-t l</kbd> <br/> <kbd>C-c C-t C-l</kbd> | Run tests for all loaded namespaces.
23-
<kbd>C-c C-t p</kbd> <br/> <kbd>C-c C-t C-p</kbd> | Run tests for all project namespaces. This loads the additional namespaces.
24-
<kbd>C-c C-t r</kbd> <br/> <kbd>C-c C-t C-r</kbd> | Re-run test failures/errors.
20+
<kbd>g</kbd> | Run test at point.
21+
<kbd>n</kbd> | Run tests for current namespace.
22+
<kbd>l</kbd> | Run tests for all loaded namespaces.
23+
<kbd>p</kbd> | Run tests for all project namespaces. This loads the additional namespaces.
24+
<kbd>f</kbd> | Re-run test failures/errors.
2525
<kbd>M-p</kbd> | Move point to previous test.
2626
<kbd>M-n</kbd> | Move point to next test.
2727
<kbd>t</kbd> or <kbd>M-.</kbd> | Jump to test definition.

0 commit comments

Comments
 (0)