executionTimeAllowance
The number of seconds, rounded up to the nearest minute, for a test to run before it fails with a timeout error.
Declaration
var executionTimeAllowance: TimeInterval { get set }Discussion
If the duration of a test exceeds this value, it’s marked as a failure and the next test runs. The default value is 600 seconds, or 10 minutes. The test rounds up the value you supply to the nearest minute.
Use this property to guard against long-running or hanging tests; use performance tests to precisely measure execution time and guard against regressions.
To use this setting, enable timeouts in your test plan or set the -test-timeouts-enabled option to YES when using xcodebuild.