# SwiftXCTestBinary

interface SwiftXCTestBinary : SwiftBinary, TestComponent

An test binary built from Swift source.

#### Since

4.4

#### Inheritors

SwiftXCTestExecutable
SwiftXCTestBundle

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
getCompileModules
Link copied to clipboard
abstract fun getCompileModules(): FileCollection
getCompileTask
Link copied to clipboard
abstract fun getCompileTask(): Provider<SwiftCompile>
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
getExecutableFile
Link copied to clipboard
abstract fun getExecutableFile(): Provider<RegularFile>
Returns the executable test file for this binary.
getInstallDirectory
Link copied to clipboard
abstract fun getInstallDirectory(): Provider<Directory>
Returns the installation directory for this binary.
getLinkLibraries
Link copied to clipboard
abstract fun getLinkLibraries(): FileCollection
getLinkTask
Link copied to clipboard
abstract fun getLinkTask(): Provider<out AbstractLinkTask>
Returns the link task for this binary.
getModule
Link copied to clipboard
abstract fun getModule(): Provider<String>
getModuleFile
Link copied to clipboard
abstract fun getModuleFile(): Provider<RegularFile>
getName
Link copied to clipboard
abstract fun getName(): String
getObjects
Link copied to clipboard
abstract fun getObjects(): FileCollection
getRunScriptFile
Link copied to clipboard
abstract fun getRunScriptFile(): Provider<RegularFile>
Returns the script for running this binary.
getRunTask
Link copied to clipboard
abstract fun getRunTask(): Provider<out XCTest>
getRuntimeLibraries
Link copied to clipboard
abstract fun getRuntimeLibraries(): FileCollection
getSwiftSource
Link copied to clipboard
abstract fun getSwiftSource(): FileCollection
getTargetMachine
Link copied to clipboard
abstract fun getTargetMachine(): TargetMachine
getTargetPlatform
Link copied to clipboard
abstract fun getTargetPlatform(): SwiftPlatform
getToolChain
Link copied to clipboard
abstract fun getToolChain(): NativeToolChain
isDebuggable
Link copied to clipboard
abstract fun isDebuggable(): Boolean
isOptimized
Link copied to clipboard
abstract fun isOptimized(): Boolean
isTestable
Link copied to clipboard
abstract fun isTestable(): Boolean