Contents

XCTWaiterDelegate

Defines methods that are called when Xctwaiter expectations are fulfilled correctly or incorrectly.

Declaration

protocol XCTWaiterDelegate : NSObjectProtocol

Overview

XCTestCase instances automatically conform to the XCTWaiterDelegate protocol. If you pass a test case instance as the delegate property of XCTWaiter’s init(delegate:) initializer, that test case will automatically report timeouts and other unexpected events as test failures.

Topics

Timeout Events

Order of Fulfillment Events

Inverted Expectation Events

See Also

Responding to Expectation Fulfilment