Rerun Failed Tests and Better Code Insight for Block Elements in the Updated RubyMine 2018.2 EAP
RubyMine 2018.2 EAP (build 182.3458.16) is now updated. The new build provides an ability to rerun failed tests, and upgrades autocompletion and code navigation for block elements.
Rerun failed tests
Now, once you’ve run all tests in a file or directory, RubyMine provides an option to rerun the failed tests only, instead of rerunning all the tests. This frees you from manually picking up and investigating every failed test:
The new feature also works with presets like `rake test` or `rake spec`:
Supported frameworks include RSpec, Test::Unit, Minitest, Shoulda, and Cucumber.
Code insight for block elements
We’ve upgraded YARD support to make RubyMine better at understanding the types of elements in arrays and hashes. Now, when the type of an element is annotated in YARD comments, RubyMine provides autocompletion for it. It also lets you navigate to its definition easily.
We’ve also added an ability to look up the element type by going to View | Expression Type or pressing `⌃⇧P` | `Ctrl+Shift+P` . Here’s what it all looks like:
Project source: google-api-ruby-client
If you face any issues with this new feature, please report them to the related ticket: [RUBY-21650]
- Fixed the inability to stop at breakpoints in Ruby 2.5.0 and Rails 5.2.0 [RUBY-20684]
- Fixed the debugger regression in the previous EAP build [RUBY-21894]
- Other minor bug-fixes
Your RubyMine team