@groovy.transform.CompileStatic @groovy.transform.ToString(includeNames: true, includeSuperFields: true, includeSuperProperties: true) @groovy.transform.EqualsAndHashCode class FullTestDefinition extends BasicTestDefinition
Carries all of the data for a test definition in order to generate data files.
| Type | Name and description |
|---|---|
java.util.List<String> |
argumentsList of arguments to be passed to the Gradle process |
Boolean |
cleanCacheWhether the Gradle local cache should be cleaned before the test starts |
String |
configurationCacheConfiguration cache setting. |
Boolean |
debugWhether the test should enable debugging. |
String |
defaultTaskThe name of the task that needs to be executed |
java.util.List<String> |
deprecationWarningsList of deprecation warnings to fail on. |
java.util.Optional<String> |
gradleDistributionUriURI to load distributions from. |
java.util.Optional<File> |
manifestFileWhether a custom manifest file should be used. |
String |
packageNameName of the test package |
File |
projectDirDirectory where project will be executed from |
File |
targetDirDirectory where source is generated into |
File |
testKitDirDirectory where test kit data must be written to if it is shared between projects. |
Boolean |
willFailThis test is expected to fail. |
| Constructor and description |
|---|
FullTestDefinition
(BasicTestDefinition btd) |
List of arguments to be passed to the Gradle process
Whether the Gradle local cache should be cleaned before the test starts
Configuration cache setting. Can be empty, 'fail' or 'warn'
Whether the test should enable debugging.
The name of the task that needs to be executed
List of deprecation warnings to fail on. If empty, no checks will be performed.
URI to load distributions from.
Whether a custom manifest file should be used.
Name of the test package
Directory where project will be executed from
Directory where source is generated into
Directory where test kit data must be written to if it is shared between projects.
This test is expected to fail.
Groovy Documentation