OCUnit is a unit testing framework for the Objective-C language and included with Apple's Xcode IDE since Xcode 2.1.
I created OCUnit test in concordance with "iPhone Development Guide". Here is the class I want to test: // myClass.h #…
unit-testing resources ocunit nsbundleWhen I'm running unit tests, I'd like to skip some code (e.g. I don't want [[UIApplication sharedApplication] openURL:..] to …
objective-c ocunit xctestI've been following this blog post: Adding unit tests to existing project. I'm getting this error however: ld: file not …
objective-c ios xcode4 ocunit sentestingkitWhat's the quickest way to compare a NSUInteger with an int (e.g. 5) in objective-c? Background - I'm noting that …
objective-c xcode xcode4 ocunitI've created an iOS unit test target for doing logic tests following the steps provided in Apple's documentation. However my …
testing ios static-libraries ocunitI want to run tests in Xcode 4 using OCUnit without launching the simulator. Please, don't try and convince me I …
objective-c xcode tdd ios-simulator ocunitOK, here's my code in my test class: - (NSManagedObjectContext*)managedObjectContextWithConcurrencyType:(NSManagedObjectContextConcurrencyType)concurrencyType { NSManagedObjectModel *mom = [NSManagedObjectModel mergedModelFromBundles:nil]; STAssertNotNil(mom, @"…
ios xcode core-data ocunitI have been searching for a way to use SenTestingKit to do some integration testing between my client-side code and …
objective-c unit-testing ocunitIt is kinda easy to unit test IBOutlets, but how about IBActions? I was trying to find a way how …
ios xctest ocunit