ilesspainfulclient-cucumber 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,18 +5,6 @@
5
5
  <orderEntry type="inheritedJdk" />
6
6
  <orderEntry type="sourceFolder" forTests="false" />
7
7
  <orderEntry type="library" name="JsTD Assertion Framework" level="application" />
8
- <orderEntry type="library" scope="PROVIDED" name="gherkin (v2.5.2, RVM: ruby-1.9.2-p290) [gem]" level="application" />
9
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.21, RVM: ruby-1.9.2-p290) [gem]" level="application" />
10
- <orderEntry type="library" scope="PROVIDED" name="term-ansicolor (v1.0.7, RVM: ruby-1.9.2-p290) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.7.1, RVM: ruby-1.9.2-p290) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="cucumber (v1.1.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.7.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="json (v1.6.1, RVM: ruby-1.9.2-p290) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.7.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.2-p290) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="builder (v3.0.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.7.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="net-http-persistent (v2.3.1, RVM: ruby-1.9.2-p290) [gem]" level="application" />
20
8
  </component>
21
9
  </module>
22
10
 
data/.idea/misc.xml CHANGED
@@ -6,6 +6,6 @@
6
6
  <component name="ProjectResources">
7
7
  <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
8
8
  </component>
9
- <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.2-p290" project-jdk-type="RUBY_SDK" />
9
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-1.8.7-p249" project-jdk-type="RUBY_SDK" />
10
10
  </project>
11
11
 
data/.idea/workspace.xml CHANGED
@@ -3,9 +3,8 @@
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="b674922a-80f6-43b8-8f19-8907d5a21bcc" name="Default" comment="">
5
5
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/iLessPainfulClient.iml" afterPath="$PROJECT_DIR$/.idea/iLessPainfulClient.iml" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
6
7
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
8
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb" afterPath="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb" />
9
8
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb" afterPath="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb" />
10
9
  </list>
11
10
  <ignored path="iLessPainfulClient.iws" />
@@ -32,16 +31,34 @@
32
31
  <file leaf-file-name="operations.rb" pinned="false" current="false" current-in-tab="false">
33
32
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb">
34
33
  <provider selected="true" editor-type-id="text-editor">
35
- <state line="55" column="53" selection-start="1352" selection-end="1352" vertical-scroll-proportion="0.0">
34
+ <state line="230" column="33" selection-start="6940" selection-end="6940" vertical-scroll-proportion="0.0">
36
35
  <folding />
37
36
  </state>
38
37
  </provider>
39
38
  </entry>
40
39
  </file>
41
- <file leaf-file-name="CHANGES.txt" pinned="false" current="false" current-in-tab="false">
42
- <entry file="file://$PROJECT_DIR$/CHANGES.txt">
40
+ <file leaf-file-name="hooks.rb" pinned="false" current="false" current-in-tab="false">
41
+ <entry file="file://$PROJECT_DIR$/features-skeleton/support/hooks.rb">
43
42
  <provider selected="true" editor-type-id="text-editor">
44
- <state line="4" column="11" selection-start="121" selection-end="121" vertical-scroll-proportion="0.0">
43
+ <state line="19" column="12" selection-start="414" selection-end="424" vertical-scroll-proportion="0.0">
44
+ <folding />
45
+ </state>
46
+ </provider>
47
+ </entry>
48
+ </file>
49
+ <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
50
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb">
51
+ <provider selected="true" editor-type-id="text-editor">
52
+ <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.102389075">
53
+ <folding />
54
+ </state>
55
+ </provider>
56
+ </entry>
57
+ </file>
58
+ <file leaf-file-name="lesspainful_steps.rb" pinned="false" current="false" current-in-tab="false">
59
+ <entry file="file://$PROJECT_DIR$/features-skeleton/step_definitions/lesspainful_steps.rb">
60
+ <provider selected="true" editor-type-id="text-editor">
61
+ <state line="0" column="54" selection-start="54" selection-end="54" vertical-scroll-proportion="0.0">
45
62
  <folding />
46
63
  </state>
47
64
  </provider>
@@ -50,16 +67,34 @@
50
67
  <file leaf-file-name="lesspainful_steps.rb" pinned="false" current="false" current-in-tab="false">
51
68
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb">
52
69
  <provider selected="true" editor-type-id="text-editor">
53
- <state line="154" column="13" selection-start="3982" selection-end="3982" vertical-scroll-proportion="0.0">
70
+ <state line="156" column="5" selection-start="4019" selection-end="4019" vertical-scroll-proportion="0.0">
54
71
  <folding />
55
72
  </state>
56
73
  </provider>
57
74
  </entry>
58
75
  </file>
59
- <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
60
- <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb">
76
+ <file leaf-file-name="env.rb" pinned="false" current="false" current-in-tab="false">
77
+ <entry file="file://$PROJECT_DIR$/features-skeleton/support/env.rb">
61
78
  <provider selected="true" editor-type-id="text-editor">
62
- <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.03508772">
79
+ <state line="1" column="0" selection-start="47" selection-end="47" vertical-scroll-proportion="0.0">
80
+ <folding />
81
+ </state>
82
+ </provider>
83
+ </entry>
84
+ </file>
85
+ <file leaf-file-name="cucumber.rb" pinned="false" current="false" current-in-tab="false">
86
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/cucumber.rb">
87
+ <provider selected="true" editor-type-id="text-editor">
88
+ <state line="9" column="0" selection-start="283" selection-end="283" vertical-scroll-proportion="0.0">
89
+ <folding />
90
+ </state>
91
+ </provider>
92
+ </entry>
93
+ </file>
94
+ <file leaf-file-name="my_first.feature" pinned="false" current="false" current-in-tab="false">
95
+ <entry file="file://$PROJECT_DIR$/features-skeleton/my_first.feature">
96
+ <provider selected="true" editor-type-id="text-editor">
97
+ <state line="2" column="23" selection-start="69" selection-end="69" vertical-scroll-proportion="0.0">
63
98
  <folding />
64
99
  </state>
65
100
  </provider>
@@ -79,7 +114,6 @@
79
114
  <component name="IdeDocumentHistory">
80
115
  <option name="changedFiles">
81
116
  <list>
82
- <option value="$PROJECT_DIR$/lib/lesspainfulclient-cucumber/lesspainful_steps.rb" />
83
117
  <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/color_helper.rb" />
84
118
  <option value="$PROJECT_DIR$/ilesspainfulclient.gemspec" />
85
119
  <option value="$PROJECT_DIR$/features-skeleton/step_definitions/launch_steps.rb" />
@@ -87,13 +121,14 @@
87
121
  <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/cucumber.rb" />
88
122
  <option value="$PROJECT_DIR$/features-skeleton/support/env.rb" />
89
123
  <option value="$PROJECT_DIR$/features-skeleton/step_definitions/lesspainful_steps.rb" />
90
- <option value="$PROJECT_DIR$/bin/ilesspainful-skeleton" />
91
124
  <option value="$PROJECT_DIR$/features-skeleton/every.feature" />
92
- <option value="$PROJECT_DIR$/features-skeleton/my_first.feature" />
93
125
  <option value="$PROJECT_DIR$/CHANGES.txt" />
94
126
  <option value="$USER_HOME$/Downloads/productshow2.html" />
95
- <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb" />
96
127
  <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb" />
128
+ <option value="$PROJECT_DIR$/features-skeleton/my_first.feature" />
129
+ <option value="$PROJECT_DIR$/bin/ilesspainful-skeleton" />
130
+ <option value="$PROJECT_DIR$/features-skeleton/support/hooks.rb" />
131
+ <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb" />
97
132
  <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb" />
98
133
  </list>
99
134
  </option>
@@ -124,7 +159,7 @@
124
159
  <sortByType />
125
160
  </navigator>
126
161
  <panes>
127
- <pane id="Favorites" />
162
+ <pane id="Scope" />
128
163
  <pane id="ProjectPane">
129
164
  <subPane>
130
165
  <PATH>
@@ -139,7 +174,7 @@
139
174
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
140
175
  </PATH_ELEMENT>
141
176
  <PATH_ELEMENT>
142
- <option name="myItemId" value="iLessPainfulClient" />
177
+ <option name="myItemId" value="ilesspainfulclient" />
143
178
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
144
179
  </PATH_ELEMENT>
145
180
  </PATH>
@@ -149,7 +184,7 @@
149
184
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
150
185
  </PATH_ELEMENT>
151
186
  <PATH_ELEMENT>
152
- <option name="myItemId" value="iLessPainfulClient" />
187
+ <option name="myItemId" value="ilesspainfulclient" />
153
188
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
154
189
  </PATH_ELEMENT>
155
190
  <PATH_ELEMENT>
@@ -163,7 +198,7 @@
163
198
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
164
199
  </PATH_ELEMENT>
165
200
  <PATH_ELEMENT>
166
- <option name="myItemId" value="iLessPainfulClient" />
201
+ <option name="myItemId" value="ilesspainfulclient" />
167
202
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
168
203
  </PATH_ELEMENT>
169
204
  <PATH_ELEMENT>
@@ -175,73 +210,9 @@
175
210
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
176
211
  </PATH_ELEMENT>
177
212
  </PATH>
178
- <PATH>
179
- <PATH_ELEMENT>
180
- <option name="myItemId" value="iLessPainfulClient" />
181
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
182
- </PATH_ELEMENT>
183
- <PATH_ELEMENT>
184
- <option name="myItemId" value="iLessPainfulClient" />
185
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
186
- </PATH_ELEMENT>
187
- <PATH_ELEMENT>
188
- <option name="myItemId" value="features-skeleton" />
189
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
190
- </PATH_ELEMENT>
191
- </PATH>
192
- <PATH>
193
- <PATH_ELEMENT>
194
- <option name="myItemId" value="iLessPainfulClient" />
195
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
196
- </PATH_ELEMENT>
197
- <PATH_ELEMENT>
198
- <option name="myItemId" value="iLessPainfulClient" />
199
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
200
- </PATH_ELEMENT>
201
- <PATH_ELEMENT>
202
- <option name="myItemId" value="features-skeleton" />
203
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
204
- </PATH_ELEMENT>
205
- <PATH_ELEMENT>
206
- <option name="myItemId" value="support" />
207
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
208
- </PATH_ELEMENT>
209
- </PATH>
210
- <PATH>
211
- <PATH_ELEMENT>
212
- <option name="myItemId" value="iLessPainfulClient" />
213
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
214
- </PATH_ELEMENT>
215
- <PATH_ELEMENT>
216
- <option name="myItemId" value="iLessPainfulClient" />
217
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
218
- </PATH_ELEMENT>
219
- <PATH_ELEMENT>
220
- <option name="myItemId" value="features-skeleton" />
221
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
222
- </PATH_ELEMENT>
223
- <PATH_ELEMENT>
224
- <option name="myItemId" value="step_definitions" />
225
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
226
- </PATH_ELEMENT>
227
- </PATH>
228
- <PATH>
229
- <PATH_ELEMENT>
230
- <option name="myItemId" value="iLessPainfulClient" />
231
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
232
- </PATH_ELEMENT>
233
- <PATH_ELEMENT>
234
- <option name="myItemId" value="iLessPainfulClient" />
235
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
236
- </PATH_ELEMENT>
237
- <PATH_ELEMENT>
238
- <option name="myItemId" value="bin" />
239
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
240
- </PATH_ELEMENT>
241
- </PATH>
242
213
  </subPane>
243
214
  </pane>
244
- <pane id="Scope" />
215
+ <pane id="Favorites" />
245
216
  </panes>
246
217
  </component>
247
218
  <component name="PropertiesComponent">
@@ -429,26 +400,26 @@
429
400
  <servers />
430
401
  </component>
431
402
  <component name="ToolWindowManager">
432
- <frame x="57" y="22" width="1573" height="976" extended-state="1" />
403
+ <frame x="436" y="284" width="1092" height="434" extended-state="0" />
433
404
  <editor active="true" />
434
405
  <layout>
435
406
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
436
407
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
437
408
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
438
- <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
439
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.35635895" sideWeight="0.6925734" order="0" side_tool="false" content_ui="tabs" />
409
+ <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
410
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.37546816" sideWeight="0.6925734" order="0" side_tool="false" content_ui="tabs" />
440
411
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
441
412
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
442
- <window_info id="JsTestDriver Server" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
443
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
413
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
444
414
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
445
415
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
446
416
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
447
417
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3074266" sideWeight="0.99576527" order="1" side_tool="false" content_ui="tabs" />
448
- <window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32863188" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
418
+ <window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32863188" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
449
419
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
450
420
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
451
421
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
422
+ <window_info id="JsTestDriver Server" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
452
423
  </layout>
453
424
  </component>
454
425
  <component name="VcsManagerConfiguration">
@@ -494,86 +465,76 @@
494
465
  <breakpoint-manager />
495
466
  </component>
496
467
  <component name="editorHistoryManager">
497
- <entry file="file://$APPLICATION_HOME_DIR$/rubystubs19/float.rb">
498
- <provider selected="true" editor-type-id="text-editor">
499
- <state line="60" column="8" selection-start="1867" selection-end="1867" vertical-scroll-proportion="0.0" />
500
- </provider>
501
- </entry>
502
- <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/cucumber.rb">
503
- <provider selected="true" editor-type-id="text-editor">
504
- <state line="9" column="0" selection-start="283" selection-end="283" vertical-scroll-proportion="0.0" />
505
- </provider>
506
- </entry>
507
468
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/color_helper.rb">
508
469
  <provider selected="true" editor-type-id="text-editor">
509
470
  <state line="0" column="7" selection-start="7" selection-end="8" vertical-scroll-proportion="0.0" />
510
471
  </provider>
511
472
  </entry>
512
- <entry file="file://$USER_HOME$/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb">
473
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber.rb">
513
474
  <provider selected="true" editor-type-id="text-editor">
514
- <state line="1032" column="6" selection-start="30643" selection-end="30643" vertical-scroll-proportion="0.3319672" />
475
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
515
476
  </provider>
516
477
  </entry>
517
- <entry file="file://$PROJECT_DIR$/features-skeleton/step_definitions/lesspainful_steps.rb">
478
+ <entry file="file://$PROJECT_DIR$/Gemfile">
518
479
  <provider selected="true" editor-type-id="text-editor">
519
- <state line="0" column="54" selection-start="54" selection-end="54" vertical-scroll-proportion="0.0" />
480
+ <state line="3" column="4" selection-start="107" selection-end="107" vertical-scroll-proportion="0.14240506" />
520
481
  </provider>
521
482
  </entry>
522
- <entry file="file://$PROJECT_DIR$/features-skeleton/support/env.rb">
483
+ <entry file="file://$PROJECT_DIR$/ilesspainfulclient.gemspec">
523
484
  <provider selected="true" editor-type-id="text-editor">
524
- <state line="1" column="0" selection-start="47" selection-end="47" vertical-scroll-proportion="0.0" />
485
+ <state line="11" column="26" selection-start="467" selection-end="467" vertical-scroll-proportion="0.098101266" />
525
486
  </provider>
526
487
  </entry>
527
- <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber.rb">
488
+ <entry file="file://$PROJECT_DIR$/CHANGES.txt">
528
489
  <provider selected="true" editor-type-id="text-editor">
529
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
490
+ <state line="4" column="11" selection-start="121" selection-end="121" vertical-scroll-proportion="0.07025761" />
530
491
  </provider>
531
492
  </entry>
532
- <entry file="file://$PROJECT_DIR$/features-skeleton/my_first.feature">
493
+ <entry file="file://$PROJECT_DIR$/bin/ilesspainful-skeleton">
533
494
  <provider selected="true" editor-type-id="text-editor">
534
- <state line="8" column="38" selection-start="178" selection-end="178" vertical-scroll-proportion="0.37974682" />
495
+ <state line="18" column="153" selection-start="696" selection-end="696" vertical-scroll-proportion="0.0" />
535
496
  </provider>
536
497
  </entry>
537
- <entry file="file://$PROJECT_DIR$/Gemfile">
498
+ <entry file="file://$PROJECT_DIR$/features-skeleton/support/hooks.rb">
538
499
  <provider selected="true" editor-type-id="text-editor">
539
- <state line="3" column="4" selection-start="107" selection-end="107" vertical-scroll-proportion="0.14240506" />
500
+ <state line="19" column="12" selection-start="414" selection-end="424" vertical-scroll-proportion="0.0" />
540
501
  </provider>
541
502
  </entry>
542
- <entry file="file://$PROJECT_DIR$/ilesspainfulclient.gemspec">
503
+ <entry file="file://$PROJECT_DIR$/features-skeleton/step_definitions/lesspainful_steps.rb">
543
504
  <provider selected="true" editor-type-id="text-editor">
544
- <state line="11" column="26" selection-start="467" selection-end="467" vertical-scroll-proportion="0.098101266" />
505
+ <state line="0" column="54" selection-start="54" selection-end="54" vertical-scroll-proportion="0.0" />
545
506
  </provider>
546
507
  </entry>
547
- <entry file="file://$PROJECT_DIR$/bin/ilesspainful-skeleton">
508
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb">
548
509
  <provider selected="true" editor-type-id="text-editor">
549
- <state line="18" column="107" selection-start="650" selection-end="650" vertical-scroll-proportion="0.65346533" />
510
+ <state line="156" column="5" selection-start="4019" selection-end="4019" vertical-scroll-proportion="0.0" />
550
511
  </provider>
551
512
  </entry>
552
- <entry file="file://$USER_HOME$/Downloads/productshow2.html">
513
+ <entry file="file://$PROJECT_DIR$/features-skeleton/support/env.rb">
553
514
  <provider selected="true" editor-type-id="text-editor">
554
- <state line="91" column="89" selection-start="3019" selection-end="3019" vertical-scroll-proportion="0.9524564" />
515
+ <state line="1" column="0" selection-start="47" selection-end="47" vertical-scroll-proportion="0.0" />
555
516
  </provider>
556
517
  </entry>
557
- <entry file="file://$PROJECT_DIR$/CHANGES.txt">
518
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/cucumber.rb">
558
519
  <provider selected="true" editor-type-id="text-editor">
559
- <state line="4" column="11" selection-start="121" selection-end="121" vertical-scroll-proportion="0.0" />
520
+ <state line="9" column="0" selection-start="283" selection-end="283" vertical-scroll-proportion="0.0" />
560
521
  </provider>
561
522
  </entry>
562
- <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb">
523
+ <entry file="file://$PROJECT_DIR$/features-skeleton/my_first.feature">
563
524
  <provider selected="true" editor-type-id="text-editor">
564
- <state line="55" column="53" selection-start="1352" selection-end="1352" vertical-scroll-proportion="0.0" />
525
+ <state line="2" column="23" selection-start="69" selection-end="69" vertical-scroll-proportion="0.0" />
565
526
  </provider>
566
527
  </entry>
567
- <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb">
528
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb">
568
529
  <provider selected="true" editor-type-id="text-editor">
569
- <state line="154" column="13" selection-start="3982" selection-end="3982" vertical-scroll-proportion="0.0">
530
+ <state line="230" column="33" selection-start="6940" selection-end="6940" vertical-scroll-proportion="0.0">
570
531
  <folding />
571
532
  </state>
572
533
  </provider>
573
534
  </entry>
574
535
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb">
575
536
  <provider selected="true" editor-type-id="text-editor">
576
- <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.03508772">
537
+ <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.102389075">
577
538
  <folding />
578
539
  </state>
579
540
  </provider>
@@ -16,4 +16,4 @@ source_dir = File.join( File.dirname(__FILE__), '..', 'features-skeleton' )
16
16
 
17
17
  FileUtils.cp_r( source_dir, features_dir )
18
18
 
19
- puts "features subdirectory created. Try starting you app in the 4.x simulator using the LessPainful target. Then try executing \n\nSTEP_PAUSE=2 DEVICE=iphone DEVICE_ENDPOINT=http://localhost:37265 cucumber\n\n from the current directory to see how you new cucumber setup runs."
19
+ puts "features subdirectory created. Try starting you app in the 4.x simulator using the LessPainful target. Then try executing \n\nSTEP_PAUSE=2 OS=ios4 DEVICE=iphone DEVICE_ENDPOINT=http://localhost:37265 cucumber\n\n from the current directory to see how you new cucumber setup runs."
@@ -1,4 +1,4 @@
1
- Feature:
1
+ Feature: Running a test
2
2
  As an iOS developer
3
3
  I want to have a sample feature file
4
4
  So I can begin testing quickly
@@ -0,0 +1,22 @@
1
+ Before do |scenario|
2
+ begin
3
+ Step_index = 0
4
+ Step_line = scenario.raw_steps[Step_index].line
5
+ rescue Exception => e
6
+ puts "#{Time.now} - Exception:#{e}"
7
+ end
8
+ end
9
+
10
+ After do |scenario|
11
+ #rotate_phone(0)
12
+ #puts "#{Time.now} - Closing connection to test"
13
+ #Client.close
14
+ #Wait a few secs
15
+ sleep(2)
16
+ end
17
+
18
+ AfterStep do |scenario|
19
+ #Håndtering af den situation hvor Feature/Scenario/steps er mulitline
20
+ Step_index = Step_index + 1
21
+ Step_line = scenario.raw_steps[Step_index].line unless scenario.raw_steps[Step_index].nil?
22
+ end
@@ -214,7 +214,16 @@ module Operations
214
214
 
215
215
  def screenshot
216
216
  if !/localhost/.match(ENV['DEVICE_ENDPOINT'])
217
- system("idevicescreenshot -u #{ENV['UUID']}")
217
+ f = %x[idevicescreenshot -u #{ENV['UUID']}]
218
+ line=f.strip().split("\n").last
219
+ filename=line.split(" ").last
220
+ outfile = "#{ENV['SCREENSHOT_PATH_PREFIX']}_#{Step_line}.png"
221
+ if File.exist?filename
222
+ puts "converting screenshot: #{filename} to 1.png"
223
+ system("convert #{filename} to #{outfile}")
224
+ else
225
+ raise "Error. Unable to screenshot for device #{ENV['UUID']}."
226
+ end
218
227
  else
219
228
  res = http({:method =>:get, :path => 'screenshot'})
220
229
  @sc_count = @sc_count || 0
@@ -1,5 +1,5 @@
1
1
  module ILessPainfulClient
2
2
  module Cucumber
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ilesspainfulclient-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-03 00:00:00.000000000Z
12
+ date: 2011-11-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
16
- requirement: &70334192740380 !ruby/object:Gem::Requirement
16
+ requirement: &70295738245360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70334192740380
24
+ version_requirements: *70295738245360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70334192739700 !ruby/object:Gem::Requirement
27
+ requirement: &70295738243540 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70334192739700
35
+ version_requirements: *70295738243540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: json
38
- requirement: &70334192739080 !ruby/object:Gem::Requirement
38
+ requirement: &70295738241100 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70334192739080
46
+ version_requirements: *70295738241100
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: net-http-persistent
49
- requirement: &70334192738040 !ruby/object:Gem::Requirement
49
+ requirement: &70295738239700 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70334192738040
57
+ version_requirements: *70295738239700
58
58
  description: Use cucumber to test native iOS apps running iLessPainful Server
59
59
  email:
60
60
  - karl.krukow@gmail.com
@@ -84,6 +84,7 @@ files:
84
84
  - features-skeleton/my_first.feature
85
85
  - features-skeleton/step_definitions/lesspainful_steps.rb
86
86
  - features-skeleton/support/env.rb
87
+ - features-skeleton/support/hooks.rb
87
88
  - ilesspainfulclient.gemspec
88
89
  - lib/.idea/.name
89
90
  - lib/.idea/encodings.xml