STRUCT
GeneratedTestPlan.Options
Contents
- Properties
commandLineArgumentEntriesenvironmentVariableEntriestargetForVariableExpansionlanguageregionlocationScenariouiTestingScreenshotsLifetimepreferredScreenCaptureFormatareLocalizationScreenshotsEnableddistributoruserAttachmentLifetimediagnosticCollectionPolicytestExecutionOrderingtestTimeoutsEnableddefaultTestExecutionTimeAllowancemaximumTestExecutionTimeAllowancetestRepetitionModemaximumTestRepetitionsrepeatInNewRunnerProcesscodeCoverageaddressSanitizerthreadSanitizerEnabledundefinedBehaviorSanitizerEnabledmainThreadCheckerDetectionPolicythreadPerformanceCheckerRuntimeIssueDetectionruntimeIssueDetectioncheckedAllocationsmallocScribbleEnabledmallocGuardEdgesEnablednsZombieEnabledmallocStackLoggingOptions
- Methods
init(commandLineArgumentEntries:environmentVariableEntries:targetForVariableExpansion:language:region:locationScenario:uiTestingScreenshotsLifetime:preferredScreenCaptureFormat:areLocalizationScreenshotsEnabled:distributor:userAttachmentLifetime:diagnosticCollectionPolicy:testExecutionOrdering:testTimeoutsEnabled:defaultTestExecutionTimeAllowance:maximumTestExecutionTimeAllowance:testRepetitionMode:maximumTestRepetitions:repeatInNewRunnerProcess:codeCoverage:addressSanitizer:threadSanitizerEnabled:undefinedBehaviorSanitizerEnabled:mainThreadCheckerDetectionPolicy:threadPerformanceCheckerRuntimeIssueDetection:runtimeIssueDetection:checkedAllocations:mallocScribbleEnabled:mallocGuardEdgesEnabled:nsZombieEnabled:mallocStackLoggingOptions:)options(commandLineArgumentEntries:environmentVariableEntries:targetForVariableExpansion:language:region:locationScenario:uiTestingScreenshotsLifetime:preferredScreenCaptureFormat:areLocalizationScreenshotsEnabled:distributor:userAttachmentLifetime:diagnosticCollectionPolicy:testExecutionOrdering:testTimeoutsEnabled:defaultTestExecutionTimeAllowance:maximumTestExecutionTimeAllowance:testRepetitionMode:maximumTestRepetitions:repeatInNewRunnerProcess:codeCoverage:addressSanitizer:threadSanitizerEnabled:undefinedBehaviorSanitizerEnabled:mainThreadCheckerDetectionPolicy:threadPerformanceCheckerRuntimeIssueDetection:runtimeIssueDetection:checkedAllocations:mallocScribbleEnabled:mallocGuardEdgesEnabled:nsZombieEnabled:mallocStackLoggingOptions:)
public struct Options: Codable, Hashable, SendableOptions applied to the generated test plan.
Properties
commandLineArgumentEntries
public var commandLineArgumentEntries: [CommandLineArgumentEntry]?Arguments Passed On Launch
environmentVariableEntries
public var environmentVariableEntries: [VariableEntity]?Environment Variables
targetForVariableExpansion
public var targetForVariableExpansion: TargetReference?Target for Variable Expansion
language
public var language: String?Application Language
region
public var region: String?Application Region
locationScenario
public var locationScenario: LocationScenario?Simulated Location
uiTestingScreenshotsLifetime
public var uiTestingScreenshotsLifetime: UITestingScreenshotsLifetime?Automatic Screen Capture
preferredScreenCaptureFormat
public var preferredScreenCaptureFormat: PreferredScreenCaptureFormat?Preferred Capture Format
areLocalizationScreenshotsEnabled
public var areLocalizationScreenshotsEnabled: Bool?Localization Screenshots
distributor
public var distributor: Distributor?Distribution
userAttachmentLifetime
public var userAttachmentLifetime: UserAttachmentLifetime?Attachments
diagnosticCollectionPolicy
public var diagnosticCollectionPolicy: DiagnosticCollectionPolicy?Collect Test Diagnostics on Failure
testExecutionOrdering
public var testExecutionOrdering: TestExecutionOrdering?XCTest Execution Order
testTimeoutsEnabled
public var testTimeoutsEnabled: Bool?Test Timeouts
defaultTestExecutionTimeAllowance
public var defaultTestExecutionTimeAllowance: Int?Default Test Execution Time Allowance (s) (default: 600)
maximumTestExecutionTimeAllowance
public var maximumTestExecutionTimeAllowance: Int?Maximum Test Execution Time Allowance (s) (default: None)
testRepetitionMode
public var testRepetitionMode: TestRepetitionMode?Test Repetition Mode
maximumTestRepetitions
public var maximumTestRepetitions: Int?Maximum Test Repetitions (default: 3)
repeatInNewRunnerProcess
public var repeatInNewRunnerProcess: Bool?Relaunch Tests for Each Repetition
codeCoverage
public var codeCoverage: Coverage?Code Coverage
addressSanitizer
public var addressSanitizer: AddressSanitizer?Address Sanitizer
threadSanitizerEnabled
public var threadSanitizerEnabled: Bool?Thread Sanitizer
undefinedBehaviorSanitizerEnabled
public var undefinedBehaviorSanitizerEnabled: Bool?Undefined Behavior Sanitizer
mainThreadCheckerDetectionPolicy
public var mainThreadCheckerDetectionPolicy: RuntimeApiChecking?Main Thread Checker
threadPerformanceCheckerRuntimeIssueDetection
public var threadPerformanceCheckerRuntimeIssueDetection: RuntimeApiChecking?Thread Performance Checker
runtimeIssueDetection
public var runtimeIssueDetection: RuntimeApiChecking?Other Runtime Issues
checkedAllocations
public var checkedAllocations: CheckedAllocations?Hardware Memory Tagging
mallocScribbleEnabled
public var mallocScribbleEnabled: Bool?Malloc Scribble
mallocGuardEdgesEnabled
public var mallocGuardEdgesEnabled: Bool?Malloc Guard Edges
nsZombieEnabled
public var nsZombieEnabled: Bool?Zombie Objects
mallocStackLoggingOptions
public var mallocStackLoggingOptions: MallocStackLoggingOptions?Malloc Stack Logging
Methods
init(commandLineArgumentEntries:environmentVariableEntries:targetForVariableExpansion:language:region:locationScenario:uiTestingScreenshotsLifetime:preferredScreenCaptureFormat:areLocalizationScreenshotsEnabled:distributor:userAttachmentLifetime:diagnosticCollectionPolicy:testExecutionOrdering:testTimeoutsEnabled:defaultTestExecutionTimeAllowance:maximumTestExecutionTimeAllowance:testRepetitionMode:maximumTestRepetitions:repeatInNewRunnerProcess:codeCoverage:addressSanitizer:threadSanitizerEnabled:undefinedBehaviorSanitizerEnabled:mainThreadCheckerDetectionPolicy:threadPerformanceCheckerRuntimeIssueDetection:runtimeIssueDetection:checkedAllocations:mallocScribbleEnabled:mallocGuardEdgesEnabled:nsZombieEnabled:mallocStackLoggingOptions:)
public init(
commandLineArgumentEntries: [CommandLineArgumentEntry]?,
environmentVariableEntries: [VariableEntity]?,
targetForVariableExpansion: TargetReference?,
language: String?,
region: String?,
locationScenario: LocationScenario?,
uiTestingScreenshotsLifetime: UITestingScreenshotsLifetime?,
preferredScreenCaptureFormat: PreferredScreenCaptureFormat?,
areLocalizationScreenshotsEnabled: Bool?,
distributor: Distributor?,
userAttachmentLifetime: UserAttachmentLifetime?,
diagnosticCollectionPolicy: DiagnosticCollectionPolicy?,
testExecutionOrdering: TestExecutionOrdering?,
testTimeoutsEnabled: Bool?,
defaultTestExecutionTimeAllowance: Int?,
maximumTestExecutionTimeAllowance: Int?,
testRepetitionMode: TestRepetitionMode?,
maximumTestRepetitions: Int?,
repeatInNewRunnerProcess: Bool?,
codeCoverage: Coverage?,
addressSanitizer: AddressSanitizer?,
threadSanitizerEnabled: Bool?,
undefinedBehaviorSanitizerEnabled: Bool?,
mainThreadCheckerDetectionPolicy: RuntimeApiChecking?,
threadPerformanceCheckerRuntimeIssueDetection: RuntimeApiChecking?,
runtimeIssueDetection: RuntimeApiChecking?,
checkedAllocations: CheckedAllocations?,
mallocScribbleEnabled: Bool?,
mallocGuardEdgesEnabled: Bool?,
nsZombieEnabled: Bool?,
mallocStackLoggingOptions: MallocStackLoggingOptions?,
)options(commandLineArgumentEntries:environmentVariableEntries:targetForVariableExpansion:language:region:locationScenario:uiTestingScreenshotsLifetime:preferredScreenCaptureFormat:areLocalizationScreenshotsEnabled:distributor:userAttachmentLifetime:diagnosticCollectionPolicy:testExecutionOrdering:testTimeoutsEnabled:defaultTestExecutionTimeAllowance:maximumTestExecutionTimeAllowance:testRepetitionMode:maximumTestRepetitions:repeatInNewRunnerProcess:codeCoverage:addressSanitizer:threadSanitizerEnabled:undefinedBehaviorSanitizerEnabled:mainThreadCheckerDetectionPolicy:threadPerformanceCheckerRuntimeIssueDetection:runtimeIssueDetection:checkedAllocations:mallocScribbleEnabled:mallocGuardEdgesEnabled:nsZombieEnabled:mallocStackLoggingOptions:)
public static func options(
commandLineArgumentEntries: [CommandLineArgumentEntry]? = nil,
environmentVariableEntries: [VariableEntity]? = nil,
targetForVariableExpansion: TargetReference? = nil,
language: String? = nil,
region: String? = nil,
locationScenario: LocationScenario? = nil,
uiTestingScreenshotsLifetime: UITestingScreenshotsLifetime? = nil,
preferredScreenCaptureFormat: PreferredScreenCaptureFormat? = nil,
areLocalizationScreenshotsEnabled: Bool? = nil,
distributor: Distributor? = nil,
userAttachmentLifetime: UserAttachmentLifetime? = nil,
diagnosticCollectionPolicy: DiagnosticCollectionPolicy? = nil,
testExecutionOrdering: TestExecutionOrdering? = nil,
testTimeoutsEnabled: Bool? = nil,
defaultTestExecutionTimeAllowance: Int? = nil,
maximumTestExecutionTimeAllowance: Int? = nil,
testRepetitionMode: TestRepetitionMode? = nil,
maximumTestRepetitions: Int? = nil,
repeatInNewRunnerProcess: Bool? = nil,
codeCoverage: Coverage? = nil,
addressSanitizer: AddressSanitizer? = nil,
threadSanitizerEnabled: Bool? = nil,
undefinedBehaviorSanitizerEnabled: Bool? = nil,
mainThreadCheckerDetectionPolicy: RuntimeApiChecking? = nil,
threadPerformanceCheckerRuntimeIssueDetection: RuntimeApiChecking? = nil,
runtimeIssueDetection: RuntimeApiChecking? = nil,
checkedAllocations: CheckedAllocations? = nil,
mallocScribbleEnabled: Bool? = nil,
mallocGuardEdgesEnabled: Bool? = nil,
nsZombieEnabled: Bool? = nil,
mallocStackLoggingOptions: MallocStackLoggingOptions? = nil,
) -> Self