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

Mnemonic bookmark
Mnemonic bookmark
Use mnemonic bookmarks for easy navigation.
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.