cuke_modeler 1.3.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +60 -17
  3. data/CHANGELOG.md +312 -0
  4. data/Gemfile +19 -3
  5. data/LICENSE.txt +1 -1
  6. data/README.md +17 -7
  7. data/Rakefile +45 -28
  8. data/appveyor.yml +57 -17
  9. data/cuke_modeler.gemspec +6 -3
  10. data/lib/cuke_modeler/adapters/gherkin_2_adapter.rb +1 -0
  11. data/lib/cuke_modeler/adapters/gherkin_3_adapter.rb +1 -0
  12. data/lib/cuke_modeler/adapters/gherkin_4_adapter.rb +2 -1
  13. data/lib/cuke_modeler/adapters/gherkin_5_adapter.rb +12 -0
  14. data/lib/cuke_modeler/adapters/gherkin_6_adapter.rb +310 -0
  15. data/lib/cuke_modeler/adapters/gherkin_7_adapter.rb +307 -0
  16. data/lib/cuke_modeler/adapters/gherkin_8_adapter.rb +12 -0
  17. data/lib/cuke_modeler/adapters/gherkin_9_adapter.rb +12 -0
  18. data/lib/cuke_modeler/containing.rb +16 -0
  19. data/lib/cuke_modeler/described.rb +1 -0
  20. data/lib/cuke_modeler/models/step.rb +31 -2
  21. data/lib/cuke_modeler/named.rb +1 -0
  22. data/lib/cuke_modeler/nested.rb +1 -0
  23. data/lib/cuke_modeler/parsed.rb +1 -0
  24. data/lib/cuke_modeler/parsing.rb +116 -68
  25. data/lib/cuke_modeler/sourceable.rb +1 -0
  26. data/lib/cuke_modeler/stepped.rb +1 -0
  27. data/lib/cuke_modeler/taggable.rb +1 -0
  28. data/lib/cuke_modeler/version.rb +1 -1
  29. data/testing/cucumber/features/analysis/step_comparison.feature +25 -0
  30. data/testing/cucumber/features/analysis/test_comparison.feature +1 -1
  31. data/testing/cucumber/step_definitions/feature_file_steps.rb +1 -1
  32. data/testing/cucumber/step_definitions/modeling_steps.rb +7 -2
  33. data/testing/cucumber/step_definitions/verification_steps.rb +11 -2
  34. data/testing/file_helper.rb +3 -0
  35. data/testing/gemfiles/gherkin2.gemfile +8 -0
  36. data/testing/gemfiles/gherkin3.gemfile +6 -0
  37. data/testing/gemfiles/gherkin4.gemfile +7 -0
  38. data/testing/gemfiles/gherkin5.gemfile +7 -0
  39. data/testing/gemfiles/gherkin6.gemfile +10 -0
  40. data/testing/gemfiles/gherkin7.gemfile +9 -0
  41. data/testing/gemfiles/gherkin8.gemfile +9 -0
  42. data/testing/gemfiles/gherkin9.gemfile +9 -0
  43. data/testing/helper_methods.rb +23 -0
  44. data/testing/rspec/spec/integration/{gherkin_2_adapter_spec.rb → adapters/gherkin_2_adapter_spec.rb} +13 -13
  45. data/testing/rspec/spec/integration/{gherkin_3_adapter_spec.rb → adapters/gherkin_3_adapter_spec.rb} +13 -13
  46. data/testing/rspec/spec/integration/{gherkin_4_adapter_spec.rb → adapters/gherkin_4_adapter_spec.rb} +13 -13
  47. data/testing/rspec/spec/integration/adapters/gherkin_5_adapter_spec.rb +165 -0
  48. data/testing/rspec/spec/integration/adapters/gherkin_6_adapter_spec.rb +159 -0
  49. data/testing/rspec/spec/integration/adapters/gherkin_7_adapter_spec.rb +162 -0
  50. data/testing/rspec/spec/integration/adapters/gherkin_8_adapter_spec.rb +162 -0
  51. data/testing/rspec/spec/integration/adapters/gherkin_9_adapter_spec.rb +162 -0
  52. data/testing/rspec/spec/integration/{background_integration_spec.rb → models/background_integration_spec.rb} +90 -86
  53. data/testing/rspec/spec/integration/{cell_integration_spec.rb → models/cell_integration_spec.rb} +49 -38
  54. data/testing/rspec/spec/integration/{comment_integration_spec.rb → models/comment_integration_spec.rb} +31 -20
  55. data/testing/rspec/spec/integration/{directory_integration_spec.rb → models/directory_integration_spec.rb} +3 -3
  56. data/testing/rspec/spec/integration/{doc_string_integration_spec.rb → models/doc_string_integration_spec.rb} +39 -35
  57. data/testing/rspec/spec/integration/{example_integration_spec.rb → models/example_integration_spec.rb} +109 -83
  58. data/testing/rspec/spec/integration/{feature_file_integration_spec.rb → models/feature_file_integration_spec.rb} +52 -38
  59. data/testing/rspec/spec/integration/{feature_integration_spec.rb → models/feature_integration_spec.rb} +125 -112
  60. data/testing/rspec/spec/integration/{model_integration_spec.rb → models/model_integration_spec.rb} +1 -1
  61. data/testing/rspec/spec/integration/{outline_integration_spec.rb → models/outline_integration_spec.rb} +138 -129
  62. data/testing/rspec/spec/integration/{row_integration_spec.rb → models/row_integration_spec.rb} +55 -35
  63. data/testing/rspec/spec/integration/{scenario_integration_spec.rb → models/scenario_integration_spec.rb} +92 -88
  64. data/testing/rspec/spec/integration/models/step_integration_spec.rb +573 -0
  65. data/testing/rspec/spec/integration/{table_integration_spec.rb → models/table_integration_spec.rb} +38 -34
  66. data/testing/rspec/spec/integration/{tag_integration_spec.rb → models/tag_integration_spec.rb} +56 -36
  67. data/testing/rspec/spec/integration/parsing_integration_spec.rb +45 -7
  68. data/testing/rspec/spec/spec_helper.rb +79 -43
  69. data/testing/rspec/spec/unit/cuke_modeler_unit_spec.rb +25 -0
  70. data/testing/rspec/spec/unit/{background_unit_spec.rb → models/background_unit_spec.rb} +1 -1
  71. data/testing/rspec/spec/unit/{cell_unit_spec.rb → models/cell_unit_spec.rb} +1 -1
  72. data/testing/rspec/spec/unit/{comment_unit_spec.rb → models/comment_unit_spec.rb} +1 -1
  73. data/testing/rspec/spec/unit/{directory_unit_spec.rb → models/directory_unit_spec.rb} +1 -1
  74. data/testing/rspec/spec/unit/{doc_string_unit_spec.rb → models/doc_string_unit_spec.rb} +1 -1
  75. data/testing/rspec/spec/unit/{example_unit_spec.rb → models/example_unit_spec.rb} +1 -1
  76. data/testing/rspec/spec/unit/{feature_file_unit_spec.rb → models/feature_file_unit_spec.rb} +1 -1
  77. data/testing/rspec/spec/unit/{feature_unit_spec.rb → models/feature_unit_spec.rb} +1 -1
  78. data/testing/rspec/spec/unit/{model_unit_spec.rb → models/model_unit_spec.rb} +1 -1
  79. data/testing/rspec/spec/unit/{outline_unit_spec.rb → models/outline_unit_spec.rb} +1 -1
  80. data/testing/rspec/spec/unit/{row_unit_spec.rb → models/row_unit_spec.rb} +1 -1
  81. data/testing/rspec/spec/unit/{scenario_unit_spec.rb → models/scenario_unit_spec.rb} +1 -1
  82. data/testing/rspec/spec/unit/{step_unit_spec.rb → models/step_unit_spec.rb} +2 -2
  83. data/testing/rspec/spec/unit/{table_unit_spec.rb → models/table_unit_spec.rb} +1 -1
  84. data/testing/rspec/spec/unit/{tag_unit_spec.rb → models/tag_unit_spec.rb} +1 -1
  85. data/testing/rspec/spec/unit/shared/containing_models_unit_specs.rb +102 -0
  86. data/todo.txt +5 -2
  87. metadata +80 -47
  88. data/History.md +0 -186
  89. data/testing/cucumber/support/transforms.rb +0 -3
  90. data/testing/rspec/spec/integration/step_integration_spec.rb +0 -459
@@ -0,0 +1,25 @@
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
+
3
+
4
+ describe 'the gem' do
5
+
6
+ let(:gemspec) { eval(File.read "#{File.dirname(__FILE__)}/../../../../cuke_modeler.gemspec") }
7
+
8
+
9
+ it 'validates cleanly' do
10
+ mock_ui = Gem::MockGemUi.new
11
+ Gem::DefaultUserInteraction.use_ui(mock_ui) { gemspec.validate }
12
+
13
+ expect(mock_ui.error).to_not match(/warn/i)
14
+ end
15
+
16
+ end
17
+
18
+
19
+ describe CukeModeler do
20
+
21
+ it "has a version number" do
22
+ expect(CukeModeler::VERSION).not_to be nil
23
+ end
24
+
25
+ end
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Background, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Cell, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Comment, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Directory, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'DocString, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Example, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'FeatureFile, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Feature, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Model, Unit' do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Outline, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Row, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Scenario, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Step, Unit', :unit_test => true do
@@ -98,7 +98,7 @@ describe 'Step, Unit', :unit_test => true do
98
98
 
99
99
  it 'can gracefully be compared to other types of objects' do
100
100
  # Some common types of object
101
- [1, 'foo', :bar, [], {}].each do |thing|
101
+ [1, 'foo', :bar, [], {}, nil].each do |thing|
102
102
  expect { step == thing }.to_not raise_error
103
103
  expect(step == thing).to be false
104
104
  end
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Table, Unit', :unit_test => true do
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/../spec_helper"
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Tag, Unit', :unit_test => true do
@@ -22,4 +22,106 @@ shared_examples_for 'a containing model' do
22
22
  expect(model.children).to_not include(nil)
23
23
  end
24
24
 
25
+ it 'can execute code on all models in its model tree' do
26
+ expect(model).to respond_to(:each_model)
27
+ end
28
+
29
+ it 'can execute code on all of its descendants' do
30
+ expect(model).to respond_to(:each_descendant)
31
+ end
32
+
33
+
34
+ context 'without children' do
35
+
36
+ let(:parent_model) do
37
+ m = clazz.new
38
+
39
+ # Not all models have a name, so making sure that this one does
40
+ def m.name
41
+ 'top level model'
42
+ end
43
+
44
+ # Redefining what children are returned for the model rather than fiddling with all of the different kinds of child models that various model classes have
45
+ def m.children
46
+ []
47
+ end
48
+
49
+ m
50
+ end
51
+
52
+
53
+ it 'executes the provided code on each descendant of the model' do
54
+ names = []
55
+
56
+ parent_model.each_descendant do |descendant_model|
57
+ names << descendant_model.name
58
+ end
59
+
60
+ expect(names).to be_empty
61
+ end
62
+
63
+ it 'executes the provided code on each model in its tree' do
64
+ names = []
65
+
66
+ parent_model.each_model do |model_node|
67
+ names << model_node.name
68
+ end
69
+
70
+ expect(names).to match_array(['top level model'])
71
+ end
72
+
73
+ end
74
+
75
+
76
+ context 'with children' do
77
+
78
+ let(:parent_model) do
79
+ m = clazz.new
80
+
81
+ # Not all models have a name, so making sure that this one does
82
+ def m.name
83
+ 'top level model'
84
+ end
85
+
86
+ # Redefining what children are returned for the model rather than fiddling with all of the different kinds of child models that various model classes have
87
+ def m.children
88
+ containing_model_stub = Struct.new(:name, :children)
89
+ non_containing_model_stub = Struct.new(:name)
90
+ nested_child_object = containing_model_stub.new('grandchild object', [])
91
+ nested_child_object.extend(CukeModeler::Containing)
92
+
93
+ non_containing_child_object = non_containing_model_stub.new('child object 1')
94
+
95
+ child_object_with_children = containing_model_stub.new('child object 2', [nested_child_object])
96
+ child_object_with_children.extend(CukeModeler::Containing)
97
+
98
+ [non_containing_child_object, child_object_with_children]
99
+ end
100
+
101
+ m
102
+ end
103
+
104
+
105
+ it 'executes the provided code on each descendant of the model' do
106
+ names = []
107
+
108
+ parent_model.each_descendant do |descendant_model|
109
+ names << descendant_model.name
110
+ end
111
+
112
+ expect(names).to match_array(['child object 1', 'child object 2', 'grandchild object'])
113
+ end
114
+
115
+ it 'executes the provided code on each model in its tree' do
116
+ names = []
117
+
118
+ parent_model.each_model do |model_node|
119
+ names << model_node.name
120
+ end
121
+
122
+ expect(names).to match_array(['top level model', 'child object 1', 'child object 2', 'grandchild object'])
123
+ end
124
+
125
+ end
126
+
25
127
  end
data/todo.txt CHANGED
@@ -5,11 +5,13 @@ Show less boilerplate code in the documentation
5
5
  replace copying raw data during adaptation (all of the Marshal#load/#unload calls) with simply testing that modification never happens in order to increase performance?
6
6
 
7
7
 
8
- document helper modules as not part of the public API
9
8
 
9
+ # todo - add compatibility with newer versions of Gherkin
10
10
  # todo - incorporate cuke_modeler extensions from other projects
11
11
  # todo - add plenty of testing around weird and minimal gherkin text for all models
12
-
12
+ # todo - add support for `Rule` keyword
13
+ # todo - incorporate new flexibility of `Example` keyword, etc.
14
+ # todo - Have CukeModeler::Parsing.dialect also control the default dialect used by Gherkin
13
15
 
14
16
  Backlog
15
17
  -------------
@@ -20,3 +22,4 @@ replace joined array source text with single string source text/heredocs
20
22
  unit testing around parsing/modeling cases (whitespace, indentation, minimalistic feature elements, etc.)
21
23
  replace "\n" usages with the currently set record separator (i.e "\$" )
22
24
  make sure that all classes and tests are covered and attaches to code coverage
25
+ - make an actual Gherkin 5 adapter (just inherit from the Gherkin 4 adapter)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuke_modeler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kessler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-20 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gherkin
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '10.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.0'
26
+ version: '10.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -62,16 +62,16 @@ dependencies:
62
62
  name: bundler
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - "<"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.5'
67
+ version: '3.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.5'
74
+ version: '3.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rake
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "<"
94
94
  - !ruby/object:Gem::Version
95
- version: 3.0.0
95
+ version: 5.0.0
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
- version: 3.0.0
102
+ version: 5.0.0
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rspec
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +156,20 @@ dependencies:
156
156
  - - "<"
157
157
  - !ruby/object:Gem::Version
158
158
  version: 1.0.0
159
+ - !ruby/object:Gem::Dependency
160
+ name: rainbow
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "<"
164
+ - !ruby/object:Gem::Version
165
+ version: 4.0.0
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "<"
171
+ - !ruby/object:Gem::Version
172
+ version: 4.0.0
159
173
  description: This gem facilitates modeling a test suite that is written in Gherkin
160
174
  (e.g. Cucumber, SpecFlow, Lettuce, etc.). It does this by providing an abstraction
161
175
  layer on top of the Abstract Syntax Tree that the 'gherkin' gem generates when parsing
@@ -171,8 +185,8 @@ files:
171
185
  - ".gitignore"
172
186
  - ".simplecov"
173
187
  - ".travis.yml"
188
+ - CHANGELOG.md
174
189
  - Gemfile
175
- - History.md
176
190
  - LICENSE.txt
177
191
  - README.md
178
192
  - Rakefile
@@ -182,6 +196,11 @@ files:
182
196
  - lib/cuke_modeler/adapters/gherkin_2_adapter.rb
183
197
  - lib/cuke_modeler/adapters/gherkin_3_adapter.rb
184
198
  - lib/cuke_modeler/adapters/gherkin_4_adapter.rb
199
+ - lib/cuke_modeler/adapters/gherkin_5_adapter.rb
200
+ - lib/cuke_modeler/adapters/gherkin_6_adapter.rb
201
+ - lib/cuke_modeler/adapters/gherkin_7_adapter.rb
202
+ - lib/cuke_modeler/adapters/gherkin_8_adapter.rb
203
+ - lib/cuke_modeler/adapters/gherkin_9_adapter.rb
185
204
  - lib/cuke_modeler/containing.rb
186
205
  - lib/cuke_modeler/described.rb
187
206
  - lib/cuke_modeler/models/background.rb
@@ -207,6 +226,7 @@ files:
207
226
  - lib/cuke_modeler/stepped.rb
208
227
  - lib/cuke_modeler/taggable.rb
209
228
  - lib/cuke_modeler/version.rb
229
+ - testing/cucumber/features/analysis/step_comparison.feature
210
230
  - testing/cucumber/features/analysis/test_comparison.feature
211
231
  - testing/cucumber/features/modeling/background_modeling.feature
212
232
  - testing/cucumber/features/modeling/background_output.feature
@@ -251,52 +271,65 @@ files:
251
271
  - testing/cucumber/step_definitions/tag_steps.rb
252
272
  - testing/cucumber/step_definitions/verification_steps.rb
253
273
  - testing/cucumber/support/env.rb
254
- - testing/cucumber/support/transforms.rb
255
274
  - testing/dialect_helper.rb
256
275
  - testing/file_helper.rb
257
276
  - testing/gemfiles/gherkin2.gemfile
258
277
  - testing/gemfiles/gherkin3.gemfile
259
278
  - testing/gemfiles/gherkin4.gemfile
260
279
  - testing/gemfiles/gherkin5.gemfile
261
- - testing/rspec/spec/integration/background_integration_spec.rb
262
- - testing/rspec/spec/integration/cell_integration_spec.rb
263
- - testing/rspec/spec/integration/comment_integration_spec.rb
264
- - testing/rspec/spec/integration/directory_integration_spec.rb
265
- - testing/rspec/spec/integration/doc_string_integration_spec.rb
266
- - testing/rspec/spec/integration/example_integration_spec.rb
267
- - testing/rspec/spec/integration/feature_file_integration_spec.rb
268
- - testing/rspec/spec/integration/feature_integration_spec.rb
269
- - testing/rspec/spec/integration/gherkin_2_adapter_spec.rb
270
- - testing/rspec/spec/integration/gherkin_3_adapter_spec.rb
271
- - testing/rspec/spec/integration/gherkin_4_adapter_spec.rb
272
- - testing/rspec/spec/integration/model_integration_spec.rb
280
+ - testing/gemfiles/gherkin6.gemfile
281
+ - testing/gemfiles/gherkin7.gemfile
282
+ - testing/gemfiles/gherkin8.gemfile
283
+ - testing/gemfiles/gherkin9.gemfile
284
+ - testing/helper_methods.rb
285
+ - testing/rspec/spec/integration/adapters/gherkin_2_adapter_spec.rb
286
+ - testing/rspec/spec/integration/adapters/gherkin_3_adapter_spec.rb
287
+ - testing/rspec/spec/integration/adapters/gherkin_4_adapter_spec.rb
288
+ - testing/rspec/spec/integration/adapters/gherkin_5_adapter_spec.rb
289
+ - testing/rspec/spec/integration/adapters/gherkin_6_adapter_spec.rb
290
+ - testing/rspec/spec/integration/adapters/gherkin_7_adapter_spec.rb
291
+ - testing/rspec/spec/integration/adapters/gherkin_8_adapter_spec.rb
292
+ - testing/rspec/spec/integration/adapters/gherkin_9_adapter_spec.rb
293
+ - testing/rspec/spec/integration/models/background_integration_spec.rb
294
+ - testing/rspec/spec/integration/models/cell_integration_spec.rb
295
+ - testing/rspec/spec/integration/models/comment_integration_spec.rb
296
+ - testing/rspec/spec/integration/models/directory_integration_spec.rb
297
+ - testing/rspec/spec/integration/models/doc_string_integration_spec.rb
298
+ - testing/rspec/spec/integration/models/example_integration_spec.rb
299
+ - testing/rspec/spec/integration/models/feature_file_integration_spec.rb
300
+ - testing/rspec/spec/integration/models/feature_integration_spec.rb
301
+ - testing/rspec/spec/integration/models/model_integration_spec.rb
302
+ - testing/rspec/spec/integration/models/outline_integration_spec.rb
303
+ - testing/rspec/spec/integration/models/row_integration_spec.rb
304
+ - testing/rspec/spec/integration/models/scenario_integration_spec.rb
305
+ - testing/rspec/spec/integration/models/step_integration_spec.rb
306
+ - testing/rspec/spec/integration/models/table_integration_spec.rb
307
+ - testing/rspec/spec/integration/models/tag_integration_spec.rb
273
308
  - testing/rspec/spec/integration/nested_integration_spec.rb
274
- - testing/rspec/spec/integration/outline_integration_spec.rb
275
309
  - testing/rspec/spec/integration/parsing_integration_spec.rb
276
- - testing/rspec/spec/integration/row_integration_spec.rb
277
- - testing/rspec/spec/integration/scenario_integration_spec.rb
278
310
  - testing/rspec/spec/integration/shared/models_integration_specs.rb
279
- - testing/rspec/spec/integration/step_integration_spec.rb
280
- - testing/rspec/spec/integration/table_integration_spec.rb
281
- - testing/rspec/spec/integration/tag_integration_spec.rb
282
311
  - testing/rspec/spec/spec_helper.rb
283
- - testing/rspec/spec/unit/background_unit_spec.rb
284
- - testing/rspec/spec/unit/cell_unit_spec.rb
285
- - testing/rspec/spec/unit/comment_unit_spec.rb
312
+ - testing/rspec/spec/unit/cuke_modeler_unit_spec.rb
286
313
  - testing/rspec/spec/unit/described_unit_spec.rb
287
- - testing/rspec/spec/unit/directory_unit_spec.rb
288
- - testing/rspec/spec/unit/doc_string_unit_spec.rb
289
- - testing/rspec/spec/unit/example_unit_spec.rb
290
- - testing/rspec/spec/unit/feature_file_unit_spec.rb
291
- - testing/rspec/spec/unit/feature_unit_spec.rb
292
- - testing/rspec/spec/unit/model_unit_spec.rb
314
+ - testing/rspec/spec/unit/models/background_unit_spec.rb
315
+ - testing/rspec/spec/unit/models/cell_unit_spec.rb
316
+ - testing/rspec/spec/unit/models/comment_unit_spec.rb
317
+ - testing/rspec/spec/unit/models/directory_unit_spec.rb
318
+ - testing/rspec/spec/unit/models/doc_string_unit_spec.rb
319
+ - testing/rspec/spec/unit/models/example_unit_spec.rb
320
+ - testing/rspec/spec/unit/models/feature_file_unit_spec.rb
321
+ - testing/rspec/spec/unit/models/feature_unit_spec.rb
322
+ - testing/rspec/spec/unit/models/model_unit_spec.rb
323
+ - testing/rspec/spec/unit/models/outline_unit_spec.rb
324
+ - testing/rspec/spec/unit/models/row_unit_spec.rb
325
+ - testing/rspec/spec/unit/models/scenario_unit_spec.rb
326
+ - testing/rspec/spec/unit/models/step_unit_spec.rb
327
+ - testing/rspec/spec/unit/models/table_unit_spec.rb
328
+ - testing/rspec/spec/unit/models/tag_unit_spec.rb
293
329
  - testing/rspec/spec/unit/named_unit_spec.rb
294
330
  - testing/rspec/spec/unit/nested_unit_spec.rb
295
- - testing/rspec/spec/unit/outline_unit_spec.rb
296
331
  - testing/rspec/spec/unit/parsed_unit_spec.rb
297
332
  - testing/rspec/spec/unit/parsing_unit_spec.rb
298
- - testing/rspec/spec/unit/row_unit_spec.rb
299
- - testing/rspec/spec/unit/scenario_unit_spec.rb
300
333
  - testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
301
334
  - testing/rspec/spec/unit/shared/containing_models_unit_specs.rb
302
335
  - testing/rspec/spec/unit/shared/described_models_unit_specs.rb
@@ -311,10 +344,7 @@ files:
311
344
  - testing/rspec/spec/unit/shared/stringifiable_models_unit_specs.rb
312
345
  - testing/rspec/spec/unit/shared/tagged_models_unit_specs.rb
313
346
  - testing/rspec/spec/unit/sourceable_unit_spec.rb
314
- - testing/rspec/spec/unit/step_unit_spec.rb
315
347
  - testing/rspec/spec/unit/stepped_unit_spec.rb
316
- - testing/rspec/spec/unit/table_unit_spec.rb
317
- - testing/rspec/spec/unit/tag_unit_spec.rb
318
348
  - testing/rspec/spec/unit/taggable_unit_spec.rb
319
349
  - testing/test_languages.json
320
350
  - todo.txt
@@ -330,7 +360,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
330
360
  requirements:
331
361
  - - ">="
332
362
  - !ruby/object:Gem::Version
333
- version: '0'
363
+ version: 1.8.7
364
+ - - "<"
365
+ - !ruby/object:Gem::Version
366
+ version: '3.0'
334
367
  required_rubygems_version: !ruby/object:Gem::Requirement
335
368
  requirements:
336
369
  - - ">="
@@ -338,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
371
  version: '0'
339
372
  requirements: []
340
373
  rubyforge_project:
341
- rubygems_version: 2.5.2
374
+ rubygems_version: 2.7.6
342
375
  signing_key:
343
376
  specification_version: 4
344
377
  summary: A gem providing functionality to model Gherkin based test suites.