ocunit
Unit tests for memory management in Cocoa/Objective-C
How would you write a unit test—using OCUnit, for instance—to ensure that objects are being released/retained properly in Cocoa/Objective-C?[详细]
2023-03-18 10:23 分类:问答OCUnit Application Test with Simulator in terminal
Is it possible to start an application test that runs in the simulator with a ter开发者_JAVA技巧minal command(s)?[详细]
2023-03-17 11:55 分类:问答How to run a subset of the unit tests with Xcode 4
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[详细]
2023-03-14 21:56 分类:问答Linking error for unit testing with XCode 4?
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[详细]
2023-03-14 20:48 分类:问答Test fails due to NSAssert assertion failure
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[详细]
2023-03-14 13:29 分类:问答How do I catch OCUnit's test fail/success in command line?
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][详细]
2023-03-12 11:38 分类:问答Xcode 4 unit testing linker error
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.[详细]
2023-03-11 20:05 分类:问答Unit Tests for designs that use notifications
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.[详细]
2023-03-10 05:24 分类:问答Where does OCUnit store NSUserDefaults?
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[详细]
2023-03-09 08:35 分类:问答SenTestingKit in Xcode 4: Asynchronous testing?
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开发者[详细]
2023-03-09 06:46 分类:问答