cuke_modeler 3.27.0 → 3.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +585 -572
  3. data/LICENSE.txt +22 -22
  4. data/README.md +135 -135
  5. data/cuke_modeler.gemspec +59 -59
  6. data/lib/cuke_modeler/adapters/gherkin_10_adapter.rb +13 -13
  7. data/lib/cuke_modeler/adapters/gherkin_11_adapter.rb +13 -13
  8. data/lib/cuke_modeler/adapters/gherkin_12_adapter.rb +13 -13
  9. data/lib/cuke_modeler/adapters/gherkin_13_adapter.rb +13 -13
  10. data/lib/cuke_modeler/adapters/gherkin_14_adapter.rb +13 -13
  11. data/lib/cuke_modeler/adapters/gherkin_15_adapter.rb +13 -13
  12. data/lib/cuke_modeler/adapters/gherkin_16_adapter.rb +13 -13
  13. data/lib/cuke_modeler/adapters/gherkin_17_adapter.rb +13 -13
  14. data/lib/cuke_modeler/adapters/gherkin_18_adapter.rb +27 -27
  15. data/lib/cuke_modeler/adapters/gherkin_19_adapter.rb +64 -64
  16. data/lib/cuke_modeler/adapters/gherkin_20_adapter.rb +359 -359
  17. data/lib/cuke_modeler/adapters/gherkin_21_adapter.rb +13 -13
  18. data/lib/cuke_modeler/adapters/gherkin_22_adapter.rb +13 -13
  19. data/lib/cuke_modeler/adapters/gherkin_23_adapter.rb +13 -13
  20. data/lib/cuke_modeler/adapters/gherkin_24_adapter.rb +13 -13
  21. data/lib/cuke_modeler/adapters/gherkin_25_adapter.rb +13 -13
  22. data/lib/cuke_modeler/adapters/gherkin_26_adapter.rb +13 -13
  23. data/lib/cuke_modeler/adapters/gherkin_27_adapter.rb +13 -13
  24. data/lib/cuke_modeler/adapters/gherkin_28_adapter.rb +13 -13
  25. data/lib/cuke_modeler/adapters/gherkin_29_adapter.rb +13 -13
  26. data/lib/cuke_modeler/adapters/gherkin_30_adapter.rb +13 -13
  27. data/lib/cuke_modeler/adapters/gherkin_31_adapter.rb +13 -13
  28. data/lib/cuke_modeler/adapters/gherkin_32_adapter.rb +13 -13
  29. data/lib/cuke_modeler/adapters/gherkin_33_adapter.rb +13 -13
  30. data/lib/cuke_modeler/adapters/gherkin_34_adapter.rb +13 -13
  31. data/lib/cuke_modeler/adapters/gherkin_35_adapter.rb +13 -13
  32. data/lib/cuke_modeler/adapters/gherkin_36_adapter.rb +13 -13
  33. data/lib/cuke_modeler/adapters/gherkin_37_adapter.rb +13 -13
  34. data/lib/cuke_modeler/adapters/gherkin_38_adapter.rb +13 -0
  35. data/lib/cuke_modeler/adapters/gherkin_39_adapter.rb +13 -0
  36. data/lib/cuke_modeler/adapters/gherkin_9_adapter.rb +375 -375
  37. data/lib/cuke_modeler/adapters/gherkin_base_adapter.rb +17 -17
  38. data/lib/cuke_modeler/containing.rb +105 -105
  39. data/lib/cuke_modeler/described.rb +71 -71
  40. data/lib/cuke_modeler/models/background.rb +122 -122
  41. data/lib/cuke_modeler/models/cell.rb +88 -88
  42. data/lib/cuke_modeler/models/comment.rb +82 -82
  43. data/lib/cuke_modeler/models/directory.rb +143 -143
  44. data/lib/cuke_modeler/models/doc_string.rb +104 -104
  45. data/lib/cuke_modeler/models/example.rb +274 -274
  46. data/lib/cuke_modeler/models/feature.rb +200 -200
  47. data/lib/cuke_modeler/models/feature_file.rb +116 -116
  48. data/lib/cuke_modeler/models/model.rb +87 -87
  49. data/lib/cuke_modeler/models/outline.rb +145 -145
  50. data/lib/cuke_modeler/models/row.rb +104 -104
  51. data/lib/cuke_modeler/models/rule.rb +162 -162
  52. data/lib/cuke_modeler/models/scenario.rb +128 -128
  53. data/lib/cuke_modeler/models/step.rb +178 -178
  54. data/lib/cuke_modeler/models/table.rb +117 -117
  55. data/lib/cuke_modeler/models/tag.rb +75 -75
  56. data/lib/cuke_modeler/named.rb +26 -26
  57. data/lib/cuke_modeler/nested.rb +61 -61
  58. data/lib/cuke_modeler/parsed.rb +24 -24
  59. data/lib/cuke_modeler/parsing.rb +208 -208
  60. data/lib/cuke_modeler/sourceable.rb +29 -29
  61. data/lib/cuke_modeler/stepped.rb +34 -34
  62. data/lib/cuke_modeler/taggable.rb +57 -57
  63. data/lib/cuke_modeler/version.rb +4 -4
  64. data/lib/cuke_modeler.rb +32 -32
  65. data/testing/cucumber/features/analysis/step_comparison.feature +25 -25
  66. data/testing/cucumber/features/analysis/test_comparison.feature +35 -35
  67. data/testing/cucumber/features/modeling/background_modeling.feature +105 -105
  68. data/testing/cucumber/features/modeling/background_output.feature +60 -60
  69. data/testing/cucumber/features/modeling/cell_modeling.feature +68 -68
  70. data/testing/cucumber/features/modeling/cell_output.feature +36 -36
  71. data/testing/cucumber/features/modeling/comment_modeling.feature +62 -62
  72. data/testing/cucumber/features/modeling/comment_output.feature +40 -40
  73. data/testing/cucumber/features/modeling/directory_modeling.feature +62 -62
  74. data/testing/cucumber/features/modeling/directory_output.feature +33 -33
  75. data/testing/cucumber/features/modeling/doc_string_modeling.feature +85 -85
  76. data/testing/cucumber/features/modeling/doc_string_output.feature +50 -50
  77. data/testing/cucumber/features/modeling/example_modeling.feature +155 -155
  78. data/testing/cucumber/features/modeling/example_output.feature +57 -57
  79. data/testing/cucumber/features/modeling/feature_file_modeling.feature +49 -49
  80. data/testing/cucumber/features/modeling/feature_file_output.feature +33 -33
  81. data/testing/cucumber/features/modeling/feature_modeling.feature +149 -149
  82. data/testing/cucumber/features/modeling/feature_output.feature +144 -144
  83. data/testing/cucumber/features/modeling/model_output.feature +61 -61
  84. data/testing/cucumber/features/modeling/model_structure.feature +42 -42
  85. data/testing/cucumber/features/modeling/outline_modeling.feature +175 -175
  86. data/testing/cucumber/features/modeling/outline_output.feature +87 -87
  87. data/testing/cucumber/features/modeling/row_modeling.feature +70 -70
  88. data/testing/cucumber/features/modeling/row_output.feature +40 -40
  89. data/testing/cucumber/features/modeling/rule_modeling.feature +171 -171
  90. data/testing/cucumber/features/modeling/rule_output.feature +136 -136
  91. data/testing/cucumber/features/modeling/scenario_modeling.feature +146 -146
  92. data/testing/cucumber/features/modeling/scenario_output.feature +63 -63
  93. data/testing/cucumber/features/modeling/step_modeling.feature +105 -105
  94. data/testing/cucumber/features/modeling/step_output.feature +47 -47
  95. data/testing/cucumber/features/modeling/table_modeling.feature +73 -73
  96. data/testing/cucumber/features/modeling/table_output.feature +42 -42
  97. data/testing/cucumber/features/modeling/tag_modeling.feature +62 -62
  98. data/testing/cucumber/features/modeling/tag_output.feature +40 -40
  99. metadata +9 -10
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 21.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin21Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin21Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 21.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin21Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin21Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 22.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin22Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin22Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 22.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin22Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin22Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 23.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin23Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin23Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 23.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin23Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin23Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 24.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin24Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin24Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 24.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin24Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin24Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 25.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin25Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin25Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 25.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin25Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin25Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 26.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin26Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin26Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 26.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin26Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin26Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 27.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin27Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin27Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 27.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin27Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin27Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 28.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin28Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin28Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 28.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin28Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin28Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 29.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin29Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin29Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 29.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin29Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin29Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 30.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin30Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin30Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 30.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin30Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin30Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 31.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin31Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin31Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 31.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin31Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin31Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 32.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin32Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin32Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 32.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin32Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin32Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 33.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin33Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin33Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 33.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin33Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin33Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 34.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin34Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin34Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 34.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin34Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin34Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 35.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin35Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin35Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 35.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin35Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin35Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 36.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin36Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin36Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 36.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin36Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin36Adapter
13
+ end
@@ -1,13 +1,13 @@
1
- require_relative 'gherkin_20_adapter'
2
-
3
-
4
- module CukeModeler
5
-
6
- # @api private
7
- #
8
- # An adapter that can convert the output of version 37.x of the *cucumber-gherkin* gem into input that is consumable
9
- # by this gem. Internal helper class.
10
- class Gherkin37Adapter < Gherkin20Adapter; end
11
-
12
- private_constant :Gherkin37Adapter
13
- end
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 37.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin37Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin37Adapter
13
+ end
@@ -0,0 +1,13 @@
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 38.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin38Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin38Adapter
13
+ end
@@ -0,0 +1,13 @@
1
+ require_relative 'gherkin_20_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # @api private
7
+ #
8
+ # An adapter that can convert the output of version 39.x of the *cucumber-gherkin* gem into input that is consumable
9
+ # by this gem. Internal helper class.
10
+ class Gherkin39Adapter < Gherkin20Adapter; end
11
+
12
+ private_constant :Gherkin39Adapter
13
+ end