JUnit Module Settings
To access the settings for the JUnit module:
- Choose Tools
Options from the main window.
- Expand the Testing node and select JUnit Module Settings.
Properties
- Generate Comments in Test Method Bodies. If true, the generated
test bodies include simple hints.
- Generate Default Bodies of Test Methods. If true, the generated
test bodies contain code for printing the name of the function and the message
The test case is empty if the test fails. If false, the test
bodies are empty.
- Generate JavaDoc Comments. If true, every test method contains
a simple JavaDoc comment.
- Generate Suite Classes. If true, suite classes for each package
are generated. The suite classes contain tests from the individual packages
as well as suites from subpackages (if applicable).
- Generate Tests for Default Members Methods. If true, test methods
are generated for methods with default (package private or just package)
member access.
- Generate Tests for Protected Memeber Methods. If true, test
methods are generated for methods with protected member access.
- Generate Tests for Public Member Methods. If true, test methods
are generated for methods with public member access.
- Include Abstract Classes. If true, abstract classes are included
for test generation. If false, abstract classes are skipped.
- Include Exception Classes. If true, exception classes
(classes that implementing java.lang.Throwable) are included for test generation.
If false, exception classes are skipped.
- Include Package Private Classes. If true, classes with package
private (default) access are included for test generation. If false, package
private classes are skipped.
- Show Test Create Configuration Dialog. If true, the configuration
dialog with options for test generation is shown for the Create Tests command.
If false, the tests are generated based on the settings in the system
options for the JUnit module.
- Suite Class Template. The default
suite class template to generate suite classes. You can select a suite class
template from the templates that are available in the JUnit folder of the New wizard.
You can also create your own templates to be used for suite classes.
- Target File System for Tests. The
target filesystem on which tests are created by the JUnit module. You should
use a different filesystem for tests than for actual sources
to be tested so that the tests are not intermingled with your sources.
- Test Class Template. The default
test class template that is used to generate test classes. You can
select a test class template from the templates that are available in the
JUnit folder of the New wizard. You can also create your own templates to be used for test classes.
Expert
Legal Notices