api / org.gradle.nativeplatform.test / NativeTestSuiteSpec

NativeTestSuiteSpec

@Incubating interface NativeTestSuiteSpec : TestSuiteSpec, NativeComponentSpec

A component representing a suite of tests that will be executed together.

Since
4.2

Functions

getTestedComponent

abstract fun getTestedComponent(): NativeComponentSpec

Inherited Functions

getBaseName

abstract fun getBaseName(): String

The name that is used to construct the output file names when building this component.

setBaseName

abstract fun setBaseName(baseName: String): Unit

Sets the name that is used to construct the output file names when building this component.

setTestedComponent

abstract fun setTestedComponent(testedComponent: ComponentSpec): Unit

Sets the tested component.

testing

abstract fun testing(testedComponent: ComponentSpec): Unit

Sets the tested component.

Inheritors

CUnitTestSuiteSpec

interface CUnitTestSuiteSpec : NativeTestSuiteSpec

Test suite of CUnit tests.

GoogleTestTestSuiteSpec

interface GoogleTestTestSuiteSpec : NativeTestSuiteSpec

Test suite of Google Test tests.