LaunchOption

public protocol LaunchOption

Any type that implements this protocol can be used to configure application with TestLauncher. Type conforming to this protocol should override default implementation of launchArguments or launchEnvironments. Choice depends on which type of configuration option it represents. For more info about launch arguments and environment variables check: here

  • Launch arguments provided by this option.

    Declaration

    Swift

    var launchArguments: [String]? { get }
  • Launch environment variables provided by this option.

    Declaration

    Swift

    var launchEnvironments: [String : String]? { get }
  • uniqueIdentifier Default implementation

    Unique value to use when comparing with other launch options.

    Default Implementation

    Unique value to use when comparing with other launch options.

    Declaration

    Swift

    var uniqueIdentifier: String { get }