cuke_modeler 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.simplecov +8 -0
  4. data/Gemfile +4 -0
  5. data/History.rdoc +3 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +73 -0
  8. data/Rakefile +38 -0
  9. data/cuke_modeler.gemspec +29 -0
  10. data/features/analysis/test_comparison.feature +123 -0
  11. data/features/analysis/test_manipulation.feature +37 -0
  12. data/features/modeling/background_modeling.feature +75 -0
  13. data/features/modeling/background_output.feature +130 -0
  14. data/features/modeling/directory_modeling.feature +120 -0
  15. data/features/modeling/directory_output.feature +13 -0
  16. data/features/modeling/doc_string_modeling.feature +63 -0
  17. data/features/modeling/doc_string_output.feature +71 -0
  18. data/features/modeling/example_modeling.feature +111 -0
  19. data/features/modeling/example_output.feature +192 -0
  20. data/features/modeling/feature_file_modeling.feature +64 -0
  21. data/features/modeling/feature_file_output.feature +13 -0
  22. data/features/modeling/feature_modeling.feature +164 -0
  23. data/features/modeling/feature_output.feature +244 -0
  24. data/features/modeling/outline_modeling.feature +100 -0
  25. data/features/modeling/outline_output.feature +197 -0
  26. data/features/modeling/row_modeling.feature +77 -0
  27. data/features/modeling/row_output.feature +27 -0
  28. data/features/modeling/scenario_modeling.feature +89 -0
  29. data/features/modeling/scenario_output.feature +147 -0
  30. data/features/modeling/step_modeling.feature +85 -0
  31. data/features/modeling/step_output.feature +52 -0
  32. data/features/modeling/table_modeling.feature +52 -0
  33. data/features/modeling/table_output.feature +42 -0
  34. data/features/modeling/table_row_modeling.feature +67 -0
  35. data/features/modeling/table_row_output.feature +27 -0
  36. data/features/modeling/tag_modeling.feature +58 -0
  37. data/features/modeling/tag_output.feature +16 -0
  38. data/features/step_definitions/action_steps.rb +3 -0
  39. data/features/step_definitions/background_steps.rb +81 -0
  40. data/features/step_definitions/directory_steps.rb +52 -0
  41. data/features/step_definitions/doc_string_steps.rb +63 -0
  42. data/features/step_definitions/feature_file_steps.rb +41 -0
  43. data/features/step_definitions/feature_steps.rb +96 -0
  44. data/features/step_definitions/outline_steps.rb +252 -0
  45. data/features/step_definitions/setup_steps.rb +50 -0
  46. data/features/step_definitions/spec_steps.rb +18 -0
  47. data/features/step_definitions/step_steps.rb +159 -0
  48. data/features/step_definitions/table_steps.rb +54 -0
  49. data/features/step_definitions/tag_steps.rb +61 -0
  50. data/features/step_definitions/test_steps.rb +114 -0
  51. data/features/step_definitions/verification_steps.rb +9 -0
  52. data/features/support/env.rb +27 -0
  53. data/features/support/transforms.rb +3 -0
  54. data/lib/cuke_modeler.rb +29 -0
  55. data/lib/cuke_modeler/background.rb +38 -0
  56. data/lib/cuke_modeler/containing.rb +18 -0
  57. data/lib/cuke_modeler/directory.rb +86 -0
  58. data/lib/cuke_modeler/doc_string.rb +87 -0
  59. data/lib/cuke_modeler/example.rb +184 -0
  60. data/lib/cuke_modeler/feature.rb +147 -0
  61. data/lib/cuke_modeler/feature_element.rb +73 -0
  62. data/lib/cuke_modeler/feature_file.rb +77 -0
  63. data/lib/cuke_modeler/nested.rb +34 -0
  64. data/lib/cuke_modeler/outline.rb +68 -0
  65. data/lib/cuke_modeler/parsing.rb +32 -0
  66. data/lib/cuke_modeler/raw.rb +20 -0
  67. data/lib/cuke_modeler/row.rb +64 -0
  68. data/lib/cuke_modeler/scenario.rb +45 -0
  69. data/lib/cuke_modeler/sourceable.rb +20 -0
  70. data/lib/cuke_modeler/step.rb +214 -0
  71. data/lib/cuke_modeler/table.rb +90 -0
  72. data/lib/cuke_modeler/table_row.rb +64 -0
  73. data/lib/cuke_modeler/tag.rb +62 -0
  74. data/lib/cuke_modeler/taggable.rb +54 -0
  75. data/lib/cuke_modeler/test_element.rb +77 -0
  76. data/lib/cuke_modeler/version.rb +3 -0
  77. data/lib/cuke_modeler/world.rb +113 -0
  78. data/spec/integration/background_integration_spec.rb +72 -0
  79. data/spec/integration/directory_integration_spec.rb +48 -0
  80. data/spec/integration/doc_string_integration_spec.rb +66 -0
  81. data/spec/integration/example_integration_spec.rb +94 -0
  82. data/spec/integration/feature_file_integration_spec.rb +44 -0
  83. data/spec/integration/feature_integration_spec.rb +152 -0
  84. data/spec/integration/outline_integration_spec.rb +92 -0
  85. data/spec/integration/scenario_integration_spec.rb +80 -0
  86. data/spec/integration/step_integration_spec.rb +184 -0
  87. data/spec/integration/table_integration_spec.rb +86 -0
  88. data/spec/integration/table_row_integration_spec.rb +68 -0
  89. data/spec/integration/tag_integration_spec.rb +67 -0
  90. data/spec/integration/world_integration_spec.rb +13 -0
  91. data/spec/spec_helper.rb +30 -0
  92. data/spec/unit/background_unit_spec.rb +55 -0
  93. data/spec/unit/bare_bones_unit_specs.rb +13 -0
  94. data/spec/unit/containing_element_unit_specs.rb +17 -0
  95. data/spec/unit/directory_unit_spec.rb +103 -0
  96. data/spec/unit/doc_string_unit_spec.rb +109 -0
  97. data/spec/unit/example_unit_spec.rb +251 -0
  98. data/spec/unit/feature_element_unit_spec.rb +19 -0
  99. data/spec/unit/feature_element_unit_specs.rb +46 -0
  100. data/spec/unit/feature_file_unit_spec.rb +94 -0
  101. data/spec/unit/feature_unit_spec.rb +135 -0
  102. data/spec/unit/nested_element_unit_specs.rb +36 -0
  103. data/spec/unit/nested_unit_spec.rb +37 -0
  104. data/spec/unit/outline_unit_spec.rb +91 -0
  105. data/spec/unit/parsing_unit_spec.rb +21 -0
  106. data/spec/unit/prepopulated_unit_specs.rb +13 -0
  107. data/spec/unit/raw_element_unit_specs.rb +24 -0
  108. data/spec/unit/raw_unit_spec.rb +25 -0
  109. data/spec/unit/row_unit_spec.rb +55 -0
  110. data/spec/unit/scenario_unit_spec.rb +71 -0
  111. data/spec/unit/sourceable_unit_spec.rb +17 -0
  112. data/spec/unit/sourced_element_unit_specs.rb +18 -0
  113. data/spec/unit/step_unit_spec.rb +259 -0
  114. data/spec/unit/table_row_unit_spec.rb +55 -0
  115. data/spec/unit/table_unit_spec.rb +96 -0
  116. data/spec/unit/tag_unit_spec.rb +51 -0
  117. data/spec/unit/taggable_unit_spec.rb +78 -0
  118. data/spec/unit/tagged_element_unit_specs.rb +63 -0
  119. data/spec/unit/test_element_unit_spec.rb +40 -0
  120. data/spec/unit/test_element_unit_specs.rb +31 -0
  121. data/spec/unit/world_unit_spec.rb +130 -0
  122. metadata +364 -0
metadata ADDED
@@ -0,0 +1,364 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cuke_modeler
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Eric Kessler
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-06-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gherkin
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: multi_json
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.5'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: cucumber
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 2.14.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 2.14.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description:
126
+ email:
127
+ - morrow748@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - .gitignore
133
+ - .simplecov
134
+ - Gemfile
135
+ - History.rdoc
136
+ - LICENSE.txt
137
+ - README.md
138
+ - Rakefile
139
+ - cuke_modeler.gemspec
140
+ - features/analysis/test_comparison.feature
141
+ - features/analysis/test_manipulation.feature
142
+ - features/modeling/background_modeling.feature
143
+ - features/modeling/background_output.feature
144
+ - features/modeling/directory_modeling.feature
145
+ - features/modeling/directory_output.feature
146
+ - features/modeling/doc_string_modeling.feature
147
+ - features/modeling/doc_string_output.feature
148
+ - features/modeling/example_modeling.feature
149
+ - features/modeling/example_output.feature
150
+ - features/modeling/feature_file_modeling.feature
151
+ - features/modeling/feature_file_output.feature
152
+ - features/modeling/feature_modeling.feature
153
+ - features/modeling/feature_output.feature
154
+ - features/modeling/outline_modeling.feature
155
+ - features/modeling/outline_output.feature
156
+ - features/modeling/row_modeling.feature
157
+ - features/modeling/row_output.feature
158
+ - features/modeling/scenario_modeling.feature
159
+ - features/modeling/scenario_output.feature
160
+ - features/modeling/step_modeling.feature
161
+ - features/modeling/step_output.feature
162
+ - features/modeling/table_modeling.feature
163
+ - features/modeling/table_output.feature
164
+ - features/modeling/table_row_modeling.feature
165
+ - features/modeling/table_row_output.feature
166
+ - features/modeling/tag_modeling.feature
167
+ - features/modeling/tag_output.feature
168
+ - features/step_definitions/action_steps.rb
169
+ - features/step_definitions/background_steps.rb
170
+ - features/step_definitions/directory_steps.rb
171
+ - features/step_definitions/doc_string_steps.rb
172
+ - features/step_definitions/feature_file_steps.rb
173
+ - features/step_definitions/feature_steps.rb
174
+ - features/step_definitions/outline_steps.rb
175
+ - features/step_definitions/setup_steps.rb
176
+ - features/step_definitions/spec_steps.rb
177
+ - features/step_definitions/step_steps.rb
178
+ - features/step_definitions/table_steps.rb
179
+ - features/step_definitions/tag_steps.rb
180
+ - features/step_definitions/test_steps.rb
181
+ - features/step_definitions/verification_steps.rb
182
+ - features/support/env.rb
183
+ - features/support/transforms.rb
184
+ - lib/cuke_modeler.rb
185
+ - lib/cuke_modeler/background.rb
186
+ - lib/cuke_modeler/containing.rb
187
+ - lib/cuke_modeler/directory.rb
188
+ - lib/cuke_modeler/doc_string.rb
189
+ - lib/cuke_modeler/example.rb
190
+ - lib/cuke_modeler/feature.rb
191
+ - lib/cuke_modeler/feature_element.rb
192
+ - lib/cuke_modeler/feature_file.rb
193
+ - lib/cuke_modeler/nested.rb
194
+ - lib/cuke_modeler/outline.rb
195
+ - lib/cuke_modeler/parsing.rb
196
+ - lib/cuke_modeler/raw.rb
197
+ - lib/cuke_modeler/row.rb
198
+ - lib/cuke_modeler/scenario.rb
199
+ - lib/cuke_modeler/sourceable.rb
200
+ - lib/cuke_modeler/step.rb
201
+ - lib/cuke_modeler/table.rb
202
+ - lib/cuke_modeler/table_row.rb
203
+ - lib/cuke_modeler/tag.rb
204
+ - lib/cuke_modeler/taggable.rb
205
+ - lib/cuke_modeler/test_element.rb
206
+ - lib/cuke_modeler/version.rb
207
+ - lib/cuke_modeler/world.rb
208
+ - spec/integration/background_integration_spec.rb
209
+ - spec/integration/directory_integration_spec.rb
210
+ - spec/integration/doc_string_integration_spec.rb
211
+ - spec/integration/example_integration_spec.rb
212
+ - spec/integration/feature_file_integration_spec.rb
213
+ - spec/integration/feature_integration_spec.rb
214
+ - spec/integration/outline_integration_spec.rb
215
+ - spec/integration/scenario_integration_spec.rb
216
+ - spec/integration/step_integration_spec.rb
217
+ - spec/integration/table_integration_spec.rb
218
+ - spec/integration/table_row_integration_spec.rb
219
+ - spec/integration/tag_integration_spec.rb
220
+ - spec/integration/world_integration_spec.rb
221
+ - spec/spec_helper.rb
222
+ - spec/unit/background_unit_spec.rb
223
+ - spec/unit/bare_bones_unit_specs.rb
224
+ - spec/unit/containing_element_unit_specs.rb
225
+ - spec/unit/directory_unit_spec.rb
226
+ - spec/unit/doc_string_unit_spec.rb
227
+ - spec/unit/example_unit_spec.rb
228
+ - spec/unit/feature_element_unit_spec.rb
229
+ - spec/unit/feature_element_unit_specs.rb
230
+ - spec/unit/feature_file_unit_spec.rb
231
+ - spec/unit/feature_unit_spec.rb
232
+ - spec/unit/nested_element_unit_specs.rb
233
+ - spec/unit/nested_unit_spec.rb
234
+ - spec/unit/outline_unit_spec.rb
235
+ - spec/unit/parsing_unit_spec.rb
236
+ - spec/unit/prepopulated_unit_specs.rb
237
+ - spec/unit/raw_element_unit_specs.rb
238
+ - spec/unit/raw_unit_spec.rb
239
+ - spec/unit/row_unit_spec.rb
240
+ - spec/unit/scenario_unit_spec.rb
241
+ - spec/unit/sourceable_unit_spec.rb
242
+ - spec/unit/sourced_element_unit_specs.rb
243
+ - spec/unit/step_unit_spec.rb
244
+ - spec/unit/table_row_unit_spec.rb
245
+ - spec/unit/table_unit_spec.rb
246
+ - spec/unit/tag_unit_spec.rb
247
+ - spec/unit/taggable_unit_spec.rb
248
+ - spec/unit/tagged_element_unit_specs.rb
249
+ - spec/unit/test_element_unit_spec.rb
250
+ - spec/unit/test_element_unit_specs.rb
251
+ - spec/unit/world_unit_spec.rb
252
+ homepage: https://github.com/enkessler/cuke_modeler
253
+ licenses:
254
+ - MIT
255
+ metadata: {}
256
+ post_install_message:
257
+ rdoc_options: []
258
+ require_paths:
259
+ - lib
260
+ required_ruby_version: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - '>='
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ required_rubygems_version: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - '>='
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
270
+ requirements: []
271
+ rubyforge_project:
272
+ rubygems_version: 2.0.14
273
+ signing_key:
274
+ specification_version: 4
275
+ summary: A gem providing functionality to model a Cucumber test suite.
276
+ test_files:
277
+ - features/analysis/test_comparison.feature
278
+ - features/analysis/test_manipulation.feature
279
+ - features/modeling/background_modeling.feature
280
+ - features/modeling/background_output.feature
281
+ - features/modeling/directory_modeling.feature
282
+ - features/modeling/directory_output.feature
283
+ - features/modeling/doc_string_modeling.feature
284
+ - features/modeling/doc_string_output.feature
285
+ - features/modeling/example_modeling.feature
286
+ - features/modeling/example_output.feature
287
+ - features/modeling/feature_file_modeling.feature
288
+ - features/modeling/feature_file_output.feature
289
+ - features/modeling/feature_modeling.feature
290
+ - features/modeling/feature_output.feature
291
+ - features/modeling/outline_modeling.feature
292
+ - features/modeling/outline_output.feature
293
+ - features/modeling/row_modeling.feature
294
+ - features/modeling/row_output.feature
295
+ - features/modeling/scenario_modeling.feature
296
+ - features/modeling/scenario_output.feature
297
+ - features/modeling/step_modeling.feature
298
+ - features/modeling/step_output.feature
299
+ - features/modeling/table_modeling.feature
300
+ - features/modeling/table_output.feature
301
+ - features/modeling/table_row_modeling.feature
302
+ - features/modeling/table_row_output.feature
303
+ - features/modeling/tag_modeling.feature
304
+ - features/modeling/tag_output.feature
305
+ - features/step_definitions/action_steps.rb
306
+ - features/step_definitions/background_steps.rb
307
+ - features/step_definitions/directory_steps.rb
308
+ - features/step_definitions/doc_string_steps.rb
309
+ - features/step_definitions/feature_file_steps.rb
310
+ - features/step_definitions/feature_steps.rb
311
+ - features/step_definitions/outline_steps.rb
312
+ - features/step_definitions/setup_steps.rb
313
+ - features/step_definitions/spec_steps.rb
314
+ - features/step_definitions/step_steps.rb
315
+ - features/step_definitions/table_steps.rb
316
+ - features/step_definitions/tag_steps.rb
317
+ - features/step_definitions/test_steps.rb
318
+ - features/step_definitions/verification_steps.rb
319
+ - features/support/env.rb
320
+ - features/support/transforms.rb
321
+ - spec/integration/background_integration_spec.rb
322
+ - spec/integration/directory_integration_spec.rb
323
+ - spec/integration/doc_string_integration_spec.rb
324
+ - spec/integration/example_integration_spec.rb
325
+ - spec/integration/feature_file_integration_spec.rb
326
+ - spec/integration/feature_integration_spec.rb
327
+ - spec/integration/outline_integration_spec.rb
328
+ - spec/integration/scenario_integration_spec.rb
329
+ - spec/integration/step_integration_spec.rb
330
+ - spec/integration/table_integration_spec.rb
331
+ - spec/integration/table_row_integration_spec.rb
332
+ - spec/integration/tag_integration_spec.rb
333
+ - spec/integration/world_integration_spec.rb
334
+ - spec/spec_helper.rb
335
+ - spec/unit/background_unit_spec.rb
336
+ - spec/unit/bare_bones_unit_specs.rb
337
+ - spec/unit/containing_element_unit_specs.rb
338
+ - spec/unit/directory_unit_spec.rb
339
+ - spec/unit/doc_string_unit_spec.rb
340
+ - spec/unit/example_unit_spec.rb
341
+ - spec/unit/feature_element_unit_spec.rb
342
+ - spec/unit/feature_element_unit_specs.rb
343
+ - spec/unit/feature_file_unit_spec.rb
344
+ - spec/unit/feature_unit_spec.rb
345
+ - spec/unit/nested_element_unit_specs.rb
346
+ - spec/unit/nested_unit_spec.rb
347
+ - spec/unit/outline_unit_spec.rb
348
+ - spec/unit/parsing_unit_spec.rb
349
+ - spec/unit/prepopulated_unit_specs.rb
350
+ - spec/unit/raw_element_unit_specs.rb
351
+ - spec/unit/raw_unit_spec.rb
352
+ - spec/unit/row_unit_spec.rb
353
+ - spec/unit/scenario_unit_spec.rb
354
+ - spec/unit/sourceable_unit_spec.rb
355
+ - spec/unit/sourced_element_unit_specs.rb
356
+ - spec/unit/step_unit_spec.rb
357
+ - spec/unit/table_row_unit_spec.rb
358
+ - spec/unit/table_unit_spec.rb
359
+ - spec/unit/tag_unit_spec.rb
360
+ - spec/unit/taggable_unit_spec.rb
361
+ - spec/unit/tagged_element_unit_specs.rb
362
+ - spec/unit/test_element_unit_spec.rb
363
+ - spec/unit/test_element_unit_specs.rb
364
+ - spec/unit/world_unit_spec.rb