api / org.gradle.testing.base / TestSuiteBinarySpec

TestSuiteBinarySpec

@Incubating interface TestSuiteBinarySpec : BinarySpec

A binary which runs a suite of tests.

Functions

getTestSuite

abstract fun getTestSuite(): TestSuiteSpec

Returns the test suite that this binary belongs to.

getTestedBinary

abstract fun getTestedBinary(): BinarySpec

Returns the binary tested by this test suite.

Inherited Functions

getInputs

abstract fun getInputs(): DomainObjectSet<LanguageSourceSet>

Returns all inputs of the binary. This includes source sets owned by the binary, and other source sets created elsewhere (e.g. inherited from the binary's component).

getSources

abstract fun getSources(): ModelMap<LanguageSourceSet>

The sources owned by this binary.

getTasks

abstract fun getTasks(): BinaryTasksCollection

The set of tasks associated with this binary.

isBuildable

abstract fun isBuildable(): Boolean

Can this binary be built in the current environment?

Inheritors

JvmTestSuiteBinarySpec

interface JvmTestSuiteBinarySpec : TestSuiteBinarySpec, JvmBinarySpec, WithDependencies

Base type of JVM test suite binaries.

NativeTestSuiteBinarySpec

interface NativeTestSuiteBinarySpec : TestSuiteBinarySpec, NativeBinarySpec

An executable which runs a suite of tests.