starting form the CoreData template, I have built an iphone app that uses CoreData to manipulate a Data Model. Works so far...
Now I decided, I need some "unit" tests to check if the core data model is manipulated correctly (so far I have only done manual checks and checked the database directly with CoreDataEditor). I have followed
on how to set up UnitTests in Xcode. This works so far for both Logic and Application Tests. However, I cannot get the "unit" tests working with a CoreData backend (it doesn't find my data model and I don't know what to include or link etc...)
Is there a pointer/description on how to do "unit" testing of a core data iphone app?
PS: I know testing with the database back end is not strictly speaking "unit" testing. I don't care whether the test is on the simulator with the real application (ApplicationTesting) or if it is just a core data backend specifically for the unit tests (LogicTest) that I would fill with some test objects during setUp.
EDIT: I have found How to unit test my models now that I am using Core Data? and http://chanson.livejournal.com/115621.html but now I ran into the problem described in iPhone UnitTesting UITextField value and otest error 133 ... well, except that i have error code 134 :-((( Any ideas?