ocunit
OCUnit doesn't work with security framework?
When attempting to add secure entries into the keychain using: SecItemUpdate((CFDictionaryRef)queryKeychain, (CFDictionaryRef)updateAttribut开发者_开发百科es);[详细]
2023-04-10 01:07 分类:问答Testing Exceptions using SenTestingKit/OCUnit
The only solution I seem to be able to find for testing for exceptions is using SenTestingKit\'s STAssertThrows and STAssertThrowsSpecific, however in both cases when the exception is thrown the appli[详细]
2023-04-08 20:38 分类:问答OCUnit Test my app with UINavigationController and UITableView
I want to write integration application test to test the full CRUD operations. I have a table view to list all objects. User can click \"Add\" button to push a new detail view controller to add a new[详细]
2023-04-03 16:02 分类:问答Why is my UIWebView empty in my unit test?
I\'m putting app-generated content into a UIWebView, and trying to test that I\'m doing it correctly. Here\'s the HTML string I\'m putting into the web view:[详细]
2023-04-01 09:57 分类:问答Loading an NSPersistentDocument from a unit test
I\'m attempting to write an integration test using the OCUnit/SenTest Framework which I feel relatively comfortable with.The test is regarding the loading of an NSPersistentDocument-subclass which rel[详细]
2023-03-29 19:16 分类:问答OCUnit: How to change the prefix of test-case methods?
Instead of the prefix test, I want to use spec because I prefer BDD vocabulary. E开发者_如何学Go.g., instead of:[详细]
2023-03-29 06:14 分类:问答Good test runner for OCUnit/XCode Unit Tests
Is there a good GUI based test runner for the OCUnit/XCode 4 unit testing frameworks? I\'m looking for a redlight/greenlight type GUI, maybe something that looks like the NUnit test runner. I found OC[详细]
2023-03-29 02:51 分类:问答Xcode keyboard shortcut: jump to test file?
开发者_如何学JAVAIs there an Xcode keyboard shortcut to jump from MyObject.m to MyObjectTests.m, and vice versa? If so, what is it?I haven\'t found a way to do this. Feature request material I think.[详细]
2023-03-29 00:36 分类:问答How to wait for animation to finish from unit tests
I\'m using Xcode\'s OCUnit to write unit tests, and my tests call a method that performs an animation.[详细]
2023-03-28 00:08 分类:问答How to run OCUnit logic tests automatically before each build (run) of iOS app in Xcode 4?
It seems that I have everything set up correctly. When I run command ⌘ + U (or select Product > Test from menu) my test runs fine.[详细]
2023-03-26 08:55 分类:问答