Nimble matchers for Promissum promises. These allow you to easily write expressive tests that produce useful failure messages when working with promises.
let promise = computeTheMeaningOfLife()
expect(promise).to(bePending())
expect(promise).toEventually(beResolved())
expect(promise).toNot(beRejected())
expect(promise.value).to(equal(42))
Nimble-Promissum is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Nimble-Promissum"
Brian Croom, brian.s.croom@gmail.com
Nimble-Promissum is available under the MIT license. See the LICENSE file for more info.