sentestingkit
Comparing two arrays for equivilant objects with Kiwi (Sentesting) Kit
I want to compare two arrays for equivalent objects, one a property inside my class and the other in my test method.[详细]
2023-04-11 05:28 分类:问答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 分类:问答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 分类:问答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 分类:问答What is the equivalent to a test fixture setup method in SenTestCase?
Like most unit testing frameworks, SenTestCase has setUp and tearDown methods you can override to run code before and after each test.[详细]
2023-03-23 10:09 分类:问答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 分类:问答