Skip to content

Instantly share code, notes, and snippets.

@spllr
Created December 18, 2011 12:05
Show Gist options
  • Save spllr/1493181 to your computer and use it in GitHub Desktop.
Save spllr/1493181 to your computer and use it in GitHub Desktop.
Unit Testing Core Data Step 1
#import <SenTestingKit/SenTestingKit.h>
#import <CoreData/CoreData.h>
@interface MyCoreDataTests : SenTestCase
{
NSManagedObjectModel *managedObjectModel;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectContext *managedObjectContext;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment