Manish Chakravarty
Manish Chakravarty

Reputation: 591

Keyboard shortcut to switch between test and class in eclipse?

Lets say you create a class Foo and a test FooTest ( standard JUnit test ) I want a keyboard shortcut to help quickly switch between the test and the class.

If that is not possible, something like TextMate's "Run focussed test" (Command + Shift + R) might be of great help.

Upvotes: 29

Views: 15055

Answers (2)

maxim_ge
maxim_ge

Reputation: 1263

You can also use moreunit. I just installed it and it works fine, allowing to switch between source class and test class and also to run test class being in source class editor.

Upvotes: 46

dty
dty

Reputation: 18998

There isn't a built in one, but there's a plug-in called "Switcher" which will allow you to do that, here

Upvotes: 1

Related Questions