xcfit 2.0.4 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -9
  3. data/Docs/InitialVersion.md +340 -0
  4. data/Package.swift +5 -0
  5. data/README.md +348 -145
  6. data/XCFit.gemspec +1 -1
  7. data/XCFit.podspec +17 -9
  8. data/XCFit/Classes/Cucumberish/Core/CCIBlockDefinitions.h +400 -0
  9. data/XCFit/Classes/Cucumberish/Core/Managers/CCIFeaturesManager.h +72 -0
  10. data/XCFit/Classes/Cucumberish/Core/Managers/CCIFeaturesManager.m +141 -0
  11. data/XCFit/Classes/Cucumberish/Core/Managers/CCIStepsManager.h +51 -0
  12. data/XCFit/Classes/Cucumberish/Core/Managers/CCIStepsManager.m +245 -0
  13. data/XCFit/Classes/Cucumberish/Core/Models/CCIArgument.h +62 -0
  14. data/XCFit/Classes/Cucumberish/Core/Models/CCIArgument.m +117 -0
  15. data/XCFit/Classes/Cucumberish/Core/Models/CCIAroundHock.h +37 -0
  16. data/XCFit/Classes/Cucumberish/Core/Models/CCIAroundHock.m +37 -0
  17. data/XCFit/Classes/Cucumberish/Core/Models/CCIBackground.h +46 -0
  18. data/XCFit/Classes/Cucumberish/Core/Models/CCIBackground.m +117 -0
  19. data/XCFit/Classes/Cucumberish/Core/Models/CCIExample.h +89 -0
  20. data/XCFit/Classes/Cucumberish/Core/Models/CCIExample.m +128 -0
  21. data/XCFit/Classes/Cucumberish/Core/Models/CCIFeature.h +49 -0
  22. data/XCFit/Classes/Cucumberish/Core/Models/CCIFeature.m +174 -0
  23. data/XCFit/Classes/Cucumberish/Core/Models/CCIHock.h +36 -0
  24. data/XCFit/Classes/Cucumberish/Core/Models/CCIHock.m +34 -0
  25. data/XCFit/Classes/Cucumberish/Core/Models/CCILocation.h +61 -0
  26. data/XCFit/Classes/Cucumberish/Core/Models/CCILocation.m +91 -0
  27. data/XCFit/Classes/Cucumberish/Core/Models/CCIScenarioDefinition.h +97 -0
  28. data/XCFit/Classes/Cucumberish/Core/Models/CCIScenarioDefinition.m +224 -0
  29. data/XCFit/Classes/Cucumberish/Core/Models/CCIStep.h +85 -0
  30. data/XCFit/Classes/Cucumberish/Core/Models/CCIStep.m +98 -0
  31. data/XCFit/Classes/Cucumberish/Core/Models/CCIStepDefinition.h +43 -0
  32. data/XCFit/Classes/Cucumberish/Core/Models/CCIStepDefinition.m +65 -0
  33. data/XCFit/Classes/Cucumberish/Cucumberish.h +133 -0
  34. data/XCFit/Classes/Cucumberish/Cucumberish.m +604 -0
  35. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstBuilder.h +15 -0
  36. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstBuilder.m +312 -0
  37. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstNode.h +20 -0
  38. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHAstNode.m +79 -0
  39. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHBackground.h +12 -0
  40. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHBackground.m +18 -0
  41. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHComment.h +11 -0
  42. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHComment.m +27 -0
  43. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDataTable.h +14 -0
  44. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDataTable.m +30 -0
  45. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDocString.h +14 -0
  46. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDocString.m +29 -0
  47. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHExamples.h +24 -0
  48. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHExamples.m +49 -0
  49. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHFeature.h +24 -0
  50. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHFeature.m +50 -0
  51. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialect.h +25 -0
  52. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialect.m +64 -0
  53. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialectProvider.h +9 -0
  54. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialectProvider.m +124 -0
  55. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinDialectProviderProtocol.h +10 -0
  56. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageConstants.h +9 -0
  57. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageConstants.m +10 -0
  58. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageSetting.h +17 -0
  59. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLanguageSetting.m +18 -0
  60. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLine.h +12 -0
  61. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLine.m +179 -0
  62. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLineProtocol.h +64 -0
  63. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLineSpan.h +9 -0
  64. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHGherkinLineSpan.m +26 -0
  65. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasDescriptionProtocol.h +8 -0
  66. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasLocationProtocol.h +8 -0
  67. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasRowsProtocol.h +8 -0
  68. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasStepsProtocol.h +8 -0
  69. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHHasTagsProtocol.h +8 -0
  70. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHLocation.h +12 -0
  71. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHLocation.m +41 -0
  72. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHNode.h +4 -0
  73. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHNode.m +5 -0
  74. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser+Extensions.h +10 -0
  75. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser+Extensions.m +18 -0
  76. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser.h +132 -0
  77. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParser.m +2735 -0
  78. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParserException.h +55 -0
  79. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParserException.m +192 -0
  80. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenario.h +14 -0
  81. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenario.m +18 -0
  82. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioDefinition.h +23 -0
  83. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioDefinition.m +41 -0
  84. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioDefinition_Private.h +6 -0
  85. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioOutline.h +15 -0
  86. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHScenarioOutline.m +26 -0
  87. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStep.h +16 -0
  88. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStep.m +35 -0
  89. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStepArgument.h +4 -0
  90. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHStepArgument.m +5 -0
  91. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableCell.h +13 -0
  92. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableCell.m +28 -0
  93. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableRow.h +13 -0
  94. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTableRow.m +29 -0
  95. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTag.h +13 -0
  96. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTag.m +28 -0
  97. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHToken.h +26 -0
  98. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHToken.m +50 -0
  99. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenMatcher.h +29 -0
  100. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenMatcher.m +283 -0
  101. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenScanner.h +12 -0
  102. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHTokenScanner.m +59 -0
  103. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/NSString+Trim.h +7 -0
  104. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/NSString+Trim.m +28 -0
  105. data/XCFit/Classes/Cucumberish/Dependencies/Gherkin/gherkin-languages.json +2969 -0
  106. data/XCFit/Classes/Cucumberish/Utils/NSArray+Hashes.h +24 -0
  107. data/XCFit/Classes/Cucumberish/Utils/NSArray+Hashes.m +44 -0
  108. data/XCFit/Classes/Cucumberish/Utils/NSObject+Dictionary.h +7 -0
  109. data/XCFit/Classes/Cucumberish/Utils/NSObject+Dictionary.m +83 -0
  110. data/XCFit/Classes/Cucumberish/Utils/NSString+Formatter.h +32 -0
  111. data/XCFit/Classes/Cucumberish/Utils/NSString+Formatter.m +70 -0
  112. data/Xcode7-Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateInfo.plist +13 -0
  113. data/Xcode7-Templates/XCFit/iOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +11 -0
  114. data/lib/XCFit/version.rb +1 -1
  115. metadata +108 -38
  116. data/XCFit/Assets/.gitkeep +0 -0
  117. data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/TemplateIcon.png +0 -0
  118. data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/TemplateIcon@2x.png +0 -0
  119. data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/TemplateInfo.plist +0 -22
  120. data/XCFit/Assets/Gherkin/Cucumber Feature.xctemplate/___FILEBASENAME___.feature +0 -20
  121. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/AcceptanceTests-Bridging-Header.h +0 -1
  122. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/FixtureExample.swift +0 -31
  123. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/SlimTables.h +0 -28
  124. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/TemplateIcon.png +0 -0
  125. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/TemplateIcon@2x.png +0 -0
  126. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/TemplateInfo.plist +0 -150
  127. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h +0 -1
  128. data/XCFit/Assets/XCFit/Base Acceptance Tests.xctemplate/___PACKAGENAMEASIDENTIFIER___.m +0 -15
  129. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/TemplateIcon.png +0 -0
  130. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/TemplateIcon@2x.png +0 -0
  131. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/TemplateInfo.plist +0 -123
  132. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h +0 -7
  133. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.feature +0 -11
  134. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.h +0 -14
  135. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m +0 -17
  136. data/XCFit/Assets/XCFit/Cucumberish API Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.swift +0 -23
  137. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateIcon.png +0 -0
  138. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateIcon@2x.png +0 -0
  139. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/TemplateInfo.plist +0 -123
  140. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h +0 -7
  141. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.feature +0 -11
  142. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.h +0 -14
  143. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m +0 -17
  144. data/XCFit/Assets/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.swift +0 -25
  145. data/XCFit/Assets/XCFit/Mac Acceptance Tests.xctemplate/Empty.xib +0 -12
  146. data/XCFit/Assets/XCFit/Mac Acceptance Tests.xctemplate/TemplateInfo.plist +0 -54
  147. data/XCFit/Assets/XCFit/MacOS API Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
  148. data/XCFit/Assets/XCFit/MacOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
  149. data/XCFit/Assets/XCFit/iOS API Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
  150. data/XCFit/Assets/XCFit/iOS Acceptance Tests.xctemplate/TemplateInfo.plist +0 -52
  151. data/XCFit/Assets/XCFit/iOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist +0 -39
File without changes
@@ -1,22 +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.IDEFoundation.TextSubstitutionFileTemplateKind</string>
7
- <key>Description</key>
8
- <string>An empty Feature file.</string>
9
- <key>Summary</key>
10
- <string>An empty Feature file</string>
11
- <key>SortOrder</key>
12
- <string>5</string>
13
- <key>AllowedTypes</key>
14
- <array>
15
- <string>public.swift-source</string>
16
- </array>
17
- <key>DefaultCompletionName</key>
18
- <string>File</string>
19
- <key>MainTemplateFile</key>
20
- <string>___FILEBASENAME___.feature</string>
21
- </dict>
22
- </plist>
@@ -1,20 +0,0 @@
1
- //
2
- // ___FILENAME___
3
- // ___PROJECTNAME___
4
- //
5
- // Created by ___FULLUSERNAME___ on ___DATE___.
6
- //___COPYRIGHT___
7
- //
8
- // This is template feature written in Gherkin DSL
9
-
10
- Feature: ___FILENAME___
11
-
12
- In order to …
13
- As a …
14
- I want to …
15
-
16
- Scenario: First Scenario
17
-
18
- Given …
19
- When ….
20
- Then ….
@@ -1,31 +0,0 @@
1
- //
2
- // Copyright © 2015 stringerstheory. All rights reserved.
3
- //
4
-
5
- import Foundation
6
-
7
- @objc(FixtureExample)
8
-
9
- class FixtureExample : NSObject, SlimDecisionTable {
10
-
11
- //MARK: Inputs
12
-
13
- var input = ""
14
-
15
- //MARK: <SlimDecisionTable>
16
-
17
- func execute() {
18
- // 1. Prepare a System Under Test (SUT) using the given inputs.
19
- // e.g. let system = System(input: foo)
20
- // 2. Run your SUT and prepare to return outputs.
21
- }
22
-
23
- //MARK: Outputs
24
-
25
- var output: NSString {
26
- get {
27
- return ""
28
- }
29
- }
30
-
31
- }
@@ -1,28 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
-
3
- // Slim Decision Table
4
- // http://www.fitnesse.org/FitNesse.UserGuide.WritingAcceptanceTests.SliM.DecisionTable
5
-
6
- @protocol SlimDecisionTable <NSObject>
7
-
8
- @optional
9
- - (void)table:(NSArray*)table;
10
- - (void)beginTable;
11
- - (void)endTable;
12
- - (void)reset;
13
- @required
14
- - (void)execute;
15
-
16
- @end
17
-
18
- // Slim Query Table
19
- // http://www.fitnesse.org/FitNesse.UserGuide.WritingAcceptanceTests.SliM.QueryTable
20
-
21
- @protocol SlimQueryTable <NSObject>
22
-
23
- @optional
24
- - (void)table:(NSArray*)table;
25
- @required
26
- - (NSArray*)query;
27
-
28
- @end
@@ -1,150 +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>Swift</key>
8
- <dict>
9
- <key>Nodes</key>
10
- <array/>
11
- <key>Definitions</key>
12
- <dict>
13
- <key>___PACKAGENAMEASIDENTIFIER___.swift</key>
14
- <dict>
15
- <key>Path</key>
16
- <string>___PACKAGENAMEASIDENTIFIER___.swift</string>
17
- </dict>
18
- </dict>
19
- </dict>
20
- <key>Ancestors</key>
21
- <array>
22
- <string>com.apple.dt.unit.applicationBase</string>
23
- </array>
24
- <key>Identifier</key>
25
- <string>io.cleankit.baseAcceptanceTests</string>
26
- <key>Concrete</key>
27
- <false/>
28
- <key>TargetOnly</key>
29
- <true/>
30
- <key>Targets</key>
31
- <array>
32
- <dict>
33
- <key>ProductType</key>
34
- <string>com.apple.product-type.application</string>
35
- <key>SharedSettings</key>
36
- <dict>
37
- <key>LD_RUNPATH_SEARCH_PATHS</key>
38
- <string>$(inherited) @executable_path/../Frameworks</string>
39
- <key>SWIFT_OBJC_BRIDGING_HEADER</key>
40
- <string>___PACKAGENAMEASIDENTIFIER___/___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</string>
41
- </dict>
42
- <key>BuildPhases</key>
43
- <array>
44
- <dict>
45
- <key>Class</key>
46
- <string>ShellScript</string>
47
- <key>ShellPath</key>
48
- <string>/bin/sh</string>
49
- <key>ShellScript</key>
50
- <string># Validate Project Build Settings
51
- if [ -z &quot;${OCSLIMPROJECT_BUNDLE_RESOURCES_DIR}&quot; ]; then
52
- echo &quot;Missing expected OCSlimProject build settings. Running &apos;$ pod update&apos; may fix this problem&quot;
53
- exit 1
54
- fi
55
-
56
- # Export Build Environment to Bundle Location
57
- ENV_TARGET=${OCSLIMPROJECT_BUNDLE_RESOURCES_DIR}/env.sh
58
-
59
- function exportTestRunnerEnv {
60
- mkdir -p &quot;$(dirname &quot;$ENV_TARGET&quot;)&quot; &amp;&amp; touch &quot;$ENV_TARGET&quot;
61
- export | egrep &apos;(INSTALL_DIR)|(PRODUCT_NAME)|(TARGET_BUILD_DIR)|(EXECUTABLE_FOLDER_PATH)|(DEPLOYMENT_TARGET_SUGGESTED_VALUES)|(EXECUTABLE_PATH)&apos; &gt; $ENV_TARGET
62
- }
63
-
64
- # Write Test Runner Script To Project Root
65
- TESTRUNNER_SOURCE=${OCSLIMPROJECT_BUNDLE_RESOURCES_DIR}/RunTestsTargetWithSlimPort
66
- TESTRUNNER_TARGET=${PROJECT_DIR}/OCSlimProjectTestRunner.sh
67
-
68
- function writeTestRunnerScript {
69
-
70
- if [ -f &quot;$TESTRUNNER_TARGET&quot; ]; then
71
- rm $TESTRUNNER_TARGET
72
- fi
73
-
74
- echo &apos;#!/bin/sh&apos; &gt; $TESTRUNNER_TARGET
75
- echo $TESTRUNNER_SOURCE &apos;$1&apos; &gt;&gt; $TESTRUNNER_TARGET
76
- chmod +x $TESTRUNNER_TARGET
77
-
78
- }
79
-
80
- # Symbolic Link LaunchFitnesse to Project Root
81
- LAUNCHFITNESSE_SCRIPTNAME=LaunchFitnesse
82
- LAUNCHFITNESSE_SOURCE=${OCSLIMPROJECT_BUNDLE_RESOURCES_DIR}/$LAUNCHFITNESSE_SCRIPTNAME
83
- LAUNCHFITNESSE_TARGET=${PROJECT_DIR}/$LAUNCHFITNESSE_SCRIPTNAME
84
-
85
- function linkFitnesseScript {
86
-
87
- if [ -L $LAUNCHFITNESSE_TARGET ]; then
88
- unlink $LAUNCHFITNESSE_TARGET
89
- fi
90
-
91
- ln -s $LAUNCHFITNESSE_SOURCE $(dirname &quot;$LAUNCHFITNESSE_TARGET&quot;)
92
- }
93
-
94
-
95
- ###
96
-
97
- exportTestRunnerEnv
98
- writeTestRunnerScript
99
- linkFitnesseScript</string>
100
- </dict>
101
- </array>
102
- </dict>
103
- </array>
104
- <key>Nodes</key>
105
- <array>
106
- <string>___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</string>
107
- <string>___PACKAGENAMEASIDENTIFIER___.m</string>
108
- <string>FixtureExample.swift</string>
109
- <string>SlimTables.h</string>
110
- <string>Info.plist:PackageType</string>
111
- </array>
112
- <key>Definitions</key>
113
- <dict>
114
- <key>___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</key>
115
- <dict>
116
- <key>Path</key>
117
- <string>___PACKAGENAMEASIDENTIFIER___-Bridging-Header.h</string>
118
- <key>Group</key>
119
- <string>Supporting Files</string>
120
- <key>SortOrder</key>
121
- <integer>100</integer>
122
- </dict>
123
- <key>___PACKAGENAMEASIDENTIFIER___.m</key>
124
- <dict>
125
- <key>Path</key>
126
- <string>___PACKAGENAMEASIDENTIFIER___.m</string>
127
- <key>Group</key>
128
- <string>Supporting Files</string>
129
- </dict>
130
- <key>FixtureExample.swift</key>
131
- <dict>
132
- <key>Path</key>
133
- <string>FixtureExample.swift</string>
134
- <key>Group</key>
135
- <string>Fixtures</string>
136
- </dict>
137
- <key>SlimTables.h</key>
138
- <dict>
139
- <key>Path</key>
140
- <string>SlimTables.h</string>
141
- <key>Group</key>
142
- <string>Supporting Files</string>
143
- </dict>
144
- <key>Info.plist:PackageType</key>
145
- <string>&lt;key&gt;CFBundlePackageType&lt;/key&gt;
146
- &lt;string&gt;APPL&lt;/string&gt;
147
- </string>
148
- </dict>
149
- </dict>
150
- </plist>
@@ -1,15 +0,0 @@
1
- //
2
- // Copyright © 2015 stringerstheory. All rights reserved.
3
- //
4
- //
5
- #import <Foundation/Foundation.h>
6
-
7
- #if __has_include(<OCSlimProject/OCSlimProject.h>)
8
- #else
9
- #pragma GCC error "'OCSlimProject' pod not found. Add \" 'OCSlimProject' \" to the current targets pod configuration."
10
- #endif
11
-
12
- @interface ___PACKAGENAMEASIDENTIFIER___ : NSObject
13
- @end
14
- @implementation ___PACKAGENAMEASIDENTIFIER___
15
- @end
@@ -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.cucumberishAPITestBundleBase</string>
9
- <key>Ancestors</key>
10
- <array>
11
- <string>com.apple.dt.unit.unitTestBundleBase</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=@\&quot;$(SRCROOT)\&quot;</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>@\&quot;$(SRCROOT)\&quot;</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>&lt;key&gt;CFBundlePackageType&lt;/key&gt;
74
- &lt;string&gt;BNDL&lt;/string&gt;
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>
@@ -1,7 +0,0 @@
1
- //
2
- //
3
- // Created by XCFit Framework
4
- // Copyright © 2016 XCFit Framework. All rights reserved.
5
- //
6
- #import "Cucumberish.h"
7
- #import "CCIStepsManager.h"
@@ -1,11 +0,0 @@
1
- Feature: Template Feature
2
-
3
- In order to
4
- As a
5
- I want to
6
-
7
- # Please refeer Gherkin Syntax to write scenario in Given When Then language
8
-
9
- Scenario: First Scenario
10
- Given the app is running
11
-
@@ -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