Interface PredictiveTestSelectionExtension
Deprecated.
Task extension for configuring Predictive Test Selection.
This extension is added with name "predictiveSelection" to all Test
tasks.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Deprecated.since 3.17, replaced byPredictiveTestSelectionConfiguration.MustRunCriteria
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Whether Predictive Test Selection is enabled.Deprecated.Whether Predictive Test Selection should fall back to regular execution, if JUnit Platform is not enabled.getMode()
Deprecated.The mode to use for selecting tests.Deprecated.The set of criteria for specifying which tests must always run.Deprecated.The selection profile to use for selecting tests.void
mustRun
(Action<? super PredictiveTestSelectionExtension.MustRunCriteria> action) Deprecated.The set of criteria for specifying which tests must always run.
-
Field Details
-
NAME
Deprecated.The name of the extension added to each test task.- See Also:
-
-
Method Details
-
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
Deprecated.The set of criteria for specifying which tests must always run.- Since:
- 3.10
-
mustRun
Deprecated.The set of criteria for specifying which tests must always run.- Since:
- 3.10
-
getMode
Deprecated.The mode to use for selecting tests.The
pts.mode
system 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
Deprecated.The selection profile to use for selecting tests. If not set, a server-side configured default profile will be used.- Since:
- 3.14
-
getFallbackToRegularExecutionOnMissingJUnitPlatform
Deprecated.Whether Predictive Test Selection should fall back to regular execution, if JUnit Platform is not enabled.- Since:
- 3.15.2
-
PredictiveTestSelectionConfiguration