XCTWaiterDelegate
Defines methods that are called when Xctwaiter expectations are fulfilled correctly or incorrectly.
Declaration
protocol XCTWaiterDelegate : NSObjectProtocolOverview
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.