Navigate to Test

Go to your matching test class

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 new test class from your Java class
Recent Files & Locations
Quickly navigate around your recent files & locations
Navigating Forward & Backward
Move forward and backward between your locations in the code