Latest 0.0.1
Homepage https://github.com/squarefrog/SQFInMemoryContext
License MIT
Frameworks CoreData
Authors

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"];

Latest podspec

{
    "name": "SQFInMemoryContext",
    "version": "0.0.1",
    "summary": "Quickly and easily create an in-memory context for Unit Testing Core Data entities.",
    "description": "      SQFInMemoryContextn      ======================================nn      Quickly and easily create an in-memory context for Unit Testing Core Data entities. Despite the name, SQFInMemoryContext is actually just a simple category on NSManagedObjectContext.nn      ## Usingnn      Install by either dragging the header and implementation files into your project, or by installing using [CocoaPods](http://cocoapods.org):nn      ```rubyn      pod 'SQFInMemoryContext'n      ```nn      Import the convenience header.nn      ```objcn      #import n      ```nn      Instantiate a new context for your tests:nn      ```objcn      NSManagedObjectContext *moc = [NSManagedObjectContext memoryStoreForModel:@"MyCoreDataModel"];n      ```n",
    "homepage": "https://github.com/squarefrog/SQFInMemoryContext",
    "license": "MIT",
    "authors": {
        "Paul Williamson": "[email protected]"
    },
    "social_media_url": "http://twitter.com/squarefrog",
    "source": {
        "git": "https://github.com/squarefrog/SQFInMemoryContext.git",
        "tag": "0.0.1"
    },
    "source_files": "*.{h,m}",
    "public_header_files": "SQFInMemoryContext.h",
    "frameworks": "CoreData",
    "requires_arc": true
}

Pin It on Pinterest

Share This