Mockingbird Documentation 0.17.0

Function MKBFail(_:​is​Fatal:​file:​line:​)

public func MKBFail(_ message: String, isFatal: Bool = false,
                    file: StaticString = #file, line: UInt = #line)  

Called by Mockingbird on test assertion failures.

Parameters

message String

A description of the failure.

is​Fatal Bool

If true, test case execution should not continue.

file Static​String

The file where the failure occurred.

line UInt

The line in the file where the failure occurred.