IPR
Last modified: 20 April 2023This page contains reference information about the IPR Build Runner fields.
Option | Description |
---|---|
Build runner | Select Ipr from the combobox. This runner generates JUnit task for the tests in project. |
JUnit Test Runner Settings
tip
JUnit test settings map to the attributes of JUnit task. For details, refer to http://ant.apache.org/manual/OptionalTasks/junit.html
Option | Description |
---|---|
Test patterns | Click the Type test patterns link, and specify the required test patterns in a text area. These patterns are used to generate parameters of the batchtest JUnit task section. Each pattern generates either include or exclude section. These patterns are also used to compose classpath for the test run. Each module mentioned in the patterns adds its classpath to the whole classpath. Each pattern should be placed on a separate line and has the following format: where:
|
By default the whole classpath is composed of all classpaths of the modules used to get tests from. The following two options define whether you will use the default classpath, or take it from the specified module. | |
If this option is checked, you can define test classpath from a single, explicitly specified module. | |
If the option Override classpath in tests is checked, you have to specify the module, where the classpath to be used for tests is specified. | |
Select the desired fork mode from the combobox:
| |
Check this option, if you want a new classloader to be instantiated for each test case. This option is available only if Do not fork option is selected. | |
Check this option to add Ant classes, required to run JUnit tests. This option is available if fork mode is enabled (Fork per test or Fork once). | |
Specify the command that will be used to invoke JVM. This option is available if fork mode is enabled (Fork per test or Fork once). | |
Check this option, if you want the build to stop if an error occurs during test run. | |
Specify JVM parameters to be passed to JUnit task. | |
Tests working directory | Specify the path to the working directory for tests. |
Tests timeout | Specify the lapse of time in milliseconds, after which test will be canceled. This value is ignored, if Do not fork option is selected. |
Verbose Ant | Check this option, if the generated JUnit task has to produce verbose output in ant terms. |
Thanks for your feedback!