xcfit 2.0.4 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -9
- data/Docs/InitialVersion.md +340 -0
- data/Package.swift +5 -0
- data/README.md +348 -145
- data/XCFit.gemspec +1 -1
- data/XCFit.podspec +17 -9
- data/XCFit/Classes/Cucumberish/Core/CCIBlockDefinitions.h +400 -0
- data/XCFit/Classes/Cucumberish/Core/Managers/CCIFeaturesManager.h +72 -0
- data/XCFit/Classes/Cucumberish/Core/Managers/CCIFeaturesManager.m +141 -0
- data/XCFit/Classes/Cucumberish/Core/Managers/CCIStepsManager.h +51 -0
- data/XCFit/Classes/Cucumberish/Core/Managers/CCIStepsManager.m +245 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIArgument.h +62 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIArgument.m +117 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIAroundHock.h +37 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIAroundHock.m +37 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIBackground.h +46 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIBackground.m +117 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIExample.h +89 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIExample.m +128 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIFeature.h +49 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIFeature.m +174 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIHock.h +36 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIHock.m +34 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCILocation.h +61 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCILocation.m +91 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIScenarioDefinition.h +97 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIScenarioDefinition.m +224 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIStep.h +85 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIStep.m +98 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIStepDefinition.h +43 -0
- data/XCFit/Classes/Cucumberish/Core/Models/CCIStepDefinition.m +65 -0
- data/XCFit/Classes/Cucumberish/Cucumberish.h +133 -0
- data/XCFit/Classes/Cucumberish/Cucumberish.m +604 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstBuilder.h +15 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstBuilder.m +312 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstNode.h +20 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstNode.m +79 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHBackground.h +12 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHBackground.m +18 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHComment.h +11 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHComment.m +27 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDataTable.h +14 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDataTable.m +30 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDocString.h +14 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDocString.m +29 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHExamples.h +24 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHExamples.m +49 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHFeature.h +24 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHFeature.m +50 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialect.h +25 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialect.m +64 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialectProvider.h +9 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialectProvider.m +124 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialectProviderProtocol.h +10 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageConstants.h +9 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageConstants.m +10 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageSetting.h +17 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageSetting.m +18 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLine.h +12 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLine.m +179 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLineProtocol.h +64 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLineSpan.h +9 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLineSpan.m +26 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasDescriptionProtocol.h +8 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasLocationProtocol.h +8 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasRowsProtocol.h +8 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasStepsProtocol.h +8 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasTagsProtocol.h +8 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHLocation.h +12 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHLocation.m +41 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHNode.h +4 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHNode.m +5 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser+Extensions.h +10 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser+Extensions.m +18 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser.h +132 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser.m +2735 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParserException.h +55 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParserException.m +192 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenario.h +14 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenario.m +18 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioDefinition.h +23 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioDefinition.m +41 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioDefinition_Private.h +6 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioOutline.h +15 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioOutline.m +26 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStep.h +16 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStep.m +35 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStepArgument.h +4 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStepArgument.m +5 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableCell.h +13 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableCell.m +28 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableRow.h +13 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableRow.m +29 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTag.h +13 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTag.m +28 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHToken.h +26 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHToken.m +50 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenMatcher.h +29 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenMatcher.m +283 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenScanner.h +12 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenScanner.m +59 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/NSString+Trim.h +7 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/NSString+Trim.m +28 -0
- data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/gherkin-languages.json +2969 -0
- data/XCFit/Classes/Cucumberish/Utils/NSArray+Hashes.h +24 -0
- data/XCFit/Classes/Cucumberish/Utils/NSArray+Hashes.m +44 -0
- data/XCFit/Classes/Cucumberish/Utils/NSObject+Dictionary.h +7 -0
- data/XCFit/Classes/Cucumberish/Utils/NSObject+Dictionary.m +83 -0
- data/XCFit/Classes/Cucumberish/Utils/NSString+Formatter.h +32 -0
- data/XCFit/Classes/Cucumberish/Utils/NSString+Formatter.m +70 -0
- data/Xcode7-Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateInfo.plist +13 -0
- data/Xcode7-Templates/XCFit/iOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +11 -0
- data/lib/XCFit/version.rb +1 -1
- metadata +108 -38
- data/XCFit/Assets/.gitkeep +0 -0
- data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/TemplateIcon.png +0 -0
- data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/TemplateIcon@2x.png +0 -0
- data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/TemplateInfo.plist +0 -22
- data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/___FILEBASENAME___.feature +0 -20
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/AcceptanceTests-Bridging-Header.h +0 -1
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/FixtureExample.swift +0 -31
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/SlimTables.h +0 -28
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/TemplateIcon.png +0 -0
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/TemplateIcon@2x.png +0 -0
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/TemplateInfo.plist +0 -150
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h +0 -1
- data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/___PACKAGENAMEASIDENTIFIER___.m +0 -15
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/TemplateIcon.png +0 -0
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/TemplateIcon@2x.png +0 -0
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/TemplateInfo.plist +0 -123
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h +0 -7
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.feature +0 -11
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.h +0 -14
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m +0 -17
- data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.swift +0 -23
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateIcon.png +0 -0
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateIcon@2x.png +0 -0
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateInfo.plist +0 -123
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h +0 -7
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.feature +0 -11
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.h +0 -14
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m +0 -17
- data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.swift +0 -25
- data/XCFit/Assets/XCFit/Mac Acceptance Tests.xctemplate/Empty.xib +0 -12
- data/XCFit/Assets/XCFit/Mac Acceptance Tests.xctemplate/TemplateInfo.plist +0 -54
- data/XCFit/Assets/XCFit/MacOS API Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
- data/XCFit/Assets/XCFit/MacOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
- data/XCFit/Assets/XCFit/iOS API Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
- data/XCFit/Assets/XCFit/iOS Acceptance Tests.xctemplate/TemplateInfo.plist +0 -52
- data/XCFit/Assets/XCFit/iOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
// Created by XCFit Framework
|
4
|
-
// Copyright © 2016 XCFit Framework. All rights reserved.
|
5
|
-
//
|
6
|
-
|
7
|
-
#import <Foundation/Foundation.h>
|
8
|
-
#import "___PACKAGENAMEASIDENTIFIER___-Swift.h"
|
9
|
-
#import <XCTest/XCTest.h>
|
10
|
-
|
11
|
-
|
12
|
-
__attribute__((constructor))
|
13
|
-
void CucumberishInit()
|
14
|
-
{
|
15
|
-
[___PACKAGENAMEASIDENTIFIER___ CucumberishSwiftInit];
|
16
|
-
|
17
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
// Created by XCFit Framework
|
4
|
-
// Copyright © 2016 XCFit Framework. All rights reserved.
|
5
|
-
//
|
6
|
-
|
7
|
-
import Foundation
|
8
|
-
import XCTest
|
9
|
-
class ___PACKAGENAMEASIDENTIFIER___: NSObject {
|
10
|
-
class func CucumberishSwiftInit()
|
11
|
-
{
|
12
|
-
|
13
|
-
//A closure that will be executed just before executing any of your features
|
14
|
-
beforeStart { () -> Void in
|
15
|
-
}
|
16
|
-
//A Given step definition
|
17
|
-
Given("the app is running") { (args, userInfo) -> Void in
|
18
|
-
|
19
|
-
}
|
20
|
-
//Tell Cucumberish the name of your features folder and let it execute them for you...
|
21
|
-
Cucumberish.executeFeaturesInDirectory("Features", featureTags: nil)
|
22
|
-
}
|
23
|
-
}
|
Binary file
|
Binary file
|
@@ -1,123 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>Kind</key>
|
6
|
-
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
|
-
<key>Identifier</key>
|
8
|
-
<string>com.apple.dt.unit.cucumberishUITestBundleBase</string>
|
9
|
-
<key>Ancestors</key>
|
10
|
-
<array>
|
11
|
-
<string>com.apple.dt.unit.uiTestBundleBase</string>
|
12
|
-
</array>
|
13
|
-
<key>TargetOnly</key>
|
14
|
-
<true/>
|
15
|
-
<key>Targets</key>
|
16
|
-
<array>
|
17
|
-
<dict>
|
18
|
-
<key>ProductType</key>
|
19
|
-
<string>com.apple.product-type.bundle.ui-testing</string>
|
20
|
-
<key>SharedSettings</key>
|
21
|
-
<dict>
|
22
|
-
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
|
23
|
-
<string>DEBUG=1 $(inherited) SRC_ROOT=@\"$(SRCROOT)\"</string>
|
24
|
-
<key>LD_RUNPATH_SEARCH_PATHS</key>
|
25
|
-
<string>$(inherited) @executable_path/Frameworks @loader_path/Frameworks</string>
|
26
|
-
<key>SWIFT_OBJC_BRIDGING_HEADER</key>
|
27
|
-
<string>___PACKAGENAMEASIDENTIFIER___/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</string>
|
28
|
-
</dict>
|
29
|
-
<key>Configurations</key>
|
30
|
-
<dict>
|
31
|
-
<key>Debug</key>
|
32
|
-
<dict>
|
33
|
-
<key>SRC_ROOT</key>
|
34
|
-
<string>@\"$(SRCROOT)\"</string>
|
35
|
-
</dict>
|
36
|
-
<key>Release</key>
|
37
|
-
<dict/>
|
38
|
-
</dict>
|
39
|
-
<key>BuildPhases</key>
|
40
|
-
<array>
|
41
|
-
<dict>
|
42
|
-
<key>Class</key>
|
43
|
-
<string>Sources</string>
|
44
|
-
</dict>
|
45
|
-
<dict>
|
46
|
-
<key>Class</key>
|
47
|
-
<string>Frameworks</string>
|
48
|
-
</dict>
|
49
|
-
<dict>
|
50
|
-
<key>Class</key>
|
51
|
-
<string>Resources</string>
|
52
|
-
</dict>
|
53
|
-
</array>
|
54
|
-
</dict>
|
55
|
-
</array>
|
56
|
-
<key>Nodes</key>
|
57
|
-
<array>
|
58
|
-
<string>___PACKAGENAMEASIDENTIFIER___.feature</string>
|
59
|
-
<string>Info.plist:PackageType</string>
|
60
|
-
<string>___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</string>
|
61
|
-
<string>___PACKAGENAMEASIDENTIFIER___.h</string>
|
62
|
-
<string>___PACKAGENAMEASIDENTIFIER___.m</string>
|
63
|
-
<string>___PACKAGENAMEASIDENTIFIER___.swift</string>
|
64
|
-
</array>
|
65
|
-
<key>Definitions</key>
|
66
|
-
<dict>
|
67
|
-
<key>___FILEBASENAME___.feature</key>
|
68
|
-
<dict>
|
69
|
-
<key>Path</key>
|
70
|
-
<string>___PACKAGENAMEASIDENTIFIER___.feature</string>
|
71
|
-
</dict>
|
72
|
-
<key>Info.plist:PackageType</key>
|
73
|
-
<string><key>CFBundlePackageType</key>
|
74
|
-
<string>BNDL</string>
|
75
|
-
</string>
|
76
|
-
<key>___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</key>
|
77
|
-
<dict>
|
78
|
-
<key>Path</key>
|
79
|
-
<string>___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</string>
|
80
|
-
</dict>
|
81
|
-
<key>___PACKAGENAMEASIDENTIFIER___.swift</key>
|
82
|
-
<dict>
|
83
|
-
<key>Path</key>
|
84
|
-
<string>___PACKAGENAMEASIDENTIFIER___.swift</string>
|
85
|
-
</dict>
|
86
|
-
<key>___PACKAGENAMEASIDENTIFIER___.m</key>
|
87
|
-
<dict>
|
88
|
-
<key>Path</key>
|
89
|
-
<string>___PACKAGENAMEASIDENTIFIER___.m</string>
|
90
|
-
</dict>
|
91
|
-
<key>___PACKAGENAMEASIDENTIFIER___.h</key>
|
92
|
-
<dict>
|
93
|
-
<key>Path</key>
|
94
|
-
<string>___PACKAGENAMEASIDENTIFIER___.h</string>
|
95
|
-
</dict>
|
96
|
-
</dict>
|
97
|
-
<key>Options</key>
|
98
|
-
<array>
|
99
|
-
<dict>
|
100
|
-
<key>Identifier</key>
|
101
|
-
<string>languageChoice</string>
|
102
|
-
<key>Units</key>
|
103
|
-
<dict>
|
104
|
-
<key>Swift</key>
|
105
|
-
<dict>
|
106
|
-
<key>Nodes</key>
|
107
|
-
<array>
|
108
|
-
<string>___PACKAGENAMEASIDENTIFIER___.swift</string>
|
109
|
-
</array>
|
110
|
-
<key>Definitions</key>
|
111
|
-
<dict>
|
112
|
-
<key>___PACKAGENAMEASIDENTIFIER___.swift</key>
|
113
|
-
<dict>
|
114
|
-
<key>Path</key>
|
115
|
-
<string>___PACKAGENAMEASIDENTIFIER___.swift</string>
|
116
|
-
</dict>
|
117
|
-
</dict>
|
118
|
-
</dict>
|
119
|
-
</dict>
|
120
|
-
</dict>
|
121
|
-
</array>
|
122
|
-
</dict>
|
123
|
-
</plist>
|
data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.h
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
// Created by XCFit Framework
|
4
|
-
// Copyright © 2016 XCFit Framework. All rights reserved.
|
5
|
-
//
|
6
|
-
|
7
|
-
|
8
|
-
#import <Foundation/Foundation.h>
|
9
|
-
#import "___PACKAGENAMEASIDENTIFIER___-Swift.h"
|
10
|
-
|
11
|
-
|
12
|
-
@interface ___PACKAGENAMEASIDENTIFIER___ : NSObject
|
13
|
-
|
14
|
-
@end
|
data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
// Created by XCFit Framework
|
4
|
-
// Copyright © 2016 XCFit Framework. All rights reserved.
|
5
|
-
//
|
6
|
-
|
7
|
-
#import <Foundation/Foundation.h>
|
8
|
-
#import "___PACKAGENAMEASIDENTIFIER___-Swift.h"
|
9
|
-
#import <XCTest/XCTest.h>
|
10
|
-
|
11
|
-
|
12
|
-
__attribute__((constructor))
|
13
|
-
void CucumberishInit()
|
14
|
-
{
|
15
|
-
[___PACKAGENAMEASIDENTIFIER___ CucumberishSwiftInit];
|
16
|
-
|
17
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
// Created by XCFit Framework
|
4
|
-
// Copyright © 2016 XCFit Framework. All rights reserved.
|
5
|
-
//
|
6
|
-
|
7
|
-
import Foundation
|
8
|
-
import XCTest
|
9
|
-
class ___PACKAGENAMEASIDENTIFIER___: NSObject {
|
10
|
-
class func CucumberishSwiftInit()
|
11
|
-
{
|
12
|
-
var application : XCUIApplication!
|
13
|
-
//A closure that will be executed just before executing any of your features
|
14
|
-
beforeStart { () -> Void in
|
15
|
-
application = XCUIApplication()
|
16
|
-
}
|
17
|
-
//A Given step definition
|
18
|
-
Given("the app is running") { (args, userInfo) -> Void in
|
19
|
-
application.launch()
|
20
|
-
|
21
|
-
}
|
22
|
-
//Tell Cucumberish the name of your features folder and let it execute them for you...
|
23
|
-
Cucumberish.executeFeaturesInDirectory("Features", featureTags: nil)
|
24
|
-
}
|
25
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
3
|
-
<dependencies>
|
4
|
-
<deployment identifier="macosx"/>
|
5
|
-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
6
|
-
</dependencies>
|
7
|
-
<objects>
|
8
|
-
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication"/>
|
9
|
-
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
10
|
-
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
11
|
-
</objects>
|
12
|
-
</document>
|
@@ -1,54 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>Kind</key>
|
6
|
-
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
|
-
<key>Identifier</key>
|
8
|
-
<string>io.cleankit.macAcceptanceTests</string>
|
9
|
-
<key>Description</key>
|
10
|
-
<string>This target builds a Mac Application for Acceptance Testing your App using the Fitnesse framework. Requires a project that uses CocoaPods.</string>
|
11
|
-
<key>Ancestors</key>
|
12
|
-
<array>
|
13
|
-
<string>io.cleankit.baseAcceptanceTests</string>
|
14
|
-
<string>com.apple.dt.unit.osxBase</string>
|
15
|
-
</array>
|
16
|
-
<key>Concrete</key>
|
17
|
-
<true/>
|
18
|
-
<key>Targets</key>
|
19
|
-
<array>
|
20
|
-
<dict>
|
21
|
-
<key>SharedSettings</key>
|
22
|
-
<dict>
|
23
|
-
<key>LD_RUNPATH_SEARCH_PATHS</key>
|
24
|
-
<string>$(inherited) @executable_path/../Frameworks</string>
|
25
|
-
</dict>
|
26
|
-
</dict>
|
27
|
-
</array>
|
28
|
-
<key>Nodes</key>
|
29
|
-
<array>
|
30
|
-
<string>Info.plist:MainNib</string>
|
31
|
-
<string>Info.plist:PrincipalClass</string>
|
32
|
-
<string>Empty.xib</string>
|
33
|
-
</array>
|
34
|
-
<key>Definitions</key>
|
35
|
-
<dict>
|
36
|
-
<key>Info.plist:MainNib</key>
|
37
|
-
<string><key>NSMainNibFile</key>
|
38
|
-
<string>Empty</string>
|
39
|
-
</string>
|
40
|
-
<key>Info.plist:PrincipalClass</key>
|
41
|
-
<string><key>NSPrincipalClass</key>
|
42
|
-
<string>OCSlimNSApplicationRunner</string></string>
|
43
|
-
<key>Empty.xib</key>
|
44
|
-
<dict>
|
45
|
-
<key>Group</key>
|
46
|
-
<string>Supporting Files</string>
|
47
|
-
<key>Path</key>
|
48
|
-
<string>Empty.xib</string>
|
49
|
-
<key>SortOrder</key>
|
50
|
-
<integer>101</integer>
|
51
|
-
</dict>
|
52
|
-
</dict>
|
53
|
-
</dict>
|
54
|
-
</plist>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>Kind</key>
|
6
|
-
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
|
-
<key>Identifier</key>
|
8
|
-
<string>com.apple.dt.unit.macOSAPICucumberishTestingBundle</string>
|
9
|
-
<key>Ancestors</key>
|
10
|
-
<array>
|
11
|
-
<string>com.apple.dt.unit.cucumberishAPITestBundleBase</string>
|
12
|
-
<string>com.apple.dt.unit.osxBase</string>
|
13
|
-
</array>
|
14
|
-
<key>Concrete</key>
|
15
|
-
<true/>
|
16
|
-
<key>Description</key>
|
17
|
-
<string>This target builds a BDD style user API testing bundle that uses the Cucumberish and XCTest framework.</string>
|
18
|
-
<key>SortOrder</key>
|
19
|
-
<integer>1</integer>
|
20
|
-
<key>Targets</key>
|
21
|
-
<array>
|
22
|
-
<dict>
|
23
|
-
<key>TargetIdentifier</key>
|
24
|
-
<string>com.apple.dt.cocoaUITestBundleTarget</string>
|
25
|
-
</dict>
|
26
|
-
</array>
|
27
|
-
<key>OptionConstraints</key>
|
28
|
-
<array>
|
29
|
-
<dict>
|
30
|
-
<key>Identifier</key>
|
31
|
-
<string>productName</string>
|
32
|
-
<key>ConstraintType</key>
|
33
|
-
<string>DefaultIfAssociatedTarget</string>
|
34
|
-
<key>Value</key>
|
35
|
-
<string>___ASSOCIATEDTARGET_bundleName___UITests</string>
|
36
|
-
</dict>
|
37
|
-
</array>
|
38
|
-
</dict>
|
39
|
-
</plist>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>Kind</key>
|
6
|
-
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
|
-
<key>Identifier</key>
|
8
|
-
<string>com.apple.dt.unit.macOSUICucumberishTestingBundle</string>
|
9
|
-
<key>Ancestors</key>
|
10
|
-
<array>
|
11
|
-
<string>com.apple.dt.unit.cucumberishUITestBundleBase</string>
|
12
|
-
<string>com.apple.dt.unit.osxBase</string>
|
13
|
-
</array>
|
14
|
-
<key>Concrete</key>
|
15
|
-
<true/>
|
16
|
-
<key>Description</key>
|
17
|
-
<string>This target builds a BDD style user interface testing bundle that uses the Cucumberish and XCTest framework.</string>
|
18
|
-
<key>SortOrder</key>
|
19
|
-
<integer>1</integer>
|
20
|
-
<key>Targets</key>
|
21
|
-
<array>
|
22
|
-
<dict>
|
23
|
-
<key>TargetIdentifier</key>
|
24
|
-
<string>com.apple.dt.cocoaUITestBundleTarget</string>
|
25
|
-
</dict>
|
26
|
-
</array>
|
27
|
-
<key>OptionConstraints</key>
|
28
|
-
<array>
|
29
|
-
<dict>
|
30
|
-
<key>Identifier</key>
|
31
|
-
<string>productName</string>
|
32
|
-
<key>ConstraintType</key>
|
33
|
-
<string>DefaultIfAssociatedTarget</string>
|
34
|
-
<key>Value</key>
|
35
|
-
<string>___ASSOCIATEDTARGET_bundleName___UITests</string>
|
36
|
-
</dict>
|
37
|
-
</array>
|
38
|
-
</dict>
|
39
|
-
</plist>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>Kind</key>
|
6
|
-
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
|
-
<key>Identifier</key>
|
8
|
-
<string>com.apple.dt.unit.iosAPICucumberishTestingBundle</string>
|
9
|
-
<key>Ancestors</key>
|
10
|
-
<array>
|
11
|
-
<string>com.apple.dt.unit.cucumberishAPITestBundleBase</string>
|
12
|
-
<string>com.apple.dt.unit.iosBase</string>
|
13
|
-
</array>
|
14
|
-
<key>Concrete</key>
|
15
|
-
<true/>
|
16
|
-
<key>Description</key>
|
17
|
-
<string>This target builds a BDD style API testing bundle that uses the Cucumberish and XCTest framework.</string>
|
18
|
-
<key>SortOrder</key>
|
19
|
-
<integer>1</integer>
|
20
|
-
<key>Targets</key>
|
21
|
-
<array>
|
22
|
-
<dict>
|
23
|
-
<key>TargetIdentifier</key>
|
24
|
-
<string>com.apple.dt.cocoaUITestBundleTarget</string>
|
25
|
-
</dict>
|
26
|
-
</array>
|
27
|
-
<key>OptionConstraints</key>
|
28
|
-
<array>
|
29
|
-
<dict>
|
30
|
-
<key>Identifier</key>
|
31
|
-
<string>productName</string>
|
32
|
-
<key>ConstraintType</key>
|
33
|
-
<string>DefaultIfAssociatedTarget</string>
|
34
|
-
<key>Value</key>
|
35
|
-
<string>___ASSOCIATEDTARGET_bundleName___UITests</string>
|
36
|
-
</dict>
|
37
|
-
</array>
|
38
|
-
</dict>
|
39
|
-
</plist>
|