Add rspec-dired-verify-marked for dired mode testing
Implemented `rspec-dired-verify-marked` function to run RSpec on files marked in dired mode. Bound the new function to the key "C-c , m" in `rspec-dired-mode-map`. This allows for batch testing of selected files within the dired interface, streamlining the testing process for multiple files.
This commit is contained in:
parent
951024ed40
commit
1327019fdb
@ -60,9 +60,13 @@
|
||||
"Runs RSpec on all related specs for the Ruby files changed between the current branch and TARGET-BRANCH."
|
||||
(interactive)
|
||||
(rspec--run-verify-changed t))
|
||||
(defun rspec-dired-verify-marked ()
|
||||
(interactive)
|
||||
(rspec-run-multiple-files (dired-get-marked-files) (rspec-core-options)))
|
||||
:general
|
||||
(rspec-mode-map "C-c , g" #'rspec-verify-changed
|
||||
"C-c , G" #'rspec-verify-changed-related)
|
||||
(rspec-dired-mode-map "C-c , m" #'rspec-dired-verify-marked)
|
||||
(rspec-verifiable-mode-map "C-c , g" #'rspec-verify-changed
|
||||
"C-c , G" #'rspec-verify-changed-related)
|
||||
:custom
|
||||
|
Loading…
Reference in New Issue
Block a user