LaunchEnvironments
public struct LaunchEnvironments : LaunchEnvironmentProtocol, ExpressibleByDictionaryLiteral
Most basic and generic structure to pass (key: value)
pairs through TestLauncher
.
Example:
let launchEnvironmentDictionary: LaunchEnvironments = ["CORPORATION_KEY": "PGS", "PROJECT_KEY": "AutoMate"]
-
Declaration
Swift
public typealias Key = String
-
Declaration
Swift
public typealias Value = String
-
Data passed as value for environment variable
Declaration
Swift
public let data: [String : String]
-
Unique value to use when comparing with other launch options.
Declaration
Swift
public var uniqueIdentifier: String { get }
-
Launch environment variables provided by this option.
Declaration
Swift
public var launchEnvironments: [String : String]? { get }