I am using OCUnit to write unit test, i tried GHUnit but it does not suit my case. I do want to run a application test because my code heavily relied on my ApplicationDelegate instance. But开发者_Sta
How do you write first responder unit tests? I\'m trying to write a test to confirm that a method advances focus to the next text field. controller is a descendant of UIViewController. But this explo
I\'d like to add UI tests to an iOS project, in the same manner as OCUnit tests. I know there is the Instruments + UIAutomation JavaScript approach, but I don\'t see how that fits into an automated bu
I\'m working on an app that will display a UIAlertView upon hitting it\'s exit button, only if progress in the game has been made. I was wondering how you would us开发者_StackOverflowe OCUnit to inter
I\'m setting up a mock object for a delegate object, to check that whenthe URL is nil, the delegate method is called with nil as parameters.
Is it possible to have an actual obje开发者_运维百科ct of a class and only mock a method in that class instead of mocking the whole object?
I\'m write unit test cases for my cocoa class. Below is the test case. I can\'t figure out why this test case fails, even though the expect and diff in the assert message are the same. I suspect it ma
Is there a way to \"Test\" current f开发者_如何学编程ile in Xcode4? That is if you are writting your 10th unit test, but rather than going TEST and having all unit tests run, you want to only trigger
Why am I getting \"unrecognized selector\" when trying to use Core Data managed object XCode generated class in unit test?
I\'ve created a project with a Core Data model in it. The application looks for the model file (.momd) a开发者_JAVA技巧nd runs just fine.