Permalink
Browse files

Add Kiwi for saner asynchronous testing and remove existing GHUnit te…

…sts for save methods
  • Loading branch information...
1 parent d0e771d commit 55af799d60fff099430faf0aca4567e049640081 @tonyarnold tonyarnold committed Dec 16, 2012
View
@@ -0,0 +1,3 @@
+[submodule "Project Files/Third Party/Kiwi"]
+ path = Project Files/Third Party/Kiwi
+ url = git://github.com/allending/Kiwi.git
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.magicalpanda.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'Mac Unit Tests' target in the 'Mac Unit Tests' project
+//
+
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
@@ -0,0 +1,31 @@
+#import "Kiwi.h"
+
+// Project
+#import "MagicalRecord_Actions.h"
+
+SPEC_BEGIN(MagicalRecord_ActionsSpec)
+
+describe(@"MagicalRecord_Actions", ^{
+ beforeAll(^{
+ // Occurs once
+ });
+
+ afterAll(^{
+ // Occurs once
+ });
+
+ beforeEach(^{
+ // Occurs before each enclosed "it" block
+ });
+
+ afterEach(^{
+ // Occurs after each enclosed "it" block
+ });
+
+ it(@"should really test something", ^{
+ // Test something
+ pending(@" — sadly, you've only just created this spec, so it's currently unimplemented", nil);
+ });
+});
+
+SPEC_END
@@ -0,0 +1,31 @@
+#import "Kiwi.h"
+
+// Project
+#import "NSManagedObjectContext_MagicalSaves.h"
+
+SPEC_BEGIN(NSManagedObjectContext_MagicalSavesSpec)
+
+describe(@"NSManagedObjectContext_MagicalSaves", ^{
+ beforeAll(^{
+ // Occurs once
+ });
+
+ afterAll(^{
+ // Occurs once
+ });
+
+ beforeEach(^{
+ // Occurs before each enclosed "it" block
+ });
+
+ afterEach(^{
+ // Occurs after each enclosed "it" block
+ });
+
+ it(@"should really test something", ^{
+ // Test something
+ pending(@" — sadly, you've only just created this spec, so it's currently unimplemented", nil);
+ });
+});
+
+SPEC_END

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "0460"
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "NO"
+ buildForProfiling = "NO"
+ buildForArchiving = "NO"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "90DD201C167AA4350033BA25"
+ BuildableName = "Mac Unit Tests.octest"
+ BlueprintName = "Mac Unit Tests"
+ ReferencedContainer = "container:Magical Record.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ <TestableReference
+ skipped = "NO">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "90DD201C167AA4350033BA25"
+ BuildableName = "Mac Unit Tests.octest"
+ BlueprintName = "Mac Unit Tests"
+ ReferencedContainer = "container:Magical Record.xcodeproj">
+ </BuildableReference>
+ </TestableReference>
+ </Testables>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
Submodule Kiwi added at 879a1b
@@ -1,13 +0,0 @@
-//
-// SaveTests.h
-// Magical Record
-//
-// Created by Stephen J Vanterpool on 9/6/12.
-// Copyright (c) 2012 Magical Panda Software LLC. All rights reserved.
-//
-
-
-
-@interface SaveTests : GHTestCase
-
-@end

0 comments on commit 55af799

Please sign in to comment.