IntelliJ IDEA 13.1 Web Help

Test progress and results display in the dedicated test runner tabs of the Run tool window.

JUnit Tool Window

You can rerun, terminate, and suspend execution of tests same way as you do it for running applications. In addition to the common running actions, in the test runner you can:

  • Navigate through the list of test cases using arrow keys.
  • Navigate between failed tests using the img and img buttons or Ctrl+Alt+UpShift+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpAlt Command UpAlt Command UpAlt Command Up or Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownAlt Command DownAlt Command DownAlt Command Down keyboard shortcuts.
  • View the total number of tests being run in the current session. The summary information is displayed in a message line on the top of the tool window. After completion of the tests, the message informs you about the number of failed tests and elapsed time.
  • View testing progress in the progress bar.
  • Show or hide information about the passed tests, using the img button.
  • Navigate from the stack trace to the problem location in the source code by clicking the hyperlink in the Output pane.
  • Enable and disable the following functionality by clicking the cog button projectToolWindowSettingsIcon.png and selecting the relevant items from the context menu:
    • Monitoring execution of the current test.
    • Have the first failed test selected automatically upon completing the suit.
    • Navigating to the stack trace.
    • Automatic scrolling to the source code.
    • Have the corresponding source code opened at exceptions.
    • Have statistic shown in the Statistics pane.

See Also

Reference:

Web Resources: