Package dev.gradleplugins
Interface GradlePluginTestingStrategy
-
- All Superinterfaces:
org.gradle.api.Named
- All Known Subinterfaces:
CompositeGradlePluginTestingStrategy,GradleVersionCoverageTestingStrategy
public interface GradlePluginTestingStrategy extends org.gradle.api.NamedA testing strategy for a Gradle plugin project test suite.- See Also:
GradlePluginDevelopmentTestSuite
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGradlePluginTestingStrategy.Spec<T extends GradlePluginTestingStrategy>Represents specification forGradlePluginTestingStrategy.
-
Method Summary
Static Methods Modifier and Type Method Description static org.gradle.api.provider.Provider<GradlePluginTestingStrategy>testingStrategy(org.gradle.api.tasks.testing.Test task)Type-safe accessor to the testingStrategy extension onTesttask.
-
-
-
Method Detail
-
testingStrategy
static org.gradle.api.provider.Provider<GradlePluginTestingStrategy> testingStrategy(org.gradle.api.tasks.testing.Test task) throws org.gradle.api.UnknownDomainObjectException
Type-safe accessor to the testingStrategy extension onTesttask.- Parameters:
task- the test task, must not be null- Returns:
- a
Providerfor the testing strategy of the specifiedTesttask. - Throws:
org.gradle.api.UnknownDomainObjectException- when testingStrategy extension is not present
-
-