Skip to content

Quickly and easily create an in-memory context for Unit Testing Core Data entities.

License

Notifications You must be signed in to change notification settings

squarefrog/SQFInMemoryContext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQFInMemoryContext

Quickly and easily create an in-memory context for Unit Testing Core Data entities.

Using

Install by either dragging the header and implementation files into your project, or by installing using CocoaPods:

pod 'SQFInMemoryContext'

Import the convenience header.

#import <SQFInMemoryContext/SQFInMemoryContext.h>

Instantiate a new context for your tests:

NSManagedObjectContext *moc = [NSManagedObjectContext memoryStoreForModel:@"MyCoreDataModel"];

About

Quickly and easily create an in-memory context for Unit Testing Core Data entities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published