pezra / rspec-mode

An RSpec minor mode for Emacs
257 stars 112 forks source link

add rspec-run-last-failed to rerun only failed examples #122

Closed ledbettj closed 9 years ago

ledbettj commented 9 years ago

rspec-run-last-failed will re-run the specs that failed during the last invocation. By default this is bound to C-c ,f.

I'm not an elisp pro so I'm sure there's some cleanup that can be done here. Feedback welcome!

rranelli commented 9 years ago

I have not tested it yet, but I think this is an awesome feature :+1:

ledbettj commented 9 years ago

Changes:

Thanks for the comments!

ledbettj commented 9 years ago

Thanks for the comment. I've updated the logic, hopefully correctly.

ledbettj commented 9 years ago

Dropped the save-match-data as well.

dgutov commented 9 years ago

Squash-merged. Thanks!

ledbettj commented 9 years ago

:+1: Thanks!