Navigate to Test

Go to your matching test class with one keyboard shortcut.

You can use ⌘⇧T (macOS) / Ctrl+Shift+T (Windows/Linux), to navigate to a test class and back again. IntelliJ IDEA will navigate to the related Test file, or suggest creating a test. It can even add some of the code constructs for the tests as well.


Related Resources

Generate a Test Class
Generate a Test Class
Generate a new test class from your Java class.
Recent Files & Locations
Recent Files & Locations
Quickly navigate around your recent files & locations to stay in your current working context.
Navigating Forward & Backward
Navigating Forward & Backward
Move forward and backward between your locations in the code so you don't need to have tabs open.