This section provides information about the Jtest goals for Gradle and their parameters. The following goals are available:
jtest
The Gradle task to execute Jtest.
Attributes
Name | Accepted values / data type | Description | Required |
---|---|---|---|
compilation | Compilation | No | |
compilations | List | No | |
dataUpdate | String | Allows you to manually update compilation data collected from the build. User property is: | No |
Jtest Goals Reference for Gradle | String | The name of a built-in, DTP, or user-defined test configuration. User property is: | No |
exclude | String | No | |
excludes | No | ||
excludeTestSources | true | false | No | |
fail | true | false | Fails the build if any violation is reported. Default value is: User property is: | No |
home | Path | Recommended | |
ignoredIds | No | ||
include | String | No | |
includes | No | ||
publish | true | false | No | |
report | Path | No | |
resource | String | No | |
resources | List | No | |
settings | Path | No | |
settingsList | No | ||
showDetails | true | false | No | |
showSettings | true | false | No | |
projectNameTemplate | String | No | |
skip | true | false | No |
Parameter Details
config
The name of a test configuration. The following configuration types are supported:
- built-in test configurations, for example
"builtin://Recommended Rules"
- dtp test configurations, for example
"dtp://New Config"
- user-defined test configurations, for example
"user://Your Config"
User-defined test configurations should be stored in the [INSTALL_DIR]/configs/user directory as *.properties files.
- Type: java.lang.String
- Since: 1.0.0
- Required: No
- User property:
jtest.config