Interface PredictiveTestSelectionExtension


@Deprecated public interface PredictiveTestSelectionExtension
Deprecated.
since 3.17, replaced by PredictiveTestSelectionConfiguration
Task extension for configuring Predictive Test Selection.

This extension is added with name "predictiveSelection" to all Test tasks.

  • Field Details

  • Method Details

    • getEnabled

      @Internal Property<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

      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

      @Internal Property<Boolean> getFallbackToRegularExecutionOnMissingJUnitPlatform()
      Deprecated.
      Whether Predictive Test Selection should fall back to regular execution, if JUnit Platform is not enabled.
      Since:
      3.15.2