shortcut to run concrete test

chris picture chris · Feb 25, 2011 · Viewed 12.8k times · Source

I can run the whole Junit test using:

Shift + Alt + X, T

But how I can run a single test? Using the mouse I click on concrete method and Run As -> Junit test

anyone know shortcut for this case ?

Thanks

Answer

Thomas Jung picture Thomas Jung · Feb 25, 2011

Shift + Alt + X, T runs one test method if the caret is on the method name.

enter image description here