TestComponent (Gradle API 9.4.0)
Description: declaration: package: org.gradle.nativeplatform.test, interface: TestComponent

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

  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 Details

  - ### getRunTask

    Provider<? extends Task> getRunTask()
    Returns the task that runs the tests for this component.