timeLimit
The maximum amount of time this test’s cases may run for.
Declaration
var timeLimit: Duration? { get }Discussion
Associate a time limit with tests by using timeLimit(_:).
If a test has more than one time limit associated with it, the value of this property is the shortest one. If a test has no time limits associated with it, the value of this property is nil.