Interface SwiftXCTestBinary

All Superinterfaces:
ComponentWithDependencies, ComponentWithNativeRuntime, ComponentWithObjectFiles, Named, SoftwareComponent, SwiftBinary, TestComponent
All Known Subinterfaces:
SwiftXCTestBundle, SwiftXCTestExecutable

public interface SwiftXCTestBinary extends SwiftBinary, TestComponent
An test binary built from Swift source.
Since:
4.4
  • Method Details

    • getExecutableFile

      Provider<RegularFile> getExecutableFile()
      Returns the executable test file for this binary.
      Since:
      4.5
    • getInstallDirectory

      Provider<Directory> getInstallDirectory()
      Returns the installation directory for this binary.
      Since:
      4.4
    • getRunScriptFile

      Provider<RegularFile> getRunScriptFile()
      Returns the script for running this binary.
      Since:
      4.4
    • getLinkTask

      Provider<? extends AbstractLinkTask> getLinkTask()
      Returns the link task for this binary.
      Since:
      4.5
    • getRunTask

      Provider<? extends XCTest> getRunTask()
      Returns the task that runs the tests for this component.
      Specified by:
      getRunTask in interface TestComponent