Early Access Program Features News

Rerun Failed Tests and Better Code Insight for Block Elements in the Updated RubyMine 2018.2 EAP

Hi there,
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.

Download RubyMine 2018.2 EAP

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.

Issue: [RUBY-1631]

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]

Other improvements

  • 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

Download RubyMine 2018.2 EAP

See the release notes for the full list of improvements, and please report any issues you encounter.

Cheers,
Your RubyMine team

image description