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

This entry was posted in Announcement, Feature, Productivity, WhatsMining and tagged , , , , . Bookmark the permalink.

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

  1. dave says:

    Thank you to whomever is doing the twitter feed for rubymine… Finally found out how to get a popup of the methods in the current file to select from (cmd-F12 on MacOS)

  2. Pingback: RubyMine 2018.2 Goes Beta | RubyMine Blog

Leave a Reply

Your email address will not be published. Required fields are marked *