JUnit Preferences

The Opens the JUnit preference page Java > JUnit preference page lets you configure the stack trace filter patterns for JUnit. The patterns are used in the JUnit view to control which entries are visible in stack traces.

Action

Description

Add '-ea' to VM arguments when creating a new JUnit launch configuration

If enabled, then JUnit test will be launched with assertions enabled.

Show newly launched test in all JUnit views

By default, a new JUnit test run only shows up in the window where the test was started. Enable this option, if you prefer to see the latest test in all open JUnit views.

Add Filter

Allows to add a custom filter pattern. This action inserts an empty pattern which can be edited.

Add Class...

Allows to add classes to be filtered. This action opens the Open Type dialog to choose a type to be filtered in the stack traces.

Add Packages...

Allows to add packages to be filtered. This action opens a package selection dialog to choose the packages to be filtered in the stack traces.

Remove

Removes the currently selected stack trace filter pattern.

Enable All

Enables all stack trace filter patterns.

Disable All

Disables all stack trace filter patterns.

Using JUnit Open type