summaryrefslogtreecommitdiff
path: root/cider-test.el
diff options
context:
space:
mode:
authorArtur Malabarba <Malabarba@users.noreply.github.com>2016-04-11 13:10:52 -0300
committerArtur Malabarba <Malabarba@users.noreply.github.com>2016-04-11 13:10:52 -0300
commit57e058da687c54f0514b09eaf256dcdb5ed12af8 (patch)
tree94582804c8d0476fb91caedd6604a26ebf1c22e2 /cider-test.el
parenta662870a4e739db68dbc67d5b4cf315121652231 (diff)
Improve CIDER's menu-bar menu (#1661)
* Improve CIDER's menu-bar menu - Thoroughly reorganize it and split it into 3 separate menus; - Add a 4th menu, that only appears if `cider-mode` isn't active; - Add custom-written `:help` strings to some items, and automatically add help strings to the rest; - Add a few commands; - Grey-out commands that rely on connections while there is no connection. * Add a screenshot to the Readme
Diffstat (limited to 'cider-test.el')
-rw-r--r--cider-test.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/cider-test.el b/cider-test.el
index be68892e..1f1fb9b4 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -134,14 +134,20 @@
(define-key map (kbd "b") #'cider-test-show-report)
map))
-(defvar cider-test-menu
+(defconst cider-test-menu
'("Test"
["Run test" cider-test-run-test]
["Run namespace tests" cider-test-run-ns-tests]
["Run all loaded tests" cider-test-run-loaded-tests]
["Run all project tests" cider-test-run-project-tests]
+ ["Run tests after load-file" cider-auto-test-mode
+ :style toggle :selected cider-auto-test-mode]
+ "--"
+ ["Interrupt running tests" cider-interrupt]
["Rerun failed/erring tests" cider-test-rerun-tests]
- ["Show test report" cider-test-show-report])
+ ["Show test report" cider-test-show-report]
+ "--"
+ ["Configure testing" (customize-group 'cider-test)])
"CIDER test submenu.")
(defvar cider-test-report-mode-map