AssertionRecord
public struct AssertionRecord : CustomStringConvertible
A data structure that stores information about an assertion when AssertionRecorder is set as the Nimble assertion handler.
@see AssertionRecorder @see AssertionHandler
-
Whether the assertion succeeded or failed
Declaration
Swift
public let success: Bool
-
The failure message the assertion would display on failure.
Declaration
Swift
public let message: FailureMessage
-
The source location the expectation occurred on.
Declaration
Swift
public let location: SourceLocation
-
Declaration
Swift
public var description: String { get }