# SwiftXCTestSuite

interface SwiftXCTestSuite : SwiftComponent, TestSuiteComponent(source)

A XCTest suite, implemented in Swift.

#### Since

4.2

## Functions

getBinaries
Link copied to clipboard
abstract fun getBinaries(): BinaryCollection<out SoftwareComponent>
Returns the binaries of this component.
abstract fun getBinaries(): BinaryCollection<out SwiftXCTestBinary>
Returns the binaries for this library.
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
Returns the dependencies of this component.
getImplementationDependencies
Link copied to clipboard
abstract fun getImplementationDependencies(): Configuration
Returns the implementation dependencies of this component.
getModule
Link copied to clipboard
abstract fun getModule(): Property<String>
Defines the Swift module for this component.
getName
Link copied to clipboard
abstract fun getName(): String
The object's name.
getSource
Link copied to clipboard
abstract fun getSource(): ConfigurableFileCollection
Defines the source files or directories of this component.
getSourceCompatibility
Link copied to clipboard
abstract fun getSourceCompatibility(): Property<SwiftVersion>
Returns the Swift language level to use to compile the source files.
getSwiftSource
Link copied to clipboard
abstract fun getSwiftSource(): FileCollection
Returns the Swift source files of this component, as defined in getSource.
getTargetMachines
Link copied to clipboard
abstract fun getTargetMachines(): SetProperty<TargetMachine>
Specifies the target machines this component should be built for.
getTestBinary
Link copied to clipboard
abstract fun getTestBinary(): Provider<out SwiftXCTestBinary>
Returns the binary to use as the default to run this test suite.
source
Link copied to clipboard
abstract fun source(action: Action<in ConfigurableFileCollection>)
Configures the source files or directories for this component.