# Package org.gradle.testkit.runner

## Package org.gradle.testkit.runner Description

Support for executing contrived Gradle builds for the purpose of testing build logic.

see:
  GradleRunner

@org.gradle.api.Incubating

- Interface Summary
  Interface | Description
  --- | ---
  BuildResult | The result of executing a build, via the GradleRunner.
  BuildTask | A task that was executed when running a specific build.

- Class Summary
  Class | Description
  --- | ---
  GradleRunner | Executes a Gradle build, allowing inspection of the outcome.

- Enum Summary
  Enum | Description
  --- | ---
  TaskOutcome | The outcome of executing a task during a build.

- Exception Summary
  Exception | Description
  --- | ---
  InvalidPluginMetadataException | Thrown when the plugin under test metadata cannot be read.
  InvalidRunnerConfigurationException | Thrown when a build cannot be executed due to the runner being in an invalid state.
  UnexpectedBuildFailure | Thrown when executing a build that was expected to succeed, but failed.
  UnexpectedBuildResultException | Base class for UnexpectedBuildFailure and UnexpectedBuildSuccess.
  UnexpectedBuildSuccess | Thrown when executing a build that was expected to fail, but succeeded.
  UnsupportedFeatureException | Thrown when a build was executed with a target Gradle version that does not support a specific feature.