Interface GradlePluginDevelopmentTestSuite

  • All Superinterfaces:
    org.gradle.api.plugins.ExtensionAware, org.gradle.api.Named

    public interface GradlePluginDevelopmentTestSuite
    extends org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware
    • Method Detail

      • getSourceSet

        org.gradle.api.provider.Property<org.gradle.api.tasks.SourceSet> getSourceSet()
        Configure the test suite source set.
        Returns:
        a property for configuring the SourceSet, never null
      • getTestedSourceSet

        org.gradle.api.provider.Property<org.gradle.api.tasks.SourceSet> getTestedSourceSet()
        Configure the Gradle plugin source set to test by this test suite.
        Returns:
        a property for configuring the SourceSet
      • getPluginUnderTestMetadataTask

        org.gradle.api.tasks.TaskProvider<org.gradle.plugin.devel.tasks.PluginUnderTestMetadata> getPluginUnderTestMetadataTask()
        Returns plugin under test metadata generator task for this test suite. Use GradlePluginDevelopmentTestSuiteDependencies.pluginUnderTestMetadata(Object) to add plugin classpath.
        Returns:
        generator task for plugin-under-test-metadata.properties file, never null
      • getDisplayName

        java.lang.String getDisplayName()
        Returns a human-readable name for this test suite.
        Returns:
        a human-readable name, never null
      • getTestTasks

        TaskView<org.gradle.api.tasks.testing.Test> getTestTasks()
      • finalizeComponent

        void finalizeComponent()
        Finalize this component. Upon finalizing, the test suite will calculate its final testing strategies and create all of its test tasks. Once the component is finalized, users cannot change any of component properties.