IntelliJ IDEA
 
Get IntelliJ IDEA

Run tests

Last modified: 12 November 2024

There are several ways to run tests, including from a file or folder, using the Run widget, and from the Structure tool window. This article covers running tests in general. If you're looking for information for a specific build tool, see:

After IntelliJ IDEA finishes running your tests, it shows the results in the Run tool window on the tab for that run configuration. For more information about analyzing test results, refer to Explore test results.

Tests shows in run configuration tab

The console on the right shows the output of the current test session. The test results toolbar located above the list of test results provides you with several helpful options.

the test results toolbar