AssertionRecorder
public class AssertionRecorder : AssertionHandler
An AssertionHandler that silently records assertions that Nimble makes. This is useful for testing failure messages for matchers.
@see AssertionHandler
-
All the assertions that were captured by this recorder
Declaration
Swift
public var assertions: [AssertionRecord]
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation)