Search code examples
eclipseshortcut

shortcut to run concrete test


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


Solution

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

    enter image description here