An expected outcome in an asynchronous test.
On This Page
@interface XCTestExpectation : NSObject
Creates a new XCTestExpectation with the provided description.
A human readable string used to describe the expectation in log output and test reports.
Marks the expectation as having been met.
The number of times fulfill must be called before the expectation is completely fulfilled.
Indicates that an assertion should be triggered during testing if the expectation is over-fulfilled.
Indicates that the expectation is not intended to happen.
Verify that asynchronous operations behave as expected.