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"]
  • 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
  • Launch environment variables provided by this option.

    Declaration

    Swift

    public var launchEnvironments: [String: String]?
  • Initialize structure with dictionary of keys and values.

    Declaration

    Swift

    public init(dictionaryLiteral elements: (Key, Value)...)

    Parameters

    elements

    Dictionary of keys and values.