Test runner shortcuts

I can't find anyway in the documentation what are shortcuts for the test runner navigation.
Specifically i'm interested in switching between tests tree and console output. Rubymine automatically places cursor to console output everytime I can test and I want to be able to move to tree of tests with a shortcut.



Attachment(s):
test_runner_shortcut.png
5 comments

Hi,

there is not such shortcut and there is an issua about setting initial focus to the tree (http://youtrack.jetbrains.com/issue/RUBY-9136)
From the other hand: why do you need this?  If you want to go to the next failed test just press Alt-Shoft-Down (Alt-Shift-Up for previos) and this will open failed test
in editor and if you go to the editor (Esc in my case) the cursor will be located in the test.

Oleg.

P.S. I'm on Linux now so shortcuts can be defferent for you, but the idea the same.

0

Hi, Oleg
Thanks for your response.
I have tried to use ALT + SHIFT + DOWN on Mac OS X - didn't work but looks like CMD+ALT+DOWN worked. However, I've noticed that it doesn't switch the focus from console output to the tree. It does scroll in code editor and in the test tree to the test but when I switch back to test runner the focus is still stuck in results window.
It's the only action I actually need to use mouse for. Everything else in Rubymine can be done with a shortcut which is awesome :) I voted for the issue hope the shortcut will be added at some point in the future.
Thanks,
Maxim

0

Yes, the shortcut is not supposed to move focus to the tree, but why do you need this?

Regards, Oleg.

0

Ah, sorry missed your question.
I mostly need it to be able to launch specs within a specific group for instance without looking for the group definition in the code editor. I actually like to keep autoscroll to test source off so that I can look at the code i'm trying to fix instead of switching to test source automatically.

0

I see.  Thank you for explanation.

Oleg.

0

Please sign in to leave a comment.