IsInUITestLaunchEnvironment

public struct IsInUITestLaunchEnvironment : LaunchEnvironmentWithSingleValue, AutoMateLaunchEnvironment

Launch environment informing application that is running in UI test.

Example:

let isInUITest = IsInUITestLaunchEnvironment()
  • Initialize launch option. By default inform application that it is running in UI test (true).

    Declaration

    Swift

    public init(inUITest: Value = true)

    Parameters

    running

    true (default) if the application should know if it is running in UI test.