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")
-
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]?
-
Unique value to use when comparing with other launch options.
Declaration
Swift
public var uniqueIdentifier: String