OCUnit is a unit testing framework for the Objective-C language and included with Apple's Xcode IDE since Xcode 2.1.
I've created a brand new iOS project in Xcode 4, and included unit tests. The default app has 2 targets, the main …
xcode unit-testing xcode4 xcodebuild ocunitI have a XCode4 / iOS project with a regular target and unit test target. Everything works fine, except when I …
unit-testing xcode4 linker-errors ocunitNSMutableArray *arr = [NSMutableArray array]; [arr addObject:@"1"]; [arr addObject:@"2"]; [arr addObject:@"3"]; // This statement is fine. XCTAssertTrue(arr.count == 3, @"Wrong array size."); // …
objective-c ocunit xctestIs there a way to load a prototype cell, along with any IBOutlet connections as defined within a storyboard? Update …
objective-c uikit ocunit sentestingkitI am in the process of migrating my project from Xcode 4.6.3 to Xcode 5.0.2. The project's unit tests were developed with …
xcode5 ocunit xctestI'm trying out test driven development in a toy project. I can get the tests working for the public interface …
objective-c cocoa xcode tdd ocunitHow do you write first responder unit tests? I'm trying to write a test to confirm that a method advances …
iphone ios testing ocunit first-responderI'm really struggling to understand unit testing. I do understand the importance of TDD, but all the examples of unit …
objective-c ios unit-testing tdd ocunitI've been following Apple's documentation on writing unit tests for the iPhone, and out of the box, the routine doesn't …
unit-testing xcode resources ocunitUsing OCUnit, is there a way to test delegate protocols? I'm trying this, which doesn't work. -(void) testSomeObjDelegate { SomeObj …
objective-c unit-testing delegates ocunit