cucumber 0.3.11 → 0.3.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. data/History.txt +101 -0
  2. data/Manifest.txt +14 -5
  3. data/config/hoe.rb +1 -2
  4. data/cucumber.yml +1 -0
  5. data/examples/i18n/ar/Rakefile +1 -1
  6. data/examples/i18n/ar/features/addition.feature +1 -0
  7. data/examples/i18n/bg/Rakefile +1 -1
  8. data/examples/i18n/bg/features/addition.feature +1 -0
  9. data/examples/i18n/bg/features/consecutive_calculations.feature +1 -0
  10. data/examples/i18n/bg/features/division.feature +1 -0
  11. data/examples/i18n/cat/Rakefile +1 -1
  12. data/examples/i18n/cat/features/suma.feature +1 -0
  13. data/examples/i18n/da/Rakefile +1 -1
  14. data/examples/i18n/da/features/summering.feature +1 -0
  15. data/examples/i18n/de/Rakefile +1 -1
  16. data/examples/i18n/de/features/addition.feature +1 -0
  17. data/examples/i18n/de/features/division.feature +1 -0
  18. data/examples/i18n/en-lol/features/stuffing.feature +1 -1
  19. data/examples/i18n/en/Rakefile +1 -1
  20. data/examples/i18n/en/features/addition.feature +1 -0
  21. data/examples/i18n/en/features/division.feature +1 -0
  22. data/examples/i18n/es/Rakefile +1 -1
  23. data/examples/i18n/es/features/adicion.feature +1 -0
  24. data/examples/i18n/et/Rakefile +1 -1
  25. data/examples/i18n/et/features/jagamine.feature +1 -0
  26. data/examples/i18n/et/features/liitmine.feature +1 -0
  27. data/examples/i18n/fi/Rakefile +1 -1
  28. data/examples/i18n/fi/features/jakolasku.feature +1 -0
  29. data/examples/i18n/fr/Rakefile +1 -1
  30. data/examples/i18n/fr/features/addition.feature +2 -1
  31. data/examples/i18n/he/Rakefile +1 -1
  32. data/examples/i18n/he/features/addition.feature +1 -0
  33. data/examples/i18n/he/features/division.feature +1 -0
  34. data/examples/i18n/hu/Rakefile +1 -1
  35. data/examples/i18n/hu/features/addition.feature +1 -0
  36. data/examples/i18n/hu/features/division.feature +1 -0
  37. data/examples/i18n/id/Rakefile +1 -1
  38. data/examples/i18n/id/features/addition.feature +1 -0
  39. data/examples/i18n/id/features/division.feature +1 -0
  40. data/examples/i18n/it/Rakefile +1 -1
  41. data/examples/i18n/it/features/somma.feature +1 -0
  42. data/examples/i18n/ja/Rakefile +1 -1
  43. data/examples/i18n/ja/features/addition.feature +1 -0
  44. data/examples/i18n/ja/features/division.feature +1 -0
  45. data/examples/i18n/ko/Rakefile +1 -1
  46. data/examples/i18n/ko/features/addition.feature +6 -5
  47. data/examples/i18n/ko/features/division.feature +1 -0
  48. data/examples/i18n/ko/features/step_definitons/calculator_steps.rb +1 -1
  49. data/examples/i18n/lt/Rakefile +1 -1
  50. data/examples/i18n/lt/features/addition.feature +1 -0
  51. data/examples/i18n/lt/features/division.feature +1 -0
  52. data/examples/i18n/lv/Rakefile +1 -1
  53. data/examples/i18n/lv/features/addition.feature +1 -0
  54. data/examples/i18n/lv/features/division.feature +1 -0
  55. data/examples/i18n/no/Rakefile +1 -1
  56. data/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +1 -1
  57. data/examples/i18n/no/features/summering.feature +1 -0
  58. data/examples/i18n/pl/Rakefile +1 -1
  59. data/examples/i18n/pl/features/addition.feature +1 -0
  60. data/examples/i18n/pl/features/division.feature +1 -0
  61. data/examples/i18n/pt/Rakefile +1 -1
  62. data/examples/i18n/pt/features/adicao.feature +1 -0
  63. data/examples/i18n/ro/Rakefile +1 -1
  64. data/examples/i18n/ro/features/suma.feature +1 -0
  65. data/examples/i18n/ru/Rakefile +1 -1
  66. data/examples/i18n/ru/features/addition.feature +1 -0
  67. data/examples/i18n/ru/features/consecutive_calculations.feature +1 -0
  68. data/examples/i18n/ru/features/division.feature +1 -0
  69. data/examples/i18n/se/Rakefile +1 -1
  70. data/examples/i18n/se/features/summering.feature +1 -0
  71. data/examples/i18n/sk/Rakefile +1 -1
  72. data/examples/i18n/sk/features/addition.feature +1 -0
  73. data/examples/i18n/sk/features/division.feature +1 -0
  74. data/examples/i18n/zh-CN/features/addition.feature +1 -0
  75. data/examples/i18n/zh-TW/features/addition.feature +1 -0
  76. data/examples/i18n/zh-TW/features/division.feature +1 -0
  77. data/examples/self_test/features/support/env.rb +2 -1
  78. data/examples/sinatra/features/step_definitions/add_steps.rb +1 -1
  79. data/examples/sinatra/features/support/env.rb +13 -5
  80. data/examples/steps_library/features/step_definitions/steps_lib1.rb +8 -0
  81. data/examples/steps_library/features/step_definitions/steps_lib2.rb +8 -0
  82. data/examples/tickets/features/step_definitons/tickets_steps.rb +15 -0
  83. data/examples/tickets/features/table_diffing.feature +13 -0
  84. data/features/after_block_exceptions.feature +4 -1
  85. data/features/after_step_block_exceptions.feature +4 -1
  86. data/features/background.feature +6 -0
  87. data/features/bug_371.feature +32 -0
  88. data/features/cucumber_cli.feature +11 -1
  89. data/features/cucumber_cli_diff_disabled.feature +9 -2
  90. data/features/drb_server_integration.feature +28 -5
  91. data/features/expand.feature +2 -1
  92. data/features/html_formatter/a.html +129 -1614
  93. data/features/junit_formatter.feature +4 -4
  94. data/features/language_from_header.feature +30 -0
  95. data/features/rake_task.feature +28 -0
  96. data/features/step_definitions/cucumber_steps.rb +2 -2
  97. data/features/steps_formatter.feature +25 -0
  98. data/features/support/env.rb +13 -5
  99. data/features/table_diffing.feature +45 -0
  100. data/features/unicode_table.feature +35 -0
  101. data/features/work_in_progress.feature +3 -0
  102. data/gem_tasks/sass.rake +4 -0
  103. data/lib/cucumber.rb +0 -57
  104. data/lib/cucumber/ast/comment.rb +1 -1
  105. data/lib/cucumber/ast/feature.rb +2 -2
  106. data/lib/cucumber/ast/feature_element.rb +4 -0
  107. data/lib/cucumber/ast/outline_table.rb +2 -1
  108. data/lib/cucumber/ast/py_string.rb +0 -1
  109. data/lib/cucumber/ast/scenario.rb +5 -3
  110. data/lib/cucumber/ast/scenario_outline.rb +6 -1
  111. data/lib/cucumber/ast/step.rb +8 -1
  112. data/lib/cucumber/ast/step_invocation.rb +6 -1
  113. data/lib/cucumber/ast/table.rb +287 -49
  114. data/lib/cucumber/ast/visitor.rb +2 -1
  115. data/lib/cucumber/cli/configuration.rb +45 -28
  116. data/lib/cucumber/cli/drb_client.rb +8 -9
  117. data/lib/cucumber/cli/language_help_formatter.rb +9 -7
  118. data/lib/cucumber/cli/main.rb +8 -9
  119. data/lib/cucumber/feature_file.rb +53 -0
  120. data/lib/cucumber/filter.rb +50 -0
  121. data/lib/cucumber/formatter/console.rb +12 -0
  122. data/lib/cucumber/formatter/cucumber.css +106 -48
  123. data/lib/cucumber/formatter/cucumber.sass +121 -31
  124. data/lib/cucumber/formatter/html.rb +6 -5
  125. data/lib/cucumber/formatter/junit.rb +3 -6
  126. data/lib/cucumber/formatter/pretty.rb +22 -9
  127. data/lib/cucumber/formatter/profile.rb +1 -1
  128. data/lib/cucumber/formatter/progress.rb +1 -1
  129. data/lib/cucumber/formatter/steps.rb +49 -0
  130. data/lib/cucumber/languages.yml +3 -3
  131. data/lib/cucumber/parser.rb +1 -33
  132. data/lib/cucumber/parser/feature.rb +39 -16
  133. data/lib/cucumber/parser/feature.tt +1 -3
  134. data/lib/cucumber/parser/i18n.tt +30 -23
  135. data/lib/cucumber/parser/i18n/language.rb +83 -0
  136. data/lib/cucumber/parser/treetop_ext.rb +12 -83
  137. data/lib/cucumber/platform.rb +6 -0
  138. data/lib/cucumber/rake/task.rb +6 -0
  139. data/lib/cucumber/step_definition.rb +6 -0
  140. data/lib/cucumber/step_match.rb +1 -1
  141. data/lib/cucumber/step_mother.rb +3 -3
  142. data/lib/cucumber/version.rb +1 -1
  143. data/lib/cucumber/webrat/table_locator.rb +66 -0
  144. data/rails_generators/cucumber/templates/cucumber.rake +4 -0
  145. data/rails_generators/cucumber/templates/env.rb +1 -0
  146. data/rails_generators/cucumber/templates/spork_env.rb +1 -1
  147. data/rails_generators/cucumber/templates/webrat_steps.rb +17 -0
  148. data/rails_generators/feature/templates/feature.erb +1 -1
  149. data/rails_generators/feature/templates/steps.erb +2 -8
  150. data/spec/cucumber/ast/step_collection_spec.rb +5 -4
  151. data/spec/cucumber/ast/table_spec.rb +145 -0
  152. data/spec/cucumber/cli/configuration_spec.rb +55 -9
  153. data/spec/cucumber/cli/drb_client_spec.rb +5 -4
  154. data/spec/cucumber/cli/main_spec.rb +9 -12
  155. data/spec/cucumber/formatter/progress_spec.rb +2 -2
  156. data/spec/cucumber/parser/feature_parser_spec.rb +11 -9
  157. data/spec/cucumber/parser/table_parser_spec.rb +1 -1
  158. data/spec/spec_helper.rb +2 -1
  159. metadata +21 -20
  160. data/spec/cucumber/formatter/html/cucumber.css +0 -37
  161. data/spec/cucumber/formatter/html/cucumber.js +0 -13
  162. data/spec/cucumber/formatter/html/index.html +0 -45
  163. data/spec/cucumber/formatter/html/jquery-1.3.min.js +0 -19
  164. data/spec/cucumber/formatter/html/jquery.uitableedit.js +0 -100
@@ -1,3 +1,104 @@
1
+ == 0.3.90 2009-07-22
2
+
3
+ The Hot summer release
4
+
5
+ This is a hot summer in Norway, and Cucumbers are growing in abundance. To celebrate this we give you
6
+ a new release with lots of new features and bugfixes. This is also one of the last releases in the 0.3 series
7
+ (hence the 0.3.90 number), so 0.4 (or maybe 1.0!) will be coming up soon. The highlights of this release are:
8
+
9
+ === Egality
10
+
11
+ English is not the world's most spoken language, so why should Cucumber force non-English speakers to use the
12
+ --language flag? As of this release you're no longer forced to do that. Instead, you can add a comment header
13
+ to your .feature files:
14
+
15
+ # language: fr
16
+ # Cucumber understands that this is French
17
+ Fonctionnalité: Trou de boulette
18
+
19
+ If you don't have that header, Cucumber will work as before - using whatever you specified with --language,
20
+ or default to English if no --language option was specified. A nice side effect of this is that you can now
21
+ have features in several languages side by side and run them in the same cucumber. (Not recommended unless
22
+ you want to take polyglot programming to an extreme level).
23
+
24
+ === Table diffing (experimental)
25
+
26
+ When you pass a table as an argument to your Then steps you often want to compare that table
27
+ to some actual values. In previous releases you had to iterate over the table's values and manually
28
+ compare each row using cell.should equal('foo') or assert_equal('foo', cell). If a discrepancy was found
29
+ you'd get an error, but it was hard to see how the entire expected data set was different from the actual one.
30
+
31
+ With this release you have a much more powerful way to compare expected tables with actual data. An
32
+ Ast::Table object now has a new #diff!(table) method that you can invoke in your step definitions
33
+ that take table arguments. If the table you pass in is different from the expected table (from your
34
+ plain text step), Cucumber will print the difference for each of the row or column and fail your step.
35
+
36
+ The Table#diff! method expects an Array of Array, Array of Hash (similar to what you'd get from table#hashes)
37
+ or simply another Ast::Table object. Here is a simple example:
38
+
39
+ Then /^I should see the following cukes:$/ do |expected_cukes_table|
40
+ actual_table = ... # For example [['Latin', 'English'], ['Cucumis sativus', 'Cucumber'], ['Cucumis anguria', 'Burr Gherkin']]
41
+ expected_cukes_table.diff!(actual_table)
42
+ end
43
+
44
+ As an extra bonus we provide Webrat users with a new #table_at(selector) method that you can use to transform
45
+ an HTML table into an Array of Array, so that you can easily compare the contents of your HTML table to
46
+ expected data passed to a step. Here is an example:
47
+
48
+ Then /^I should see the following cukes:$/ do |expected_cukes_table|
49
+ expected_cukes_table.diff!(table_at('#cuke_table').to_a)
50
+ end
51
+
52
+ You can do the same trick to compare data from a Rails ActiveRecord table (although this is not a
53
+ recommended practice - your Then steps should compare against what users *see*, not what's in the
54
+ database):
55
+
56
+ # This requires that you use the column names in the header of the plain text expected table
57
+ Then /^I should have the following cukes in the database:$/ do |expected_cukes_table|
58
+ expected_cukes_table.diff!(Cuke.find(:all).map(&attributes))
59
+ end
60
+
61
+ === Environment variables
62
+
63
+ Another useful new feature is the ability to define environment variables on Cucumber's command line (just
64
+ like you can with Rake). Example:
65
+
66
+ cucumber FOO=BAR --format progress features
67
+
68
+ You can now pick up ENV['FOO'] in ruby (for example in env.rb) and take actions according to the value,
69
+ for example enabling your super hack that validates all HTTP responses for XHTML validity.
70
+
71
+ This release also has several bugfixes related to --format and Before/After hooks.
72
+
73
+ === Bugfixes
74
+ * Fix some misspellings which affect test fail for Korean example (#373 Dongju Kim)
75
+ * Make it possible to write non-localized step definitions (#377 Aslak Hellesøy)
76
+ * Table cells containing unicode are rendered incorrectly (#386 Stefan Kanev)
77
+ * Before and After hooks run after everything is finished when there are 2+ --format options (#371 Aslak Hellesøy)
78
+ * When using --out and two --format the first is not delivered inline with execution of features (#361 Aslak Hellesøy)
79
+ * Profile Formatter broken (#370 Aslak Hellesøy)
80
+ * Default profile usage with --drb flag degrades gracefully with no server. (#367 Ben Mabey)
81
+ * JUnit formatter uses original file name instead of narrative to avoid accidental duplicate XML files (Aslak Hellesøy)
82
+ * rake gems no longer lists cucumber as a [F]ramework gem (David Chelimsky)
83
+ * CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey)
84
+ * Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière)
85
+ * Fixed bug with rake task raising errors with feature files with spaces (#380 Joseph Wilk)
86
+
87
+ === New Features
88
+ * I should see should support regexes (#382 John Ferlito)
89
+ * Access to scenario outline name from After hook scenario parameter (#342 Aslak Hellesøy)
90
+ * Allow multiple --tags switches to be passed
91
+ * Load step definitions from vendored gems and plugins (#388 Mike Burns)
92
+ * New --format steps formatter. Variant of the usage formatter that lists available step definitions (Demetrius Nunes)
93
+ * Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy)
94
+ * Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp)
95
+ * Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg)
96
+
97
+ === Changed Features
98
+ * When using --tags, positive tags are &&'ed while negative tags are ||'ed (John Wilger)
99
+ * The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy)
100
+ * Visitor.visit_table_cell_value(value, col_width, status) is now visitor.visit_table_cell_value(value, status)
101
+
1
102
  == 0.3.11 2009-06-05
2
103
 
3
104
  This release just fixes a tiny bug in the formatter to fix an incompatibility
@@ -205,6 +205,8 @@ examples/sinatra/features/step_definitions/add_steps.rb
205
205
  examples/sinatra/features/support/env.rb
206
206
  examples/sinatra/views/add.erb
207
207
  examples/sinatra/views/layout.erb
208
+ examples/steps_library/features/step_definitions/steps_lib1.rb
209
+ examples/steps_library/features/step_definitions/steps_lib2.rb
208
210
  examples/test_unit/Rakefile
209
211
  examples/test_unit/features/step_definitions/test_unit_steps.rb
210
212
  examples/test_unit/features/test_unit.feature
@@ -237,6 +239,7 @@ examples/tickets/features/step_definitons/246_steps.rb
237
239
  examples/tickets/features/step_definitons/248_steps.rb
238
240
  examples/tickets/features/step_definitons/scenario_outline_steps.rb
239
241
  examples/tickets/features/step_definitons/tickets_steps.rb
242
+ examples/tickets/features/table_diffing.feature
240
243
  examples/tickets/features/tickets.feature
241
244
  examples/watir/README.textile
242
245
  examples/watir/Rakefile
@@ -246,6 +249,7 @@ examples/watir/features/support/env.rb
246
249
  features/after_block_exceptions.feature
247
250
  features/after_step_block_exceptions.feature
248
251
  features/background.feature
252
+ features/bug_371.feature
249
253
  features/cucumber_cli.feature
250
254
  features/cucumber_cli_diff_disabled.feature
251
255
  features/cucumber_cli_outlines.feature
@@ -256,13 +260,17 @@ features/expand.feature
256
260
  features/html_formatter.feature
257
261
  features/html_formatter/a.html
258
262
  features/junit_formatter.feature
263
+ features/language_from_header.feature
259
264
  features/multiline_names.feature
260
265
  features/rake_task.feature
261
266
  features/report_called_undefined_steps.feature
262
267
  features/snippet.feature
263
268
  features/step_definitions/cucumber_steps.rb
264
269
  features/step_definitions/extra_steps.rb
270
+ features/steps_formatter.feature
265
271
  features/support/env.rb
272
+ features/table_diffing.feature
273
+ features/unicode_table.feature
266
274
  features/usage.feature
267
275
  features/work_in_progress.feature
268
276
  gem_tasks/deployment.rake
@@ -272,6 +280,7 @@ gem_tasks/fix_cr_lf.rake
272
280
  gem_tasks/flog.rake
273
281
  gem_tasks/gemspec.rake
274
282
  gem_tasks/rspec.rake
283
+ gem_tasks/sass.rake
275
284
  gem_tasks/yard.rake
276
285
  lib/autotest/cucumber.rb
277
286
  lib/autotest/cucumber_mixin.rb
@@ -306,6 +315,8 @@ lib/cucumber/core_ext/exception.rb
306
315
  lib/cucumber/core_ext/instance_exec.rb
307
316
  lib/cucumber/core_ext/proc.rb
308
317
  lib/cucumber/core_ext/string.rb
318
+ lib/cucumber/feature_file.rb
319
+ lib/cucumber/filter.rb
309
320
  lib/cucumber/formatter/ansicolor.rb
310
321
  lib/cucumber/formatter/color_io.rb
311
322
  lib/cucumber/formatter/console.rb
@@ -318,6 +329,7 @@ lib/cucumber/formatter/pretty.rb
318
329
  lib/cucumber/formatter/profile.rb
319
330
  lib/cucumber/formatter/progress.rb
320
331
  lib/cucumber/formatter/rerun.rb
332
+ lib/cucumber/formatter/steps.rb
321
333
  lib/cucumber/formatter/tag_cloud.rb
322
334
  lib/cucumber/formatter/unicode.rb
323
335
  lib/cucumber/formatter/usage.rb
@@ -327,6 +339,7 @@ lib/cucumber/parser.rb
327
339
  lib/cucumber/parser/feature.rb
328
340
  lib/cucumber/parser/feature.tt
329
341
  lib/cucumber/parser/i18n.tt
342
+ lib/cucumber/parser/i18n/language.rb
330
343
  lib/cucumber/parser/table.rb
331
344
  lib/cucumber/parser/table.tt
332
345
  lib/cucumber/parser/treetop_ext.rb
@@ -339,6 +352,7 @@ lib/cucumber/step_definition.rb
339
352
  lib/cucumber/step_match.rb
340
353
  lib/cucumber/step_mother.rb
341
354
  lib/cucumber/version.rb
355
+ lib/cucumber/webrat/table_locator.rb
342
356
  lib/cucumber/world.rb
343
357
  rails_generators/cucumber/USAGE
344
358
  rails_generators/cucumber/cucumber_generator.rb
@@ -373,11 +387,6 @@ spec/cucumber/core_ext/string_spec.rb
373
387
  spec/cucumber/formatter/ansicolor_spec.rb
374
388
  spec/cucumber/formatter/color_io_spec.rb
375
389
  spec/cucumber/formatter/duration_spec.rb
376
- spec/cucumber/formatter/html/cucumber.css
377
- spec/cucumber/formatter/html/cucumber.js
378
- spec/cucumber/formatter/html/index.html
379
- spec/cucumber/formatter/html/jquery-1.3.min.js
380
- spec/cucumber/formatter/html/jquery.uitableedit.js
381
390
  spec/cucumber/formatter/progress_spec.rb
382
391
  spec/cucumber/parser/feature_parser_spec.rb
383
392
  spec/cucumber/parser/table_parser_spec.rb
@@ -61,8 +61,7 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
61
61
  #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
62
62
  p.extra_deps = [
63
63
  ['term-ansicolor', '>= 1.0.3'],
64
- ['treetop', '>= 1.2.5'],
65
- ['polyglot', '>= 0.2.5'], # Remove this when Treetop no longer loads polyglot by default.
64
+ ['treetop', '>= 1.2.6'],
66
65
  ['diff-lcs', '>= 1.1.2'],
67
66
  ['builder', '>= 2.1.2']
68
67
  ]
@@ -1 +1,2 @@
1
1
  default: --format progress features --tags ~@proposed,~@in_progress
2
+ wip: --tags @in_progress --wip features
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language ar}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: ar
1
2
  خاصية: الجمع
2
3
  من اجل تجنب الأخطاء السخيفة
3
4
  كشخص غبي في الرياضيات
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language bg}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: bg
1
2
  Функционалност: Събиране на числа
2
3
  За да не го правят наум
3
4
  Потребителите
@@ -1,3 +1,4 @@
1
+ # language: bg
1
2
  Функционалост: Последователни изчисления
2
3
  За да не го правят наум
3
4
  Потребителите
@@ -1,3 +1,4 @@
1
+ # language: bg
1
2
  Фунцкционалност: Делене на числа
2
3
  За да не го правят наум
3
4
  Потребителите
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language cat}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: cat
1
2
  Característica: Suma
2
3
  Per evitar fer errors tontos
3
4
  Com un matemàtic idiota
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language da}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: da
1
2
  Egenskab: Summering
2
3
  For at slippe for at lave dumme fejl
3
4
  Som en regnskabsfører
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language de}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: de
1
2
  Funktionalität: Addition
2
3
  Um dumme Fehler zu vermeiden
3
4
  möchte ich als Matheidiot
@@ -1,3 +1,4 @@
1
+ # language: de
1
2
  Funktionalität: Division
2
3
  Um dumme Fehler zu vermeiden
3
4
  müssen Kassierer in der Lage sein einen Bruchteil zu berechnen
@@ -1,4 +1,4 @@
1
- # stuffing.feature
1
+ # language: en-lol
2
2
  OH HAI: STUFFING
3
3
 
4
4
  MISHUN: CUCUMBR
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language en}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: en
1
2
  Feature: Addition
2
3
  In order to avoid silly mistakes
3
4
  As a math idiot
@@ -1,3 +1,4 @@
1
+ # language: en
1
2
  Feature: Division
2
3
  In order to avoid silly mistakes
3
4
  Cashiers must be able to calculate a fraction
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language es}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: es
1
2
  Característica: adición
2
3
  Para evitar hacer errores tontos
3
4
  Como un matemático idiota
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language et}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: et
1
2
  Omadus: Jagamine
2
3
  Rumalate vigade vältimiseks
3
4
  Peavad kassapidajad saama arvutada murdudes
@@ -1,3 +1,4 @@
1
+ # language: et
1
2
  Omadus: Liitmine
2
3
  Selleks et vältida rumalaid vigu
3
4
  Olles matemaatika-puupea
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language fi}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: fi
1
2
  Ominaisuus: Jakolasku
2
3
  Välttyäkseen hölmöiltä virheiltä
3
4
  Kassanhoitajan on voitava laskea osamäärä
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language fr}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,7 +1,8 @@
1
+ # language: fr
1
2
  Fonctionnalité: Addition
2
3
  Afin de gagner du temps lors du calcul de la facture
3
4
  En tant que commerçant
4
- Je souhaite pouvoir faire une additionn
5
+ Je souhaite pouvoir faire une addition
5
6
 
6
7
  Plan du Scénario: Addition de deux nombres
7
8
  Soit une calculatrice
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language he}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: he
1
2
  תכונה: חיבור
2
3
  כדי למנוע טעויות טפשיות
3
4
  בתור בור מתמטי
@@ -1,3 +1,4 @@
1
+ # language: he
1
2
  תכונה: חילוק
2
3
  כדי למנוע טעויות טפשיות
3
4
  לקופאים חייבת להיות יכולת לחשב שבר
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language hu}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: hu
1
2
  Jellemző: Összeadás
2
3
  Azért, hogy elkerüljem a buta hibákat
3
4
  amit diszkalkúliásként elkövethetek,
@@ -1,3 +1,4 @@
1
+ # language: hu
1
2
  Jellemző: Osztás
2
3
  Azért, hogy elkerüljem a buta hibákat
3
4
  a számológépeknek tudniuk kell osztani.
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__) + '/../../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
4
  Cucumber::Rake::Task.new do |t|
5
- t.cucumber_opts = %w{--language id}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: id
1
2
  Fitur: Addition
2
3
  Untuk menghindari kesalahan konyol
3
4
  Sebagai orang yang gak bisa matematika
@@ -1,3 +1,4 @@
1
+ # language: id
1
2
  Fitur: Division
2
3
  Untuk hindari kesalahan konyol
3
4
  Kasir harus dapat menghitung pembagian