Update key bindings for running tests according to the conventions
For ruby and python layers
This commit is contained in:
parent
c1655a02ee
commit
c44e3dc58b
|
@ -75,17 +75,17 @@ Test commands (start with `m t` or `m T`):
|
|||
------------------|------------------------------------------------------------
|
||||
<SPC> m t a | launch all tests of the project
|
||||
<SPC> m t b | launch all tests of the current buffer (same as module)
|
||||
<SPC> m t f | launch the current test (function)
|
||||
<SPC> m t m | launch all tests of the current module
|
||||
<SPC> m t s | launch all tests of the current suite
|
||||
<SPC> m t t | launch the current test (function)
|
||||
|
||||
Debug | Description
|
||||
------------------|------------------------------------------------------------
|
||||
<SPC> m T a | launch all tests of the project in debug mode
|
||||
<SPC> m T b | launch all tests of the current buffer (module) in debug mode
|
||||
<SPC> m T f | launch the current test (function) in debug mode
|
||||
<SPC> m T m | launch all tests of the current module in debug mode
|
||||
<SPC> m T s | launch all tests of the current suite in debug mode
|
||||
<SPC> m T t | launch the current test (function) in debug mode
|
||||
|
||||
### Other Python commands
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
"mta" 'nosetests-all
|
||||
"mTb" 'nosetests-pdb-module
|
||||
"mtb" 'nosetests-module
|
||||
"mTf" 'nosetests-pdb-one
|
||||
"mtf" 'nosetests-one
|
||||
"mTt" 'nosetests-pdb-one
|
||||
"mtt" 'nosetests-one
|
||||
"mTm" 'nosetests-pdb-module
|
||||
"mtm" 'nosetests-module
|
||||
"mTs" 'nosetests-pdb-suite
|
||||
|
|
|
@ -52,5 +52,5 @@ which require an initialization must be listed explicitly in the list.")
|
|||
(defun ruby/init-ruby-test-mode ()
|
||||
"Define keybindings for ruby test mode"
|
||||
(use-package ruby-test-mode
|
||||
:config (progn (evil-leader/set-key "mtf" 'ruby-test-run)
|
||||
(evil-leader/set-key "mtp" 'ruby-test-run-at-point))))
|
||||
:config (progn (evil-leader/set-key "mtb" 'ruby-test-run)
|
||||
(evil-leader/set-key "mtt" 'ruby-test-run-at-point))))
|
||||
|
|
Loading…
Reference in a new issue