JUnit View

The JUnit view shows you the JUnit test run progress and status, and allows you to rerun tests.

JUnit View commands:

Command

Name

Description

Next Failed Test

Next Failed Test

Navigates to the next failed test.

Previous Failed Test

Previous Failed Test

Navigates to the previous failed test.

Show Failures Only

Show Failures Only

Shows only failed tests.

Scroll Lock

Scroll Lock

Changes if scroll lock should be enabled or not.

Rerun Test

Rerun Test

Rerun the test.

Rerun Test - Failures First

Rerun Test - Failures First

Rerun the test, and run the failures first.

Stop JUnit Test Run

Stop JUnit Test Run

Stops the current JUnit test run.

Test Run History

Test Run History

This menu displays a history of previously run tests.

 

Clear Terminated

Clears all the terminated test runs from the histroy.

 

Import...

Imports a test run result from a XML file.

 

Import from URL...

Imports a test run result via an URL.

 

Import URL from Clipboard

Imports a test run result via an URL placed on clipboard.

 

Export

Exports the test run result to a XML file.

Show Tests in Hierarchy

Show Tests in Hierarchy

Shows the tests in a hierarchical layout.

 

Show Execution Time

Shows execution time for the tests.

 

Layout

Specifies the layout of the JUnit view.

 

Activate on Error/Failure Only

Changes if the JUnit view should be activated only on error/failure or not.

Related concepts

Java views

Related reference

Views and editors