TestComponent (Gradle API 8.11)

Package org.gradle.nativeplatform.test

## Interface TestComponent

- All Superinterfaces:
    `Named`, `SoftwareComponent`
  All Known Subinterfaces:
    `CppTestExecutable`, `SwiftXCTestBinary`, `SwiftXCTestBundle`, `SwiftXCTestExecutable`

      public interface TestComponent
      extends SoftwareComponent

  Represents a component that can run tests.
  Since:
    4.5

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.gradle.api.Named

      `Named.Namer`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Provider<? extends Task>` | `getRunTask()` | Returns the task that runs the tests for this component.

    - ### Methods inherited from interface org.gradle.api.Named

      `getName`

- - ### Method Detail

    - #### getRunTask

          Provider<? extends Task> getRunTask()

      Returns the task that runs the tests for this component.