XCTExpectFailureWithOptions

Function XCTExpectFailureWithOptions 

Source
pub extern "C-unwind" fn XCTExpectFailureWithOptions(
    failure_reason: Option<&NSString>,
    options: &XCTExpectedFailureOptions,
)
Expand description

Like XCTExpectFailure, but takes an options object that can be used to customize the behavior.

Parameter options: The options can include a custom issue matching block as well as the ability to disable “strict” behavior, which relaxes the requirement that a call to XCTExpectFailure must be matched against at least one recorded issue.