Classes
The following classes are available globally.
-
AssertionDispatcher allows multiple AssertionHandlers to receive assertion messages.
@warning Does not fully dispatch if one of the handlers raises an exception. This is possible with XCTest-based assertion handlers.
See moreDeclaration
Swift
public class AssertionDispatcher : AssertionHandler
-
An AssertionHandler that silently records assertions that Nimble makes. This is useful for testing failure messages for matchers.
@see AssertionHandler
See moreDeclaration
Swift
public class AssertionRecorder : AssertionHandler
-
Undocumented
See moreDeclaration
Swift
public class NMBExpectation : NSObject
-
Default handler for Nimble. This assertion handler passes failures along to XCTest.
See moreDeclaration
Swift
public class NimbleXCTestHandler : AssertionHandler
-
Alternative handler for Nimble. This assertion handler passes failures along to XCTest by attempting to reduce the failure message size.
See moreDeclaration
Swift
public class NimbleShortXCTestHandler : AssertionHandler
-
Helper class providing access to the currently executing XCTestCase instance, if any
See moreDeclaration
Swift
@objc final public class CurrentTestCaseTracker : NSObject, XCTestObservation
-
Only classes, protocols, methods, properties, and subscript declarations can be bridges to Objective-C via the @objc keyword. This class encapsulates callback-style asynchronous waiting logic so that it may be called from Objective-C and Swift.
See moreDeclaration
Swift
public class NMBWait : NSObject
-
Undocumented
See moreDeclaration
Swift
public class NMBExpectationMessage : NSObject
-
Encapsulates the failure message that matchers can report to the end user.
This is shared state between Nimble and matchers that mutate this value.
See moreDeclaration
Swift
public class FailureMessage : NSObject
-
Undocumented
See moreDeclaration
Swift
public class NMBMatcher : NSObject
-
Undocumented
See moreDeclaration
Swift
public class NMBObjCBeCloseToMatcher : NMBMatcher
-
Undocumented
See moreDeclaration
Swift
final public class NMBMatcherResult : NSObject
-
Undocumented
See moreDeclaration
Swift
final public class NMBMatcherStatus : NSObject
-
Undocumented
See moreDeclaration
Swift
public class NMBObjCRaiseExceptionMatcher : NMBMatcher
-
Without Mach exceptions or the Objective-C runtime, there’s nothing to put in the exception object. It’s really just a boolean – either a SIGILL was caught or not.
-
Undocumented
See moreDeclaration
Swift
public final class SourceLocation : NSObject
-
Undocumented
See moreDeclaration
Swift
@objc public class NMBStringer : NSObject