Read more

Rubymine: Configure CTRL + ALT + SHIFT + c to work with "Test Source Roots"

Emanuel
May 17, 2023Software engineer at makandra GmbH

To navigate between test and test subject Show archive.org snapshot Rubymine requires you to set the test root sources as Test Sources Root Show archive.org snapshot .

Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot

In case you are using the keyboard shortcut "CTRL + ALT + SHIFT + c" to copy the reference path + you have set the "Test Sources Root" for your test folders, you might consider setting this keyboard to "Copy From Repository Root". This will return the path spec/foo_spec.rb instead of foo_spec.rb.

Image

Caveat: This will not copy the line number.

Posted by Emanuel to makandra dev (2023-05-17 11:33)