TestComponent (Gradle API 4.9)
Date: 2018-07-16

org.gradle.nativeplatform.test

## Interface TestComponent

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

      @Incubating
      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 and 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.