How would you write a unit test—using OCUnit, for instance—to ensure that objects are being released/retained properly in Cocoa/Objective-C?
Is it possible to start an application test that runs in the simulator with a ter开发者_JAVA技巧minal command(s)?
Xcode 4 introduces the scheme feature. With which you can create different schemes for your project. Under the test item in a scheme you can select which tests to run. However, I\'m finding that all t
I want to write some logic unit tests for classes in my XCode application. In Xcode 4, I clicked on the project name in the Project Navigator, and from the bottom clicked Add Target. I chose \"Cocoa T
I\'ve just started writing tests for my iOS app, I\'m using Xcode4 and OCUnit. I\'m now writing a test for a piece of code that should throw an exception if a static variable has already been assigned
My Expect: # Build Successed # and # Test Failed # Actual Result: only # Build Succeeded # How do I get fail/success in command line? [iphone, objective-c, xcode4, OCUnit]
NOTE: \"Use GHUnit\" is not an acceptable answer to this question. I know most think GHUnit is better than the Xcode4 OCUnit, but that\'s not what I\'m asking about. I\'ll evaluate that separately.
I\'m having difficulty testing some logic that uses notifications. I\'ve read about enforcing that particular NSNotifications are sent, but that doesn\'t really address the problem I\'m seeing.
I read 开发者_JAVA技巧the question Easy way to see saved NSUserDefaults? I found the .plist file for the app, but where\'s the one for the testing bundle?If you use Xcode 4\'s integration with OCUnit
I have been searching for a way to use SenTestingKit to do some integration testing between my client-side code and our server. I haven\'t had any luck. It seems that once the code is run in a me开发者