aslakhellesoy-cucumber 0.3.11.3 → 0.3.11.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/History.txt +35 -0
  2. data/Manifest.txt +5 -0
  3. data/config/hoe.rb +1 -2
  4. data/examples/i18n/ar/Rakefile +1 -1
  5. data/examples/i18n/ar/features/addition.feature +1 -0
  6. data/examples/i18n/bg/Rakefile +1 -1
  7. data/examples/i18n/bg/features/addition.feature +1 -0
  8. data/examples/i18n/bg/features/consecutive_calculations.feature +1 -0
  9. data/examples/i18n/bg/features/division.feature +1 -0
  10. data/examples/i18n/cat/Rakefile +1 -1
  11. data/examples/i18n/cat/features/suma.feature +1 -0
  12. data/examples/i18n/da/Rakefile +1 -1
  13. data/examples/i18n/da/features/summering.feature +1 -0
  14. data/examples/i18n/de/Rakefile +1 -1
  15. data/examples/i18n/de/features/addition.feature +1 -0
  16. data/examples/i18n/de/features/division.feature +1 -0
  17. data/examples/i18n/en-lol/features/stuffing.feature +1 -1
  18. data/examples/i18n/en/Rakefile +1 -1
  19. data/examples/i18n/en/features/addition.feature +1 -0
  20. data/examples/i18n/en/features/division.feature +1 -0
  21. data/examples/i18n/es/Rakefile +1 -1
  22. data/examples/i18n/es/features/adicion.feature +1 -0
  23. data/examples/i18n/et/Rakefile +1 -1
  24. data/examples/i18n/et/features/jagamine.feature +1 -0
  25. data/examples/i18n/et/features/liitmine.feature +1 -0
  26. data/examples/i18n/fi/Rakefile +1 -1
  27. data/examples/i18n/fi/features/jakolasku.feature +1 -0
  28. data/examples/i18n/fr/Rakefile +1 -1
  29. data/examples/i18n/fr/features/addition.feature +2 -1
  30. data/examples/i18n/he/Rakefile +1 -1
  31. data/examples/i18n/he/features/addition.feature +1 -0
  32. data/examples/i18n/he/features/division.feature +1 -0
  33. data/examples/i18n/hu/Rakefile +1 -1
  34. data/examples/i18n/hu/features/addition.feature +1 -0
  35. data/examples/i18n/hu/features/division.feature +1 -0
  36. data/examples/i18n/id/Rakefile +1 -1
  37. data/examples/i18n/id/features/addition.feature +1 -0
  38. data/examples/i18n/id/features/division.feature +1 -0
  39. data/examples/i18n/it/Rakefile +1 -1
  40. data/examples/i18n/it/features/somma.feature +1 -0
  41. data/examples/i18n/ja/Rakefile +1 -1
  42. data/examples/i18n/ja/features/addition.feature +1 -0
  43. data/examples/i18n/ja/features/division.feature +1 -0
  44. data/examples/i18n/ko/Rakefile +1 -1
  45. data/examples/i18n/ko/features/addition.feature +1 -0
  46. data/examples/i18n/ko/features/division.feature +1 -0
  47. data/examples/i18n/lt/Rakefile +1 -1
  48. data/examples/i18n/lt/features/addition.feature +1 -0
  49. data/examples/i18n/lt/features/division.feature +1 -0
  50. data/examples/i18n/lv/Rakefile +1 -1
  51. data/examples/i18n/lv/features/addition.feature +1 -0
  52. data/examples/i18n/lv/features/division.feature +1 -0
  53. data/examples/i18n/no/Rakefile +1 -1
  54. data/examples/i18n/no/features/summering.feature +1 -0
  55. data/examples/i18n/pl/Rakefile +1 -1
  56. data/examples/i18n/pl/features/addition.feature +1 -0
  57. data/examples/i18n/pl/features/division.feature +1 -0
  58. data/examples/i18n/pt/Rakefile +1 -1
  59. data/examples/i18n/pt/features/adicao.feature +1 -0
  60. data/examples/i18n/ro/Rakefile +1 -1
  61. data/examples/i18n/ro/features/suma.feature +1 -0
  62. data/examples/i18n/ru/Rakefile +1 -1
  63. data/examples/i18n/ru/features/addition.feature +1 -0
  64. data/examples/i18n/ru/features/consecutive_calculations.feature +1 -0
  65. data/examples/i18n/ru/features/division.feature +1 -0
  66. data/examples/i18n/se/Rakefile +1 -1
  67. data/examples/i18n/se/features/summering.feature +1 -0
  68. data/examples/i18n/sk/Rakefile +1 -1
  69. data/examples/i18n/sk/features/addition.feature +1 -0
  70. data/examples/i18n/sk/features/division.feature +1 -0
  71. data/examples/i18n/zh-CN/features/addition.feature +1 -0
  72. data/examples/i18n/zh-TW/features/addition.feature +1 -0
  73. data/examples/i18n/zh-TW/features/division.feature +1 -0
  74. data/examples/sinatra/features/step_definitions/add_steps.rb +1 -1
  75. data/examples/sinatra/features/support/env.rb +13 -5
  76. data/features/after_block_exceptions.feature +4 -1
  77. data/features/after_step_block_exceptions.feature +4 -1
  78. data/features/background.feature +6 -0
  79. data/features/bug_371.feature +32 -0
  80. data/features/cucumber_cli.feature +11 -1
  81. data/features/cucumber_cli_diff_disabled.feature +7 -1
  82. data/features/drb_server_integration.feature +5 -4
  83. data/features/expand.feature +2 -1
  84. data/features/html_formatter/a.html +33 -30
  85. data/features/junit_formatter.feature +4 -4
  86. data/features/language_from_header.feature +30 -0
  87. data/features/step_definitions/cucumber_steps.rb +2 -2
  88. data/features/support/env.rb +7 -4
  89. data/features/work_in_progress.feature +3 -0
  90. data/lib/cucumber.rb +0 -57
  91. data/lib/cucumber/ast/comment.rb +1 -1
  92. data/lib/cucumber/ast/feature.rb +2 -2
  93. data/lib/cucumber/ast/feature_element.rb +4 -0
  94. data/lib/cucumber/ast/scenario.rb +5 -3
  95. data/lib/cucumber/ast/scenario_outline.rb +6 -1
  96. data/lib/cucumber/ast/step.rb +4 -0
  97. data/lib/cucumber/ast/step_invocation.rb +6 -1
  98. data/lib/cucumber/cli/configuration.rb +36 -26
  99. data/lib/cucumber/cli/main.rb +4 -5
  100. data/lib/cucumber/feature_file.rb +47 -0
  101. data/lib/cucumber/filter.rb +50 -0
  102. data/lib/cucumber/formatter/console.rb +12 -0
  103. data/lib/cucumber/formatter/cucumber.css +19 -14
  104. data/lib/cucumber/formatter/cucumber.sass +18 -13
  105. data/lib/cucumber/formatter/html.rb +4 -3
  106. data/lib/cucumber/formatter/junit.rb +3 -6
  107. data/lib/cucumber/formatter/pretty.rb +2 -4
  108. data/lib/cucumber/formatter/profile.rb +1 -1
  109. data/lib/cucumber/parser.rb +1 -33
  110. data/lib/cucumber/parser/feature.rb +12 -16
  111. data/lib/cucumber/parser/feature.tt +1 -3
  112. data/lib/cucumber/parser/i18n.tt +30 -23
  113. data/lib/cucumber/parser/i18n/language.rb +80 -0
  114. data/lib/cucumber/parser/treetop_ext.rb +12 -83
  115. data/lib/cucumber/platform.rb +6 -0
  116. data/lib/cucumber/step_mother.rb +3 -3
  117. data/lib/cucumber/version.rb +1 -1
  118. data/rails_generators/cucumber/templates/cucumber.rake +4 -0
  119. data/spec/cucumber/ast/step_collection_spec.rb +5 -4
  120. data/spec/cucumber/cli/configuration_spec.rb +42 -9
  121. data/spec/cucumber/cli/main_spec.rb +2 -10
  122. data/spec/cucumber/parser/feature_parser_spec.rb +11 -9
  123. data/spec/cucumber/parser/table_parser_spec.rb +1 -1
  124. data/spec/spec_helper.rb +0 -1
  125. metadata +8 -13
@@ -1,9 +1,44 @@
1
1
  == 0.3.12 (In Git)
2
2
 
3
+ The Egality release
4
+
5
+ English is not the world's most spoken language, so why should Cucumber force non-English speakers to use the
6
+ --language flag? As of this release you're no longer forced to do that. Instead, you can add a comment header
7
+ to your .feature files:
8
+
9
+ # language: fr
10
+ Fonctionnalité: Trou de boulette
11
+
12
+ If you don't have that header, Cucumber will work as before - using whatever you specified with --language,
13
+ or default to English if no --language option was specified. A nice side effect of this is that you can now
14
+ have features in several languages side by side and run them in the same cucumber. (Not recommended unless
15
+ you want to take polyglot programming to an extreme level).
16
+
17
+ Another useful new feature is the ability to define environment variables on Cucumber's command line (just
18
+ like you can with Rake). Example:
19
+
20
+ cucumber FOO=BAR --format progress features
21
+
22
+ You can now pick up ENV['FOO'] in ruby (for example in env.rb) and take actions according to the value,
23
+ for example enabling your super hack that validates all HTTP responses for XHTML validity.
24
+
25
+ This release also has several bugfixes related to --format and Before/Adter hooks.
26
+
3
27
  === Bugfixes
28
+ * Before and After hooks run after everything is finished whn there are 2+ --format options (#371 Aslak Hellesøy)
29
+ * When using --out and two --format the first is not delivered inline with execution of features (#361 Aslak Hellesøy)
30
+ * Profile Formatter broken (#370 Aslak Hellesøy)
31
+ * Default profile usage with --drb flag degrades gracefully with no server. (#367 Ben Mabey)
32
+ * JUnit formatter uses original file name instead of narrative to avoid accidental duplicate XML files (Aslak Hellesøy)
33
+ * rake gems no longer lists cucumber as a [F]ramework gem (David Chelimsky)
4
34
  * CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey)
5
35
  * Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière)
6
36
 
37
+ === New Features
38
+ * Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy)
39
+ * Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp)
40
+ * Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg)
41
+
7
42
  === Changed Features
8
43
  * The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy)
9
44
 
@@ -246,6 +246,7 @@ examples/watir/features/support/env.rb
246
246
  features/after_block_exceptions.feature
247
247
  features/after_step_block_exceptions.feature
248
248
  features/background.feature
249
+ features/bug_371.feature
249
250
  features/cucumber_cli.feature
250
251
  features/cucumber_cli_diff_disabled.feature
251
252
  features/cucumber_cli_outlines.feature
@@ -256,6 +257,7 @@ features/expand.feature
256
257
  features/html_formatter.feature
257
258
  features/html_formatter/a.html
258
259
  features/junit_formatter.feature
260
+ features/language_from_header.feature
259
261
  features/multiline_names.feature
260
262
  features/rake_task.feature
261
263
  features/report_called_undefined_steps.feature
@@ -307,6 +309,8 @@ lib/cucumber/core_ext/exception.rb
307
309
  lib/cucumber/core_ext/instance_exec.rb
308
310
  lib/cucumber/core_ext/proc.rb
309
311
  lib/cucumber/core_ext/string.rb
312
+ lib/cucumber/feature_file.rb
313
+ lib/cucumber/filter.rb
310
314
  lib/cucumber/formatter/ansicolor.rb
311
315
  lib/cucumber/formatter/color_io.rb
312
316
  lib/cucumber/formatter/console.rb
@@ -328,6 +332,7 @@ lib/cucumber/parser.rb
328
332
  lib/cucumber/parser/feature.rb
329
333
  lib/cucumber/parser/feature.tt
330
334
  lib/cucumber/parser/i18n.tt
335
+ lib/cucumber/parser/i18n/language.rb
331
336
  lib/cucumber/parser/table.rb
332
337
  lib/cucumber/parser/table.tt
333
338
  lib/cucumber/parser/treetop_ext.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
  ]
@@ -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
@@ -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 it}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: it
1
2
  Funzionalità: somma
2
3
  Per evitare di fare errori stupidi
3
4
  Come utente
@@ -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 ja}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: ja
1
2
  フィーチャ: 加算
2
3
  バカな間違いを避けるために
3
4
  数学オンチとして
@@ -1,3 +1,4 @@
1
+ # language: ja
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 ko}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: ko
1
2
  기능: 덧셈
2
3
  예기치못한 실수을 방지하기 위해
3
4
  수학을 잘 못하는 사람으로써
@@ -1,3 +1,4 @@
1
+ # language: ko
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 lt}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: lt
1
2
  Sąvybė: Sudėtis
2
3
  Norint išvengti kvailų klaidų
3
4
  Kaip matematinis idiotas
@@ -1,3 +1,4 @@
1
+ # language: lt
1
2
  Feature: Dalyba
2
3
  Norint išvengti klaidų
3
4
  Kasininkai privalo mokėti skaičiuoti trupmenas
@@ -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 lv}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: lv
1
2
  Funkcionalitāte: Saskaitīšana
2
3
  Lai izvairītos no muļķīgām kļūdām
3
4
  Kā matemātikas idiots
@@ -1,3 +1,4 @@
1
+ # language: lv
1
2
  Funkcionalitāte: Dalīšana
2
3
  Lai izvairītos no muļķīgām kļūdām
3
4
  Kasieriem ir jāprot aprēķināt daļas
@@ -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 no}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: no
1
2
  Egenskap: Summering
2
3
  For å slippe å gjøre dumme feil
3
4
  Som en regnskapsfø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 pl}
5
+ t.cucumber_opts = %w{--format pretty}
6
6
  end
@@ -1,3 +1,4 @@
1
+ # language: pl
1
2
  Właściwość: Dodawanie
2
3
  W celu uniknięcia głupich błędów
3
4
  Jako matematyczny idiota