Interface DevelocityTestConfiguration
public interface DevelocityTestConfiguration
The DSL extension for configuring Develocity testing features, with the name
develocity
.
tasks.test {
develocity {
// Develocity configuration
testDistribution {
enabled.set(true)
}
predictiveTestSelection {
enabled.set(true)
}
testRetry {
maxRetries.set(2)
}
}
}
- Since:
- 3.17
-
Method Summary
Modifier and TypeMethodDescriptionThe Predictive Test Selection configuration.The Test Distribution configuration.The test retry configuration.void
predictiveTestSelection
(Action<? super PredictiveTestSelectionConfiguration> action) Configure Predictive Test Selection.void
testDistribution
(Action<? super TestDistributionConfiguration> action) Configure Test Distribution.void
testRetry
(Action<? super TestRetryConfiguration> action) Configure test retries.
-
Method Details
-
getPredictiveTestSelection
PredictiveTestSelectionConfiguration getPredictiveTestSelection()The Predictive Test Selection configuration.- Returns:
- the Predictive Test Selection configuration
-
predictiveTestSelection
Configure Predictive Test Selection.- Parameters:
action
- the configuration action
-
getTestDistribution
TestDistributionConfiguration getTestDistribution()The Test Distribution configuration.- Returns:
- the Test Distribution configuration
-
testDistribution
Configure Test Distribution.- Parameters:
action
- the configuration action
-
getTestRetry
TestRetryConfiguration getTestRetry()The test retry configuration.- Returns:
- the test retry configuration
-
testRetry
Configure test retries.- Parameters:
action
- the configuration action
-