LaunchEnvironment

public struct LaunchEnvironment : LaunchEnvironmentProtocol

Simple implementation of LaunchEnvironment that wraps single (key: value) pair for TestLauncher.

Example:

let launchEnvironmentOption = LaunchEnvironment(key: "MADE_WITH_LOVE_BY", value: "PGS")
  • Declaration

    Swift

    public typealias Value = String
  • key

    Launch environment key.

    Declaration

    Swift

    public let key: String
  • Launch environment value.

    Declaration

    Swift

    public let value: String
  • Launch environment variables provided by this option.

    Declaration

    Swift

    public var launchEnvironments: [String : String]? { get }
  • Unique value to use when comparing with other launch options.

    Declaration

    Swift

    public var uniqueIdentifier: String { get }
  • Initialize structure with key and value.

    Declaration

    Swift

    public init(key: String, value: String)

    Parameters

    key

    Launch environment key.

    value

    Launch environment value.