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:
- Right-click the sources for which you wish to create tests.
- Choose Tools > Create JUnit Tests (Ctrl-Shift-U).
- 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:
- Right-click the project's Test Libraries node and choose one of the following:
- Add Project.
The build output, source files, and Javadoc files of another IDE project.
- Add Library. A collection
of binary files, source files, and Javadoc files.
- Add JAR/Folder. A JAR file or folder somewhere on your system.
- 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