Configuring JUnit

See Also 

The IDE enables you to customize the process of test generation as you create tests. You can also edit the list of sources the IDE references when compiling tests.

To edit JUnit settings as you create tests:

  1. Right-click the sources for which you wish to create tests.
  2. Choose Tools > Create JUnit Tests (Ctrl-Shift-U).
  3. In the Create Tests dialog box, select the Code Generation options you require for the tests.

The IDE creates the tests with the specified options.

To edit the classpath for compiling or running tests:

  1. Right-click the project's Test Libraries node and choose one of the following:
  2. Click OK.

    The IDE adjusts and stores the classpath priorities based on the new settings.

See Also
Creating a JUnit Test
Managing the Classpath

Legal Notices