expecta
expecta copied to clipboard
A Matcher Framework for Objective-C/Cocoa
It looks like 1.0.6 only includes the macOS framework, when in 1.0.5 the framework zip file was a Carthage folder which included frameworks for both macOS and iOS.
Adding tvOS support with Xcode 8.3
Hi, when I'm getting this build warning ``` warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS =...
My test code: ~~~objc ... it(@"should close info dialog", ^{ [dataModel cancelRequest]; expect(dataModel.isShowingDialog).to.equal(NO); }); ~~~ when`expect(dataModel.isShowingDialog).to.equal(NO);` fail, Xcode didn't highlight it but have fail log, anything I forgot to set?
I've got a test set up to wait for cache to be filled based on requests being sent (mocked via OHHTTPStubs). ``` - (void)test_fetchAdsIfNeeded { [self mockResponseWithBlock:^OHHTTPStubsResponse *{ return [self...
Recently, Kiwi anounced, that they are dropping the support and future development, so I'm thinking about transitioning to Expecta. One thing, that holds me back, is that there are some...
Hi, I am just trying to test if a notification is posted... ``` expect(^{ [[NSNotificationCenter defaultCenter] postNotificationName:@"notificationName" object:nil]; }).to.notify(@"notificationName"); ``` This tests fails with `the expected value is nil/null`, am...
Async testing fails with after() fails with the matcher _beInstanceOf_ while _equal_ works, am I missing something - My code here : - https://github.com/aprofromindia/Airlines-List---Clean-Code/blob/master/Sample%20AppTests/MasterViewControllerSpec.m