Latest 1.0.0
Homepage https://github.com/Keithbsmiley/KSCoreDataTester
License MIT
Platforms ios 7.0, osx 10.9, requires ARC
Frameworks CoreData
Authors

Build Status

Core Data categories to enable simple in memory store creation for
tests.

Example with specta

__block NSManagedObjectContext *managedObjectContext;

beforeAll(^{
    managedObjectContext = [NSManagedObjectContext contextForNewInMemoryStore];
});

beforeEach(^{
    [managedObjectContext resetContextAndStores];
});

Install with CocoaPods

pod "KSCoreDataTester"

Latest podspec

{
    "name": "KSCoreDataTester",
    "version": "1.0.0",
    "summary": "Core Data categories for easy testing with in memory stores",
    "homepage": "https://github.com/Keithbsmiley/KSCoreDataTester",
    "license": "MIT",
    "authors": {
        "Keith Smiley": "[email protected]"
    },
    "social_media_url": "http://twitter.com/SmileyKeith",
    "platforms": {
        "ios": "7.0",
        "osx": "10.9"
    },
    "source": {
        "git": "https://github.com/Keithbsmiley/KSCoreDataTester.git",
        "tag": "v1.0.0"
    },
    "source_files": "*.{h,m}",
    "public_header_files": "KSCoreDataTester.h",
    "frameworks": "CoreData",
    "requires_arc": true
}

Pin It on Pinterest

Share This