cucumber 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/History.txt +86 -3
  2. data/Manifest.txt +93 -44
  3. data/Rakefile +5 -1
  4. data/bin/cucumber +1 -0
  5. data/cucumber.yml +1 -1
  6. data/examples/calculator_ruby_features/features/{steps → step_definitons}/calculator_steps.rb +0 -0
  7. data/examples/cs/features/{steps → step_definitons}/hello_steps.rb +0 -0
  8. data/examples/cs/features/{steps → step_definitons}/tree_steps.rb +0 -0
  9. data/examples/i18n/README.textile +18 -0
  10. data/examples/i18n/Rakefile +16 -0
  11. data/examples/i18n/ar/Rakefile +6 -0
  12. data/examples/i18n/ar/features/addition.feature +17 -0
  13. data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +31 -0
  14. data/examples/i18n/ar/lib/calculator.rb +10 -0
  15. data/examples/i18n/da/Rakefile +6 -0
  16. data/examples/{danish_calculator/features/steps → i18n/da/features/step_definitons}/kalkulator_steps.rb +0 -0
  17. data/examples/{danish_calculator → i18n/da}/features/summering.feature +1 -1
  18. data/examples/{danish_calculator → i18n/da}/lib/kalkulator.rb +0 -0
  19. data/examples/{swedish_calculator → i18n/en}/Rakefile +1 -1
  20. data/examples/{calculator → i18n/en}/features/addition.feature +0 -0
  21. data/examples/{calculator → i18n/en}/features/division.feature +0 -0
  22. data/examples/{calculator/features/steps → i18n/en/features/step_definitons}/calculator_steps.rb +0 -0
  23. data/examples/{calculator → i18n/en}/lib/calculator.rb +0 -2
  24. data/examples/i18n/es/Rakefile +6 -0
  25. data/examples/{spanish_calculator → i18n/es}/features/adicion.feature +1 -1
  26. data/examples/{spanish_calculator/features/steps → i18n/es/features/step_definitons}/calculador_steps.rb +0 -0
  27. data/examples/{spanish_calculator/lib/Calculador.rb → i18n/es/lib/calculador.rb} +0 -0
  28. data/examples/i18n/et/Rakefile +6 -0
  29. data/examples/i18n/et/features/liitmine.feature +17 -0
  30. data/examples/{estonian_calculator/features → i18n/et/features/step_definitions}/kalkulaator_steps.rb +2 -11
  31. data/examples/i18n/et/lib/kalkulaator.rb +10 -0
  32. data/examples/i18n/fr/Rakefile +6 -0
  33. data/examples/{calculatrice_francaise_avec_soit_scenario → i18n/fr}/features/addition.feature +0 -0
  34. data/examples/{calculatrice_francaise_avec_soit_scenario/features → i18n/fr/features/step_definitions}/calculatrice_steps.rb +2 -11
  35. data/examples/i18n/fr/lib/calculatrice.rb +10 -0
  36. data/examples/i18n/id/Rakefile +6 -0
  37. data/examples/i18n/id/features/addition.feature +17 -0
  38. data/examples/i18n/id/features/division.feature +10 -0
  39. data/examples/i18n/id/features/step_definitons/calculator_steps.rb +31 -0
  40. data/examples/i18n/id/lib/calculator.rb +14 -0
  41. data/examples/i18n/it/Rakefile +6 -0
  42. data/examples/i18n/it/features/somma.feature +10 -0
  43. data/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +22 -0
  44. data/examples/i18n/it/lib/calcolatrice.rb +11 -0
  45. data/examples/{calculator → i18n/ja}/README.txt +0 -0
  46. data/examples/i18n/ja/Rakefile +6 -0
  47. data/examples/i18n/ja/features/addition.feature +17 -0
  48. data/examples/i18n/ja/features/division.feature +10 -0
  49. data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +30 -0
  50. data/examples/i18n/ja/lib/calculator.rb +14 -0
  51. data/examples/i18n/no/Rakefile +6 -0
  52. data/examples/{norwegian_calculator/features/steps → i18n/no/features/step_definitons}/kalkulator_steps.rb +0 -0
  53. data/examples/{norwegian_calculator → i18n/no}/features/summering.feature +0 -0
  54. data/examples/{norwegian_calculator → i18n/no}/lib/kalkulator.rb +0 -0
  55. data/examples/i18n/pt/Rakefile +6 -0
  56. data/examples/{portuguese_calculator → i18n/pt}/features/adicao.feature +0 -0
  57. data/examples/{portuguese_calculator/features → i18n/pt/features/step_definitions}/calculadora_steps.rb +2 -11
  58. data/examples/i18n/pt/lib/calculadora.rb +10 -0
  59. data/examples/i18n/ro/Rakefile +6 -0
  60. data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +22 -0
  61. data/examples/i18n/ro/features/suma.feature +10 -0
  62. data/examples/i18n/ro/lib/calculator.rb +11 -0
  63. data/examples/i18n/se/Rakefile +6 -0
  64. data/examples/{swedish_calculator/features/steps → i18n/se/features/step_definitons}/kalkulator_steps.rb +0 -0
  65. data/examples/{swedish_calculator → i18n/se}/features/summering.feature +0 -0
  66. data/examples/{swedish_calculator → i18n/se}/lib/kalkulator.rb +0 -0
  67. data/examples/i18n/zh-CN/Rakefile +6 -0
  68. data/examples/{chinese_simplified_calculator → i18n/zh-CN}/features/addition.feature +0 -0
  69. data/examples/{chinese_simplified_calculator/features/steps → i18n/zh-CN/features/step_definitons}/calculator_steps.rb +0 -0
  70. data/examples/{chinese_simplified_calculator → i18n/zh-CN}/lib/calculator.rb +0 -0
  71. data/examples/java/features/{steps → step_definitons}/hello_steps.rb +0 -0
  72. data/examples/java/features/{steps → step_definitons}/tree_steps.rb +0 -0
  73. data/examples/selenium/features/{steps → step_definitons}/stories_steps.rb +0 -0
  74. data/examples/tickets/features/{steps → step_definitons}/tickets_steps.rb +0 -0
  75. data/examples/watir/features/search.feature +2 -2
  76. data/examples/watir/features/{steps → step_definitons}/stories_steps.rb +0 -0
  77. data/gem_tasks/treetop.rake +1 -9
  78. data/lib/autotest/cucumber.rb +6 -0
  79. data/lib/autotest/cucumber_mixin.rb +109 -0
  80. data/lib/autotest/cucumber_rails.rb +6 -0
  81. data/lib/autotest/cucumber_rails_rspec.rb +6 -0
  82. data/lib/autotest/cucumber_rspec.rb +6 -0
  83. data/lib/autotest/discover.rb +9 -0
  84. data/lib/cucumber.rb +4 -0
  85. data/lib/cucumber/broadcaster.rb +20 -0
  86. data/lib/cucumber/cli.rb +139 -48
  87. data/lib/cucumber/core_ext/proc.rb +2 -3
  88. data/lib/cucumber/executor.rb +59 -32
  89. data/lib/cucumber/formatters.rb +1 -1
  90. data/lib/cucumber/formatters/ansicolor.rb +3 -4
  91. data/lib/cucumber/formatters/autotest_formatter.rb +23 -0
  92. data/lib/cucumber/formatters/pretty_formatter.rb +99 -42
  93. data/lib/cucumber/formatters/progress_formatter.rb +21 -5
  94. data/lib/cucumber/languages.yml +125 -10
  95. data/lib/cucumber/rails/world.rb +1 -1
  96. data/lib/cucumber/rake/task.rb +52 -26
  97. data/lib/cucumber/step_mother.rb +7 -1
  98. data/lib/cucumber/tree/feature.rb +8 -6
  99. data/lib/cucumber/tree/scenario.rb +34 -15
  100. data/lib/cucumber/tree/step.rb +3 -1
  101. data/lib/cucumber/treetop_parser/feature.treetop.erb +15 -10
  102. data/lib/cucumber/treetop_parser/feature_ar.rb +1591 -0
  103. data/lib/cucumber/treetop_parser/feature_cy.rb +1591 -0
  104. data/lib/cucumber/treetop_parser/feature_da.rb +238 -240
  105. data/lib/cucumber/treetop_parser/feature_de.rb +238 -240
  106. data/lib/cucumber/treetop_parser/feature_en-tx.rb +1591 -0
  107. data/lib/cucumber/treetop_parser/feature_en.rb +238 -240
  108. data/lib/cucumber/treetop_parser/feature_es.rb +238 -240
  109. data/lib/cucumber/treetop_parser/feature_et.rb +238 -240
  110. data/lib/cucumber/treetop_parser/feature_fr.rb +238 -240
  111. data/lib/cucumber/treetop_parser/feature_id.rb +1591 -0
  112. data/lib/cucumber/treetop_parser/feature_it.rb +1591 -0
  113. data/lib/cucumber/treetop_parser/feature_ja.rb +1591 -0
  114. data/lib/cucumber/treetop_parser/feature_nl.rb +238 -240
  115. data/lib/cucumber/treetop_parser/feature_no.rb +238 -240
  116. data/lib/cucumber/treetop_parser/feature_pl.rb +1591 -0
  117. data/lib/cucumber/treetop_parser/feature_pt.rb +238 -240
  118. data/lib/cucumber/treetop_parser/feature_ro.rb +1591 -0
  119. data/lib/cucumber/treetop_parser/feature_ro2.rb +1591 -0
  120. data/lib/cucumber/treetop_parser/feature_ru.rb +238 -240
  121. data/lib/cucumber/treetop_parser/feature_se.rb +238 -240
  122. data/lib/cucumber/treetop_parser/feature_zh-CN.rb +238 -240
  123. data/lib/cucumber/version.rb +1 -1
  124. data/rails_generators/cucumber/USAGE +11 -0
  125. data/rails_generators/cucumber/cucumber_generator.rb +9 -6
  126. data/rails_generators/cucumber/templates/cucumber +6 -1
  127. data/rails_generators/cucumber/templates/{common_webrat.rb → webrat_steps.rb} +4 -0
  128. data/rails_generators/feature/USAGE +12 -0
  129. data/rails_generators/feature/feature_generator.rb +3 -4
  130. data/spec/cucumber/broadcaster_spec.rb +27 -0
  131. data/spec/cucumber/cli_spec.rb +211 -23
  132. data/spec/cucumber/executor_spec.rb +104 -14
  133. data/spec/cucumber/formatters/ansicolor_spec.rb +9 -1
  134. data/spec/cucumber/formatters/autotest_formatter_spec.rb +26 -0
  135. data/spec/cucumber/formatters/pretty_formatter_spec.rb +119 -26
  136. data/spec/cucumber/formatters/profile_formatter_spec.rb +1 -2
  137. data/spec/cucumber/formatters/progress_formatter_spec.rb +22 -1
  138. data/spec/cucumber/sell_cucumbers.feature +10 -0
  139. data/spec/cucumber/step_mother_spec.rb +21 -0
  140. data/spec/cucumber/tree/row_scenario_spec.rb +25 -0
  141. data/spec/cucumber/tree/scenario_spec.rb +47 -8
  142. data/spec/cucumber/tree/step_spec.rb +19 -0
  143. data/spec/cucumber/treetop_parser/feature_parser_spec.rb +2 -0
  144. data/spec/cucumber/treetop_parser/multiline_steps.feature +7 -3
  145. data/spec/spec_helper.rb +2 -0
  146. metadata +97 -48
  147. data/examples/calculator/Rakefile +0 -5
  148. data/examples/calculatrice_francaise_avec_soit_scenario/Rakefile +0 -6
  149. data/examples/chinese_simplified_calculator/Rakefile +0 -6
  150. data/examples/danish_calculator/Rakefile +0 -6
  151. data/examples/estonian_calculator/Rakefile +0 -6
  152. data/examples/estonian_calculator/features/liitmine.feature +0 -16
  153. data/examples/norwegian_calculator/Rakefile +0 -6
  154. data/examples/portuguese_calculator/Rakefile +0 -6
  155. data/examples/spanish_calculator/Rakefile +0 -6
@@ -24,6 +24,25 @@ module Cucumber
24
24
  # Given 9****
25
25
  step.padding_length.should == 4
26
26
  end
27
+
28
+ it "should default step arity to 0" do
29
+ scenario = Scenario.new(nil, '9', 1)
30
+ step = scenario.create_step('Given', '9', 80)
31
+
32
+ step.arity.should == 0
33
+ end
34
+
35
+ describe "utf-8 strings" do
36
+
37
+ it "should have padding_length 6 when 4 shorter" do
38
+ scenario = Scenario.new(nil, nil, 1)
39
+ long = scenario.create_step('Given', '999999999', 2)
40
+ step = scenario.create_step('Given', "こんばんは", 3)
41
+
42
+ step.padding_length.should == 6
43
+ end
44
+
45
+ end
27
46
 
28
47
  end
29
48
  end
@@ -90,6 +90,8 @@ module Cucumber
90
90
  p = FeatureParser.new
91
91
  f = p.parse_feature(File.dirname(__FILE__) + '/multiline_steps.feature')
92
92
  f.should have(1).scenarios
93
+ step = f.scenarios[0].steps[3]
94
+ step.extra_args[0].should == "A string\n that \"indents\"\nand spans\nseveral lines\n"
93
95
  end
94
96
  end
95
97
  end
@@ -8,6 +8,10 @@ Feature: Multiline steps should work
8
8
  Then I should be working in London
9
9
  And I should be born in Oslo
10
10
  And I should be able to expect
11
- "A string
12
- that spans
13
- several lines"
11
+ """
12
+ A string
13
+ that "indents"
14
+ and spans
15
+ several lines
16
+
17
+ """
@@ -7,6 +7,8 @@ require 'cucumber'
7
7
  require 'cucumber/treetop_parser/feature_en'
8
8
  Cucumber.load_language('en')
9
9
 
10
+ ::Term::ANSIColor.coloring = false
11
+
10
12
  # Open up the tree classes a little for easier inspection.
11
13
  module Cucumber
12
14
  module Tree
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-18 00:00:00 +02:00
12
+ date: 2008-11-12 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 1.8.0
63
+ version: 1.8.2
64
64
  version:
65
65
  description: Executable Feature scenarios
66
66
  email:
@@ -75,7 +75,7 @@ extra_rdoc_files:
75
75
  - Manifest.txt
76
76
  - README.txt
77
77
  - TODO.txt
78
- - examples/calculator/README.txt
78
+ - examples/i18n/ja/README.txt
79
79
  files:
80
80
  - History.txt
81
81
  - License.txt
@@ -87,70 +87,97 @@ files:
87
87
  - config/hoe.rb
88
88
  - config/requirements.rb
89
89
  - cucumber.yml
90
- - examples/calculator/README.txt
91
- - examples/calculator/Rakefile
92
- - examples/calculator/features/addition.feature
93
- - examples/calculator/features/division.feature
94
- - examples/calculator/features/steps/calculator_steps.rb
95
- - examples/calculator/lib/calculator.rb
96
90
  - examples/calculator_ruby_features/Rakefile
97
91
  - examples/calculator_ruby_features/features/addition.rb
98
- - examples/calculator_ruby_features/features/steps/calculator_steps.rb
99
- - examples/calculatrice_francaise_avec_soit_scenario/Rakefile
100
- - examples/calculatrice_francaise_avec_soit_scenario/features/addition.feature
101
- - examples/calculatrice_francaise_avec_soit_scenario/features/calculatrice_steps.rb
102
- - examples/chinese_simplified_calculator/Rakefile
103
- - examples/chinese_simplified_calculator/features/addition.feature
104
- - examples/chinese_simplified_calculator/features/steps/calculator_steps.rb
105
- - examples/chinese_simplified_calculator/lib/calculator.rb
92
+ - examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb
106
93
  - examples/cs/README.textile
107
94
  - examples/cs/Rakefile
108
95
  - examples/cs/features/hello.feature
109
- - examples/cs/features/steps/hello_steps.rb
110
- - examples/cs/features/steps/tree_steps.rb
96
+ - examples/cs/features/step_definitons/hello_steps.rb
97
+ - examples/cs/features/step_definitons/tree_steps.rb
111
98
  - examples/cs/features/tree.feature
112
99
  - examples/cs/src/Hello.cs
113
- - examples/danish_calculator/Rakefile
114
- - examples/danish_calculator/features/steps/kalkulator_steps.rb
115
- - examples/danish_calculator/features/summering.feature
116
- - examples/danish_calculator/lib/kalkulator.rb
117
100
  - examples/dos_line_endings/Rakefile
118
101
  - examples/dos_line_endings/features/dos_line_endings.feature
119
- - examples/estonian_calculator/Rakefile
120
- - examples/estonian_calculator/features/kalkulaator_steps.rb
121
- - examples/estonian_calculator/features/liitmine.feature
102
+ - examples/i18n/README.textile
103
+ - examples/i18n/Rakefile
104
+ - examples/i18n/ar/Rakefile
105
+ - examples/i18n/ar/features/addition.feature
106
+ - examples/i18n/ar/features/step_definitons/calculator_steps.rb
107
+ - examples/i18n/ar/lib/calculator.rb
108
+ - examples/i18n/da/Rakefile
109
+ - examples/i18n/da/features/step_definitons/kalkulator_steps.rb
110
+ - examples/i18n/da/features/summering.feature
111
+ - examples/i18n/da/lib/kalkulator.rb
112
+ - examples/i18n/en/Rakefile
113
+ - examples/i18n/en/features/addition.feature
114
+ - examples/i18n/en/features/division.feature
115
+ - examples/i18n/en/features/step_definitons/calculator_steps.rb
116
+ - examples/i18n/en/lib/calculator.rb
117
+ - examples/i18n/es/Rakefile
118
+ - examples/i18n/es/features/adicion.feature
119
+ - examples/i18n/es/features/step_definitons/calculador_steps.rb
120
+ - examples/i18n/es/lib/calculador.rb
121
+ - examples/i18n/et/Rakefile
122
+ - examples/i18n/et/features/liitmine.feature
123
+ - examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
124
+ - examples/i18n/et/lib/kalkulaator.rb
125
+ - examples/i18n/fr/Rakefile
126
+ - examples/i18n/fr/features/addition.feature
127
+ - examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
128
+ - examples/i18n/fr/lib/calculatrice.rb
129
+ - examples/i18n/id/Rakefile
130
+ - examples/i18n/id/features/addition.feature
131
+ - examples/i18n/id/features/division.feature
132
+ - examples/i18n/id/features/step_definitons/calculator_steps.rb
133
+ - examples/i18n/id/lib/calculator.rb
134
+ - examples/i18n/it/Rakefile
135
+ - examples/i18n/it/features/somma.feature
136
+ - examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
137
+ - examples/i18n/it/lib/calcolatrice.rb
138
+ - examples/i18n/ja/README.txt
139
+ - examples/i18n/ja/Rakefile
140
+ - examples/i18n/ja/features/addition.feature
141
+ - examples/i18n/ja/features/division.feature
142
+ - examples/i18n/ja/features/step_definitons/calculator_steps.rb
143
+ - examples/i18n/ja/lib/calculator.rb
144
+ - examples/i18n/no/Rakefile
145
+ - examples/i18n/no/features/step_definitons/kalkulator_steps.rb
146
+ - examples/i18n/no/features/summering.feature
147
+ - examples/i18n/no/lib/kalkulator.rb
148
+ - examples/i18n/pt/Rakefile
149
+ - examples/i18n/pt/features/adicao.feature
150
+ - examples/i18n/pt/features/step_definitions/calculadora_steps.rb
151
+ - examples/i18n/pt/lib/calculadora.rb
152
+ - examples/i18n/ro/Rakefile
153
+ - examples/i18n/ro/features/step_definitons/calculator_steps.rb
154
+ - examples/i18n/ro/features/suma.feature
155
+ - examples/i18n/ro/lib/calculator.rb
156
+ - examples/i18n/se/Rakefile
157
+ - examples/i18n/se/features/step_definitons/kalkulator_steps.rb
158
+ - examples/i18n/se/features/summering.feature
159
+ - examples/i18n/se/lib/kalkulator.rb
160
+ - examples/i18n/zh-CN/Rakefile
161
+ - examples/i18n/zh-CN/features/addition.feature
162
+ - examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
163
+ - examples/i18n/zh-CN/lib/calculator.rb
122
164
  - examples/java/README.textile
123
165
  - examples/java/Rakefile
124
166
  - examples/java/features/hello.feature
125
- - examples/java/features/steps/hello_steps.rb
126
- - examples/java/features/steps/tree_steps.rb
167
+ - examples/java/features/step_definitons/hello_steps.rb
168
+ - examples/java/features/step_definitons/tree_steps.rb
127
169
  - examples/java/features/tree.feature
128
170
  - examples/java/src/cucumber/demo/Hello.java
129
- - examples/norwegian_calculator/Rakefile
130
- - examples/norwegian_calculator/features/steps/kalkulator_steps.rb
131
- - examples/norwegian_calculator/features/summering.feature
132
- - examples/norwegian_calculator/lib/kalkulator.rb
133
- - examples/portuguese_calculator/Rakefile
134
- - examples/portuguese_calculator/features/adicao.feature
135
- - examples/portuguese_calculator/features/calculadora_steps.rb
136
171
  - examples/selenium/Rakefile
137
172
  - examples/selenium/features/search.feature
138
- - examples/selenium/features/steps/stories_steps.rb
139
- - examples/spanish_calculator/Rakefile
140
- - examples/spanish_calculator/features/adicion.feature
141
- - examples/spanish_calculator/features/steps/calculador_steps.rb
142
- - examples/spanish_calculator/lib/Calculador.rb
143
- - examples/swedish_calculator/Rakefile
144
- - examples/swedish_calculator/features/steps/kalkulator_steps.rb
145
- - examples/swedish_calculator/features/summering.feature
146
- - examples/swedish_calculator/lib/kalkulator.rb
173
+ - examples/selenium/features/step_definitons/stories_steps.rb
147
174
  - examples/tickets/Rakefile
148
175
  - examples/tickets/cucumber.yml
149
- - examples/tickets/features/steps/tickets_steps.rb
176
+ - examples/tickets/features/step_definitons/tickets_steps.rb
150
177
  - examples/tickets/features/tickets.feature
151
178
  - examples/watir/Rakefile
152
179
  - examples/watir/features/search.feature
153
- - examples/watir/features/steps/stories_steps.rb
180
+ - examples/watir/features/step_definitons/stories_steps.rb
154
181
  - features/see_features.feature
155
182
  - features/steps/features_steps.rb
156
183
  - gem_tasks/deployment.rake
@@ -161,13 +188,21 @@ files:
161
188
  - gem_tasks/gemspec.rake
162
189
  - gem_tasks/rspec.rake
163
190
  - gem_tasks/treetop.rake
191
+ - lib/autotest/cucumber.rb
192
+ - lib/autotest/cucumber_mixin.rb
193
+ - lib/autotest/cucumber_rails.rb
194
+ - lib/autotest/cucumber_rails_rspec.rb
195
+ - lib/autotest/cucumber_rspec.rb
196
+ - lib/autotest/discover.rb
164
197
  - lib/cucumber.rb
198
+ - lib/cucumber/broadcaster.rb
165
199
  - lib/cucumber/cli.rb
166
200
  - lib/cucumber/core_ext/proc.rb
167
201
  - lib/cucumber/core_ext/string.rb
168
202
  - lib/cucumber/executor.rb
169
203
  - lib/cucumber/formatters.rb
170
204
  - lib/cucumber/formatters/ansicolor.rb
205
+ - lib/cucumber/formatters/autotest_formatter.rb
171
206
  - lib/cucumber/formatters/cucumber.css
172
207
  - lib/cucumber/formatters/cucumber.js
173
208
  - lib/cucumber/formatters/html_formatter.rb
@@ -192,25 +227,36 @@ files:
192
227
  - lib/cucumber/tree/table.rb
193
228
  - lib/cucumber/tree/top_down_visitor.rb
194
229
  - lib/cucumber/treetop_parser/feature.treetop.erb
230
+ - lib/cucumber/treetop_parser/feature_ar.rb
231
+ - lib/cucumber/treetop_parser/feature_cy.rb
195
232
  - lib/cucumber/treetop_parser/feature_da.rb
196
233
  - lib/cucumber/treetop_parser/feature_de.rb
234
+ - lib/cucumber/treetop_parser/feature_en-tx.rb
197
235
  - lib/cucumber/treetop_parser/feature_en.rb
198
236
  - lib/cucumber/treetop_parser/feature_es.rb
199
237
  - lib/cucumber/treetop_parser/feature_et.rb
200
238
  - lib/cucumber/treetop_parser/feature_fr.rb
239
+ - lib/cucumber/treetop_parser/feature_id.rb
240
+ - lib/cucumber/treetop_parser/feature_it.rb
241
+ - lib/cucumber/treetop_parser/feature_ja.rb
201
242
  - lib/cucumber/treetop_parser/feature_nl.rb
202
243
  - lib/cucumber/treetop_parser/feature_no.rb
203
244
  - lib/cucumber/treetop_parser/feature_parser.rb
245
+ - lib/cucumber/treetop_parser/feature_pl.rb
204
246
  - lib/cucumber/treetop_parser/feature_pt.rb
247
+ - lib/cucumber/treetop_parser/feature_ro.rb
248
+ - lib/cucumber/treetop_parser/feature_ro2.rb
205
249
  - lib/cucumber/treetop_parser/feature_ru.rb
206
250
  - lib/cucumber/treetop_parser/feature_se.rb
207
251
  - lib/cucumber/treetop_parser/feature_zh-CN.rb
208
252
  - lib/cucumber/version.rb
253
+ - rails_generators/cucumber/USAGE
209
254
  - rails_generators/cucumber/cucumber_generator.rb
210
- - rails_generators/cucumber/templates/common_webrat.rb
211
255
  - rails_generators/cucumber/templates/cucumber
212
256
  - rails_generators/cucumber/templates/cucumber.rake
213
257
  - rails_generators/cucumber/templates/env.rb
258
+ - rails_generators/cucumber/templates/webrat_steps.rb
259
+ - rails_generators/feature/USAGE
214
260
  - rails_generators/feature/feature_generator.rb
215
261
  - rails_generators/feature/templates/feature.erb
216
262
  - rails_generators/feature/templates/steps.erb
@@ -223,11 +269,13 @@ files:
223
269
  - script/txt2html
224
270
  - script/txt2html.cmd
225
271
  - setup.rb
272
+ - spec/cucumber/broadcaster_spec.rb
226
273
  - spec/cucumber/cli_spec.rb
227
274
  - spec/cucumber/core_ext/proc_spec.rb
228
275
  - spec/cucumber/core_ext/string_spec.rb
229
276
  - spec/cucumber/executor_spec.rb
230
277
  - spec/cucumber/formatters/ansicolor_spec.rb
278
+ - spec/cucumber/formatters/autotest_formatter_spec.rb
231
279
  - spec/cucumber/formatters/features.html
232
280
  - spec/cucumber/formatters/html_formatter_spec.rb
233
281
  - spec/cucumber/formatters/pretty_formatter_spec.rb
@@ -240,6 +288,7 @@ files:
240
288
  - spec/cucumber/sell_cucumbers.feature
241
289
  - spec/cucumber/step_mother_spec.rb
242
290
  - spec/cucumber/tree/feature_spec.rb
291
+ - spec/cucumber/tree/row_scenario_spec.rb
243
292
  - spec/cucumber/tree/scenario_spec.rb
244
293
  - spec/cucumber/tree/step_spec.rb
245
294
  - spec/cucumber/treetop_parser/empty_feature.feature
@@ -1,5 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib') # If you're running off a Cucumber gem you can skip this line
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- end
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language fr"
6
- end
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language zh-CN"
6
- end
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language da"
6
- end
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language et"
6
- end
@@ -1,16 +0,0 @@
1
- Omadus: Liitmine
2
- Selleks et vältida rumalaid vigu
3
- Olles matemaatika-puupea
4
- Tahan et mulle öeldaks kahe numbri summa
5
-
6
- Stsenaarium: Liida kaks numbrit
7
- Eeldades et olen sisestanud kalkulaatorisse numbri 50
8
- Ja olen sisestanud kalkulaatorisse numbri 70
9
- Kui ma vajutan liida
10
- Siis vastuseks peab ekraanil kuvatama 120
11
- Ja vastuseklass peab olema tüüpi Fixnum
12
-
13
- | input_1 | input_2 | button | output | class |
14
- | 20 | 30 | liida | 50 | Fixnum |
15
- | 2 | 5 | liida | 7 | Fixnum |
16
- | 0 | 40 | liida | 40 | Fixnum |
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language no"
6
- end
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language pt"
6
- end
@@ -1,6 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
- require 'cucumber/rake/task'
3
-
4
- Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = "--format pretty --language es"
6
- end