Interface PredictiveTestSelectionExtension
-
@Deprecated public interface PredictiveTestSelectionExtensionDeprecated.since 3.17, replaced byPredictiveTestSelectionConfigurationTask extension for configuring Predictive Test Selection.This extension is added with name "predictiveSelection" to all
Testtasks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePredictiveTestSelectionExtension.MustRunCriteriaDeprecated.since 3.17, replaced byPredictiveTestSelectionConfiguration.MustRunCriteria
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEDeprecated.The name of the extension added to each test task.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Property<java.lang.Boolean>getEnabled()Deprecated.Whether Predictive Test Selection is enabled.Property<java.lang.Boolean>getFallbackToRegularExecutionOnMissingJUnitPlatform()Deprecated.Whether Predictive Test Selection should fall back to regular execution, if JUnit Platform is not enabled.Property<PredictiveTestSelectionMode>getMode()Deprecated.The mode to use for selecting tests.PredictiveTestSelectionExtension.MustRunCriteriagetMustRun()Deprecated.The set of criteria for specifying which tests must always run.Property<PredictiveTestSelectionProfile>getProfile()Deprecated.The selection profile to use for selecting tests.voidmustRun(Action<? super PredictiveTestSelectionExtension.MustRunCriteria> action)Deprecated.The set of criteria for specifying which tests must always run.
-
-
-
Field Detail
-
NAME
static final java.lang.String NAME
Deprecated.The name of the extension added to each test task.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnabled
@Internal Property<java.lang.Boolean> getEnabled()
Deprecated.Whether Predictive Test Selection is enabled.This setting defaults to
false, which results in the task executing tests with the built-in non-distributed test infrastructure.- Returns:
- whether Predictive Test Selection is enabled
-
getMustRun
@Internal PredictiveTestSelectionExtension.MustRunCriteria getMustRun()
Deprecated.The set of criteria for specifying which tests must always run.- Since:
- 3.10
-
mustRun
void mustRun(Action<? super PredictiveTestSelectionExtension.MustRunCriteria> action)
Deprecated.The set of criteria for specifying which tests must always run.- Since:
- 3.10
-
getMode
@Internal Property<PredictiveTestSelectionMode> getMode()
Deprecated.The mode to use for selecting tests.The
pts.modesystem property can be used to configure the mode from the command line unless the mode is configured explicitly in the build script.- Since:
- 3.14
-
getProfile
@Internal Property<PredictiveTestSelectionProfile> getProfile()
Deprecated.The selection profile to use for selecting tests. If not set, a server-side configured default profile will be used.- Since:
- 3.14
-
-