Are there any major differences between SenTestingKit / OCUnit and XCTest?
The reason I ask is that I've just updated a project and basically only had to rename STAssert to XCTAssert and everything ...

Is there a way to load a prototype cell, along with any IBOutlet connections as defined within a storyboard?
Update
I want to unit test the cell (a UICollectionViewCell for that mater), hence would ...

I'm trying to test code that reads and alters the keychain using the basic SenTest framework on Xcode. The code works fine on device, but when I start the test I get these errors every time I want to ...

I have Xcode 5.0.2.
I created new project.
New project already has test target which is based on XCTest framework.
But XCTest is not working with iOS 6.1.
But I want to test my project on iOS 6.1,
for ...

My unit test suite contains a few test cases that are only applicable for the latest iOS version. Expectedly, these tests fail when running the suite on an older iOS version.
Is there a standard way ...

I have been trying to update an iOS client app now for the past 2 weeks, unfortunately it has been rejected twice as Apple say that it crashes on iOS7. Apple have sent me the following crash report.
...

Since earlier today, I cannot get my tests to pass when running them from Xcode 5. I know all the tests are passing, because I can run them from command line (well, a CI Job) and they're all passing ...

I want to do unit testing in iOS. By default test classes are created using XCTest framework classes in Xcode 5. I have used SenTestingKit in earlier versions of iOS. What are the differences between ...

I am writing some automated tests that will test some actions happening inside my root UIViewController. As of now I'm using SenTestCase. I am using storyboards also. How can I do this? And how can I ...

I have set up an XCode 5 iOS 7 project for unit tests.
Of course, setting up the unit tests are taking me so long that I'm trying to keep the faith that it's worth it. Struggling for hours over this ...

I am writing an app that involves me overriding the drawRect function in UIViews to draw different shapes into the App.
I normally unit test all of my apps using the inbuilt SenTestingKit. As soon as ...

I have started writing Unit Test cases for my existing application for testing functional flow. I am using OCUnit (SentestingKit.framework). App is client-server based app.
There are five tabs in my ...

From time to time, I have the impulse to modify some aspects of the Mac/iOS unit testing framework. I wouldn't want to sacrifice its nice integration with XCode, but at times I find myself hankering ...

I've spent a few days trying to track down this issue with no luck so far.
I am trying to measure test coverage in my project, a Mac OS application developed in Objective-C with Xcode, and this means ...

I would like to use OCMock in my Cocoa project's unit tests. I have downloaded the latest version of OCMock (2.0.1) and copied the OCMock.framework into my project's directory. In Xcode, I have added ...

Is there a way to run a single test in isolation, or a group of tests?
I find that when I am trying to debug a particular test, it's really annoying because previous test cases may trigger that same ...

trying to convince myself of the benefits of unit testing and TDD I decided to include tests with my latest Cocos2D project. Getting the initial boiler-plate test up and running works fine, but alas, ...

I am working on an application which stores and retrieves data from sqlite db, using core data. For this I have created a separate class which acts like a data link layer - LocalDBController
Below is ...

I have a test target where I am testing a table view data source.I want to test that the cell's textLabel returned by tableView:cellForRowAtIndexPath: contains the text I expect, but when I set the ...