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

NameAccepted values / data typeDescriptionRequired
compilationCompilation
No
compilationsList
No
dataUpdateString

Allows you to manually update compilation data collected from the build.

User property is: jtest.dataUpdate

No
Jtest Goals Reference for GradleString

The name of a built-in, DTP, or user-defined test configuration.

User property is: jtest.config

No
excludeString
No
excludes

No
excludeTestSourcestrue | false
No
failtrue | false

Fails the build if any violation is reported.

Default value is: false

User property is: jtest.fail

No
homePath
Recommended
ignoredIds

No
includeString
No
includes

No
publishtrue | false
No
reportPath
No
resourceString
No
resourcesList
No
settingsPath
No
settingsList

No
showDetailstrue | false
No
showSettingstrue | false
No
projectNameTemplateString
No
skiptrue | false
No


Parameter Details


config

The name of a test configuration. The following configuration types are supported:

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


Parameter Type Details

Compilation - Compilation Type



Resources - List Type



Exclude - String Type







jtest-agent



jtest-monitor



jtest-instrument (deprecated)