api / org.gradle.nativeplatform.test / TestComponent

TestComponent

@Incubating interface TestComponent : SoftwareComponent

Represents a component that can run tests.

Since
4.5

Functions

getRunTask

abstract fun getRunTask(): Provider<out Task>

Returns the task that runs the tests for this component.

Inheritors

CppTestExecutable

interface CppTestExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, TestComponent

A test executable with tests implemented in C++.

SwiftXCTestBinary

interface SwiftXCTestBinary : SwiftBinary, TestComponent

An test binary built from Swift source.