Skip to content

STRUCT

TestableTarget ​

Contents

  • Properties
    • target
    • isSkipped
    • isParallelizable
    • isRandomExecutionOrdering
  • Methods
    • init(target:skipped:parallelizable:randomExecutionOrdering:)
    • init(stringLiteral:)
swift
public struct TestableTarget: Equatable, Hashable, Codable, ExpressibleByStringInterpolation

Testable target describe target and tests information.

Properties ​

target ​

swift
public var target: TargetReference

The target name and its project path.

isSkipped ​

swift
public var isSkipped: Bool

Skip test target from TestAction.

isParallelizable ​

swift
public var isParallelizable: Bool

Execute tests in parallel.

isRandomExecutionOrdering ​

swift
public var isRandomExecutionOrdering: Bool

Execute tests in random order.

Methods ​

init(target:skipped:parallelizable:randomExecutionOrdering:) ​

swift
public init(
    target: TargetReference,
    skipped: Bool = false,
    parallelizable: Bool = false,
    randomExecutionOrdering: Bool = false
)

init(stringLiteral:) ​

swift
public init(stringLiteral value: String)

Parameters ​

NameDescription
valueThe value of the new instance.