Skip to content

STRUCT

TestingOptions

Contents

swift
public struct TestingOptions: OptionSet, Codable, Equatable, Sendable

Options to configure testing of autogenerated schemes.

Properties

rawValue

swift
public let rawValue: Int

parallelizable

swift
public static let parallelizable = TestingOptions(rawValue: 1 << 0)

Run tests on multiple destinations in parallel

randomExecutionOrdering

swift
public static let randomExecutionOrdering = TestingOptions(rawValue: 1 << 1)

Execute tests in random order

Methods

init(rawValue:)

swift
public init(rawValue: Int)

Parameters

NameDescription
rawValueThe raw value of the option set to create. Each bit of rawValue potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the OptionSet type.

Released under the MIT License.