Re-run only failed tests

One feature I'd really like to see in RubyMine is the ability to re-run only those tests which failed.   For example, say I run MyModelTest which contains dozens of Shoulda tests but 10 of them fail.  I'd like to be able to click a button to re-run only those 10 failing tests.

5 comments
Comment actions Permalink

+1 for rerun failed

Also, using shoulda, I'm not able to run a single should-test at a time.

0
Comment actions Permalink

Hello lylo,

One feature I'd really like to see in RubyMine is the ability to
re-run only those tests which failed.   For example, say I run
MyModelTest which contains dozens of Shoulda tests but 10 of them
fail.  I'd like to be able to click a button to re-run only those 10
failing tests.


This feature is in the roadmap for RubyMine 3.0:
http://www.jetbrains.net/confluence/display/RUBYDEV/Development+Roadmap

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I cant believe we have to wait for ver. 3.0 for this feature.

It's quite simple to: Right click on the "Test Results" in the test runner panel and offer re-run failed tests (if there is any..).
The Cucumber engine already exports the failed tests into a separate file.

Looking around this feature is highly requested from several threads i.e. http://devnet.jetbrains.net/message/3525052

Could you consider bumpin' it up to higher priority?

Kind regards,

Esben Rasmussen

0
Comment actions Permalink

FYI, an option appeared in the shortcuts to re-run only failed specs in Rubymine 2018.1.2 EAP, however it does not work yet. 

I've opened an issue in the tracker. 

https://youtrack.jetbrains.com/issue/RUBY-21507?query=rerun%20failed%20specs

0

Please sign in to leave a comment.