casecumber 1.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (563) hide show
  1. data/.gitattributes +1 -0
  2. data/.gitignore +26 -0
  3. data/.gitmodules +3 -0
  4. data/.rspec +1 -0
  5. data/.travis.yml +7 -0
  6. data/.yardopts +0 -0
  7. data/Gemfile +2 -0
  8. data/Gemfile.lock +115 -0
  9. data/History.md +1702 -0
  10. data/LICENSE +22 -0
  11. data/README.md +25 -0
  12. data/Rakefile +12 -0
  13. data/bin/cucumber +22 -0
  14. data/cucumber.gemspec +60 -0
  15. data/cucumber.yml +20 -0
  16. data/examples/i18n/README.textile +18 -0
  17. data/examples/i18n/Rakefile +33 -0
  18. data/examples/i18n/ar/Rakefile +6 -0
  19. data/examples/i18n/ar/features/addition.feature +17 -0
  20. data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +24 -0
  21. data/examples/i18n/ar/lib/calculator.rb +11 -0
  22. data/examples/i18n/bg/Rakefile +6 -0
  23. data/examples/i18n/bg/features/addition.feature +12 -0
  24. data/examples/i18n/bg/features/consecutive_calculations.feature +19 -0
  25. data/examples/i18n/bg/features/division.feature +17 -0
  26. data/examples/i18n/bg/features/step_definitons/calculator_steps.rb +24 -0
  27. data/examples/i18n/bg/features/support/env.rb +5 -0
  28. data/examples/i18n/bg/features/support/world.rb +8 -0
  29. data/examples/i18n/bg/lib/calculator.rb +24 -0
  30. data/examples/i18n/ca/Rakefile +6 -0
  31. data/examples/i18n/ca/features/step_definitons/calculator_steps.rb +21 -0
  32. data/examples/i18n/ca/features/suma.feature +17 -0
  33. data/examples/i18n/ca/lib/calculadora.rb +16 -0
  34. data/examples/i18n/da/Rakefile +6 -0
  35. data/examples/i18n/da/features/sammenlaegning.feature +18 -0
  36. data/examples/i18n/da/features/step_definitons/lommeregner_steps.rb +24 -0
  37. data/examples/i18n/da/lib/lommeregner.rb +11 -0
  38. data/examples/i18n/de/.gitignore +1 -0
  39. data/examples/i18n/de/Rakefile +6 -0
  40. data/examples/i18n/de/features/addition.feature +17 -0
  41. data/examples/i18n/de/features/division.feature +10 -0
  42. data/examples/i18n/de/features/step_definitons/calculator_steps.rb +24 -0
  43. data/examples/i18n/de/lib/calculator.rb +14 -0
  44. data/examples/i18n/en-lol/Rakefile +4 -0
  45. data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +16 -0
  46. data/examples/i18n/en-lol/features/stuffing.feature +8 -0
  47. data/examples/i18n/en-lol/features/support/env.rb +7 -0
  48. data/examples/i18n/en-lol/lib/basket.rb +12 -0
  49. data/examples/i18n/en-lol/lib/belly.rb +11 -0
  50. data/examples/i18n/en/.gitignore +1 -0
  51. data/examples/i18n/en/Rakefile +6 -0
  52. data/examples/i18n/en/features/addition.feature +17 -0
  53. data/examples/i18n/en/features/division.feature +10 -0
  54. data/examples/i18n/en/features/step_definitons/calculator_steps.rb +24 -0
  55. data/examples/i18n/en/lib/calculator.rb +14 -0
  56. data/examples/i18n/eo/.gitignore +1 -0
  57. data/examples/i18n/eo/Rakefile +6 -0
  58. data/examples/i18n/eo/features/adicio.feature +17 -0
  59. data/examples/i18n/eo/features/divido.feature +10 -0
  60. data/examples/i18n/eo/features/step_definitons/calculator_steps.rb +24 -0
  61. data/examples/i18n/eo/lib/calculator.rb +14 -0
  62. data/examples/i18n/es/Rakefile +6 -0
  63. data/examples/i18n/es/features/adicion.feature +17 -0
  64. data/examples/i18n/es/features/step_definitons/calculador_steps.rb +21 -0
  65. data/examples/i18n/es/lib/calculador.rb +14 -0
  66. data/examples/i18n/et/Rakefile +6 -0
  67. data/examples/i18n/et/features/jagamine.feature +10 -0
  68. data/examples/i18n/et/features/liitmine.feature +17 -0
  69. data/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +24 -0
  70. data/examples/i18n/et/lib/kalkulaator.rb +14 -0
  71. data/examples/i18n/fi/.gitignore +1 -0
  72. data/examples/i18n/fi/Rakefile +6 -0
  73. data/examples/i18n/fi/features/jakolasku.feature +10 -0
  74. data/examples/i18n/fi/features/step_definitons/laskin_steps.rb +24 -0
  75. data/examples/i18n/fi/features/yhteenlasku.feature +17 -0
  76. data/examples/i18n/fi/lib/laskin.rb +14 -0
  77. data/examples/i18n/fr/Rakefile +6 -0
  78. data/examples/i18n/fr/features/addition.feature +18 -0
  79. data/examples/i18n/fr/features/addition2.feature +17 -0
  80. data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +32 -0
  81. data/examples/i18n/fr/features/support/env.rb +5 -0
  82. data/examples/i18n/fr/lib/calculatrice.rb +10 -0
  83. data/examples/i18n/he/Rakefile +6 -0
  84. data/examples/i18n/he/features/addition.feature +17 -0
  85. data/examples/i18n/he/features/division.feature +10 -0
  86. data/examples/i18n/he/features/step_definitons/calculator_steps.rb +24 -0
  87. data/examples/i18n/he/lib/calculator.rb +15 -0
  88. data/examples/i18n/hu/.gitignore +1 -0
  89. data/examples/i18n/hu/Rakefile +6 -0
  90. data/examples/i18n/hu/features/osszeadas.feature +17 -0
  91. data/examples/i18n/hu/features/osztas.feature +10 -0
  92. data/examples/i18n/hu/features/step_definitons/calculator_steps.rb +25 -0
  93. data/examples/i18n/hu/lib/calculator.rb +14 -0
  94. data/examples/i18n/id/.gitignore +1 -0
  95. data/examples/i18n/id/Rakefile +6 -0
  96. data/examples/i18n/id/features/addition.feature +17 -0
  97. data/examples/i18n/id/features/division.feature +10 -0
  98. data/examples/i18n/id/features/step_definitons/calculator_steps.rb +24 -0
  99. data/examples/i18n/id/lib/calculator.rb +14 -0
  100. data/examples/i18n/it/Rakefile +6 -0
  101. data/examples/i18n/it/features/somma.feature +11 -0
  102. data/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +24 -0
  103. data/examples/i18n/it/lib/calcolatrice.rb +11 -0
  104. data/examples/i18n/ja/.gitignore +1 -0
  105. data/examples/i18n/ja/Rakefile +6 -0
  106. data/examples/i18n/ja/features/addition.feature +17 -0
  107. data/examples/i18n/ja/features/division.feature +10 -0
  108. data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +19 -0
  109. data/examples/i18n/ja/features/support/env.rb +5 -0
  110. data/examples/i18n/ja/lib/calculator.rb +14 -0
  111. data/examples/i18n/ko/.gitignore +1 -0
  112. data/examples/i18n/ko/Rakefile +6 -0
  113. data/examples/i18n/ko/features/addition.feature +17 -0
  114. data/examples/i18n/ko/features/division.feature +11 -0
  115. data/examples/i18n/ko/features/step_definitons/calculator_steps.rb +24 -0
  116. data/examples/i18n/ko/lib/calculator.rb +14 -0
  117. data/examples/i18n/lt/.gitignore +1 -0
  118. data/examples/i18n/lt/Rakefile +6 -0
  119. data/examples/i18n/lt/features/addition.feature +17 -0
  120. data/examples/i18n/lt/features/division.feature +10 -0
  121. data/examples/i18n/lt/features/step_definitons/calculator_steps.rb +24 -0
  122. data/examples/i18n/lt/lib/calculator.rb +14 -0
  123. data/examples/i18n/lv/Rakefile +6 -0
  124. data/examples/i18n/lv/features/addition.feature +17 -0
  125. data/examples/i18n/lv/features/division.feature +10 -0
  126. data/examples/i18n/lv/features/step_definitons/calculator_steps.rb +24 -0
  127. data/examples/i18n/lv/lib/calculator.rb +14 -0
  128. data/examples/i18n/no/Rakefile +6 -0
  129. data/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +17 -0
  130. data/examples/i18n/no/features/summering.feature +19 -0
  131. data/examples/i18n/no/features/support/env.rb +6 -0
  132. data/examples/i18n/no/lib/kalkulator.rb +11 -0
  133. data/examples/i18n/pl/.gitignore +1 -0
  134. data/examples/i18n/pl/Rakefile +6 -0
  135. data/examples/i18n/pl/features/addition.feature +17 -0
  136. data/examples/i18n/pl/features/division.feature +10 -0
  137. data/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
  138. data/examples/i18n/pl/features/support/env.rb +5 -0
  139. data/examples/i18n/pl/lib/calculator.rb +14 -0
  140. data/examples/i18n/pt/Rakefile +6 -0
  141. data/examples/i18n/pt/features/adicao.feature +11 -0
  142. data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +20 -0
  143. data/examples/i18n/pt/features/support/env.rb +5 -0
  144. data/examples/i18n/pt/lib/calculadora.rb +10 -0
  145. data/examples/i18n/ro/Rakefile +6 -0
  146. data/examples/i18n/ro/features/adunare.feature +12 -0
  147. data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +21 -0
  148. data/examples/i18n/ro/lib/calculator.rb +11 -0
  149. data/examples/i18n/ru/Rakefile +6 -0
  150. data/examples/i18n/ru/features/addition.feature +11 -0
  151. data/examples/i18n/ru/features/consecutive_calculations.feature +17 -0
  152. data/examples/i18n/ru/features/division.feature +16 -0
  153. data/examples/i18n/ru/features/step_definitons/calculator_steps.rb +19 -0
  154. data/examples/i18n/ru/features/support/env.rb +5 -0
  155. data/examples/i18n/ru/features/support/world.rb +8 -0
  156. data/examples/i18n/ru/lib/calculator.rb +24 -0
  157. data/examples/i18n/sk/.gitignore +1 -0
  158. data/examples/i18n/sk/Rakefile +6 -0
  159. data/examples/i18n/sk/features/addition.feature +17 -0
  160. data/examples/i18n/sk/features/division.feature +10 -0
  161. data/examples/i18n/sk/features/step_definitons/calculator_steps.rb +24 -0
  162. data/examples/i18n/sk/lib/calculator.rb +14 -0
  163. data/examples/i18n/sr-Cyrl/Rakefile +6 -0
  164. data/examples/i18n/sr-Cyrl/features/sabiranje.feature +18 -0
  165. data/examples/i18n/sr-Cyrl/features/step_definitons/calculator_steps.rb +20 -0
  166. data/examples/i18n/sr-Cyrl/features/support/env.rb +5 -0
  167. data/examples/i18n/sr-Cyrl/lib/calculator.rb +12 -0
  168. data/examples/i18n/sr-Latn/Rakefile +6 -0
  169. data/examples/i18n/sr-Latn/features/sabiranje.feature +18 -0
  170. data/examples/i18n/sr-Latn/features/step_definitons/calculator_steps.rb +24 -0
  171. data/examples/i18n/sr-Latn/lib/calculator.rb +12 -0
  172. data/examples/i18n/sv/Rakefile +6 -0
  173. data/examples/i18n/sv/features/step_definitons/kalkulator_steps.rb +24 -0
  174. data/examples/i18n/sv/features/summering.feature +18 -0
  175. data/examples/i18n/sv/lib/kalkulator.rb +11 -0
  176. data/examples/i18n/tr/.gitignore +1 -0
  177. data/examples/i18n/tr/Rakefile +6 -0
  178. data/examples/i18n/tr/features/bolme.feature +10 -0
  179. data/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +24 -0
  180. data/examples/i18n/tr/features/toplama.feature +18 -0
  181. data/examples/i18n/tr/lib/hesap_makinesi.rb +15 -0
  182. data/examples/i18n/uk/Rakefile +6 -0
  183. data/examples/i18n/uk/features/addition.feature +11 -0
  184. data/examples/i18n/uk/features/consecutive_calculations.feature +17 -0
  185. data/examples/i18n/uk/features/division.feature +16 -0
  186. data/examples/i18n/uk/features/step_definitons/calculator_steps.rb +19 -0
  187. data/examples/i18n/uk/features/support/env.rb +5 -0
  188. data/examples/i18n/uk/features/support/world.rb +8 -0
  189. data/examples/i18n/uk/lib/calculator.rb +24 -0
  190. data/examples/i18n/uz/Rakefile +6 -0
  191. data/examples/i18n/uz/features/addition.feature +10 -0
  192. data/examples/i18n/uz/features/consecutive_calculations.feature +17 -0
  193. data/examples/i18n/uz/features/division.feature +17 -0
  194. data/examples/i18n/uz/features/step_definitons/calculator_steps.rb +19 -0
  195. data/examples/i18n/uz/features/support/env.rb +5 -0
  196. data/examples/i18n/uz/features/support/world.rb +8 -0
  197. data/examples/i18n/uz/lib/calculator.rb +24 -0
  198. data/examples/i18n/zh-CN/Rakefile +4 -0
  199. data/examples/i18n/zh-CN/features/addition.feature +18 -0
  200. data/examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb +26 -0
  201. data/examples/i18n/zh-CN/lib/calculator.rb +10 -0
  202. data/examples/i18n/zh-TW/.gitignore +1 -0
  203. data/examples/i18n/zh-TW/Rakefile +4 -0
  204. data/examples/i18n/zh-TW/features/addition.feature +17 -0
  205. data/examples/i18n/zh-TW/features/division.feature +11 -0
  206. data/examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb +24 -0
  207. data/examples/i18n/zh-TW/lib/calculator.rb +14 -0
  208. data/examples/python/README.textile +7 -0
  209. data/examples/python/Rakefile +4 -0
  210. data/examples/python/features/fibonacci.feature +19 -0
  211. data/examples/python/features/step_definitions/fib_steps.py +11 -0
  212. data/examples/python/lib/.gitignore +1 -0
  213. data/examples/python/lib/fib.py +7 -0
  214. data/examples/ramaze/README.textile +7 -0
  215. data/examples/ramaze/Rakefile +6 -0
  216. data/examples/ramaze/app.rb +21 -0
  217. data/examples/ramaze/features/add.feature +11 -0
  218. data/examples/ramaze/features/step_definitions/add_steps.rb +15 -0
  219. data/examples/ramaze/features/support/env.rb +32 -0
  220. data/examples/ramaze/layout/default.html.erb +8 -0
  221. data/examples/ramaze/view/index.html.erb +5 -0
  222. data/examples/rspec_doubles/Rakefile +4 -0
  223. data/examples/rspec_doubles/features/mocking.feature +9 -0
  224. data/examples/rspec_doubles/features/step_definitions/calvin_steps.rb +19 -0
  225. data/examples/rspec_doubles/features/support/env.rb +12 -0
  226. data/examples/ruby2python/README.textile +7 -0
  227. data/examples/ruby2python/Rakefile +4 -0
  228. data/examples/ruby2python/features/fibonacci.feature +19 -0
  229. data/examples/ruby2python/features/step_definitions/fib_steps.rb +7 -0
  230. data/examples/ruby2python/features/support/env.rb +21 -0
  231. data/examples/ruby2python/lib/.gitignore +1 -0
  232. data/examples/ruby2python/lib/fib.py +7 -0
  233. data/examples/sinatra/README.textile +13 -0
  234. data/examples/sinatra/Rakefile +6 -0
  235. data/examples/sinatra/app.rb +14 -0
  236. data/examples/sinatra/features/add.feature +11 -0
  237. data/examples/sinatra/features/step_definitions/add_steps.rb +15 -0
  238. data/examples/sinatra/features/support/env.rb +10 -0
  239. data/examples/sinatra/views/add.erb +7 -0
  240. data/examples/sinatra/views/layout.erb +8 -0
  241. data/examples/tcl/README.textile +11 -0
  242. data/examples/tcl/Rakefile +6 -0
  243. data/examples/tcl/features/fibonnacci.feature +17 -0
  244. data/examples/tcl/features/step_definitions/fib_steps.rb +7 -0
  245. data/examples/tcl/features/support/env.rb +6 -0
  246. data/examples/tcl/src/fib.tcl +3 -0
  247. data/examples/test_unit/Rakefile +6 -0
  248. data/examples/test_unit/features/step_definitions/test_unit_steps.rb +23 -0
  249. data/examples/test_unit/features/test_unit.feature +9 -0
  250. data/examples/v8/Rakefile +6 -0
  251. data/examples/v8/features/fibonacci.feature +43 -0
  252. data/examples/v8/features/step_definitions/fib_steps.js +49 -0
  253. data/examples/v8/features/support/env.js +14 -0
  254. data/examples/v8/lib/fibonacci.js +19 -0
  255. data/examples/watir/.gitignore +2 -0
  256. data/examples/watir/README.textile +16 -0
  257. data/examples/watir/Rakefile +12 -0
  258. data/examples/watir/cucumber.yml +1 -0
  259. data/examples/watir/features/search.feature +12 -0
  260. data/examples/watir/features/step_definitions/search_steps.rb +26 -0
  261. data/examples/watir/features/support/env.rb +32 -0
  262. data/examples/watir/features/support/screenshots.rb +47 -0
  263. data/features/background.feature +498 -0
  264. data/features/bootstrap.feature +13 -0
  265. data/features/custom_formatter.feature +41 -0
  266. data/features/execute_with_tag_filter.feature +63 -0
  267. data/features/hooks.feature +59 -0
  268. data/features/iso-8859-1.feature +6 -0
  269. data/features/json_formatter.feature +248 -0
  270. data/features/stats_formatters.feature +70 -0
  271. data/features/step_definitions/cucumber-features/cucumber_ruby_mappings.rb +168 -0
  272. data/features/step_definitions/cucumber_steps.rb +23 -0
  273. data/features/step_definitions/iso-8859-1_steps.rb +24 -0
  274. data/features/support/env.rb +26 -0
  275. data/features/tagged_hooks.feature +217 -0
  276. data/features/transforms.feature +63 -0
  277. data/fixtures/json/features/background.feature +7 -0
  278. data/fixtures/json/features/embed.feature +4 -0
  279. data/fixtures/json/features/one_passing_one_failing.feature +11 -0
  280. data/fixtures/json/features/step_definitions/steps.rb +32 -0
  281. data/fixtures/json/features/tables.feature +13 -0
  282. data/fixtures/junit/features/one_passing_one_failing.feature +8 -0
  283. data/fixtures/junit/features/pending.feature +7 -0
  284. data/fixtures/junit/features/scenario_outline.feature +9 -0
  285. data/fixtures/junit/features/some_subdirectory/one_passing_one_failing.feature +8 -0
  286. data/fixtures/junit/features/step_definitions/steps.rb +11 -0
  287. data/fixtures/self_test/.gitignore +1 -0
  288. data/fixtures/self_test/README.textile +6 -0
  289. data/fixtures/self_test/Rakefile +6 -0
  290. data/fixtures/self_test/features/call_undefined_step_from_step_def.feature +7 -0
  291. data/fixtures/self_test/features/failing_expectation.feature +4 -0
  292. data/fixtures/self_test/features/lots_of_undefined.feature +8 -0
  293. data/fixtures/self_test/features/multiline_name.feature +27 -0
  294. data/fixtures/self_test/features/outline_sample.feature +15 -0
  295. data/fixtures/self_test/features/sample.feature +21 -0
  296. data/fixtures/self_test/features/search_sample.feature +32 -0
  297. data/fixtures/self_test/features/step_definitions/sample_steps.rb +84 -0
  298. data/fixtures/self_test/features/support/bubble_256x256.png +0 -0
  299. data/fixtures/self_test/features/support/env.rb +26 -0
  300. data/fixtures/self_test/features/tags_sample.feature +17 -0
  301. data/fixtures/self_test/features/tons_of_cukes.feature +52 -0
  302. data/fixtures/self_test/features/undefined_multiline_args.feature +12 -0
  303. data/fixtures/self_test/list-of-features.txt +1 -0
  304. data/fixtures/steps_library/features/step_definitions/steps_lib1.rb +8 -0
  305. data/fixtures/steps_library/features/step_definitions/steps_lib2.rb +8 -0
  306. data/fixtures/tickets/Rakefile +20 -0
  307. data/fixtures/tickets/features.html +138 -0
  308. data/fixtures/tickets/features/172.feature +28 -0
  309. data/fixtures/tickets/features/177/1.feature +28 -0
  310. data/fixtures/tickets/features/177/2.feature +20 -0
  311. data/fixtures/tickets/features/177/3.feature +18 -0
  312. data/fixtures/tickets/features/180.feature +7 -0
  313. data/fixtures/tickets/features/229/tagged_hooks.feature +8 -0
  314. data/fixtures/tickets/features/229/tagged_hooks.rb +14 -0
  315. data/fixtures/tickets/features/236.feature +13 -0
  316. data/fixtures/tickets/features/241.feature +12 -0
  317. data/fixtures/tickets/features/246.feature +4 -0
  318. data/fixtures/tickets/features/248.feature +11 -0
  319. data/fixtures/tickets/features/270/back.feature +14 -0
  320. data/fixtures/tickets/features/270/back.steps.rb +14 -0
  321. data/fixtures/tickets/features/272/hooks.feature +26 -0
  322. data/fixtures/tickets/features/272/hooks_steps.rb +53 -0
  323. data/fixtures/tickets/features/279/py_string_indent.feature +25 -0
  324. data/fixtures/tickets/features/279/py_string_indent.steps.rb +12 -0
  325. data/fixtures/tickets/features/279/wrong.feature_ +11 -0
  326. data/fixtures/tickets/features/301/filter_background_tagged_hooks.feature +6 -0
  327. data/fixtures/tickets/features/301/filter_background_tagged_hooks_steps.rb +12 -0
  328. data/fixtures/tickets/features/306/only_background.feature +4 -0
  329. data/fixtures/tickets/features/around_timeout.feature +6 -0
  330. data/fixtures/tickets/features/gherkin_67.feature +12 -0
  331. data/fixtures/tickets/features/gherkin_68.feature +4 -0
  332. data/fixtures/tickets/features/half_manual.feature +11 -0
  333. data/fixtures/tickets/features/lib/eatting_machine.rb +18 -0
  334. data/fixtures/tickets/features/lib/pantry.rb +20 -0
  335. data/fixtures/tickets/features/scenario_outline.feature +95 -0
  336. data/fixtures/tickets/features/step_definitons/246_steps.rb +3 -0
  337. data/fixtures/tickets/features/step_definitons/248_steps.rb +15 -0
  338. data/fixtures/tickets/features/step_definitons/around_timeout_steps.rb +9 -0
  339. data/fixtures/tickets/features/step_definitons/half_manual_steps.rb +11 -0
  340. data/fixtures/tickets/features/step_definitons/scenario_outline_steps.rb +42 -0
  341. data/fixtures/tickets/features/step_definitons/tickets_steps.rb +88 -0
  342. data/fixtures/tickets/features/table_diffing.feature +13 -0
  343. data/fixtures/tickets/features/tickets.feature +28 -0
  344. data/gem_tasks/contributors.rake +15 -0
  345. data/gem_tasks/cucumber.rake +21 -0
  346. data/gem_tasks/downloads.rb +7 -0
  347. data/gem_tasks/environment.rake +7 -0
  348. data/gem_tasks/examples.rake +11 -0
  349. data/gem_tasks/fix_cr_lf.rake +10 -0
  350. data/gem_tasks/flog.rake +4 -0
  351. data/gem_tasks/rspec.rake +8 -0
  352. data/gem_tasks/sass.rake +4 -0
  353. data/gem_tasks/stats +14 -0
  354. data/gem_tasks/versions.txt +74 -0
  355. data/gem_tasks/yard.rake +0 -0
  356. data/gem_tasks/yard/default/layout/html/bubble_32x32.png +0 -0
  357. data/gem_tasks/yard/default/layout/html/footer.erb +5 -0
  358. data/gem_tasks/yard/default/layout/html/index.erb +1 -0
  359. data/gem_tasks/yard/default/layout/html/layout.erb +25 -0
  360. data/gem_tasks/yard/default/layout/html/logo.erb +1 -0
  361. data/gem_tasks/yard/default/layout/html/setup.rb +4 -0
  362. data/legacy_features/announce.feature +152 -0
  363. data/legacy_features/api/list_step_defs_as_json.feature +50 -0
  364. data/legacy_features/api/run_cli_main_with_existing_runtime.feature +34 -0
  365. data/legacy_features/around_hooks.feature +232 -0
  366. data/legacy_features/bug_371.feature +32 -0
  367. data/legacy_features/bug_464.feature +16 -0
  368. data/legacy_features/bug_475.feature +42 -0
  369. data/legacy_features/bug_585_tab_indentation.feature +22 -0
  370. data/legacy_features/bug_600.feature +73 -0
  371. data/legacy_features/call_steps_from_stepdefs.feature +154 -0
  372. data/legacy_features/cucumber_cli.feature +591 -0
  373. data/legacy_features/cucumber_cli_outlines.feature +117 -0
  374. data/legacy_features/default_snippets.feature +42 -0
  375. data/legacy_features/diffing.feature +25 -0
  376. data/legacy_features/drb_server_integration.feature +174 -0
  377. data/legacy_features/exception_in_after_block.feature +127 -0
  378. data/legacy_features/exception_in_after_step_block.feature +104 -0
  379. data/legacy_features/exception_in_before_block.feature +98 -0
  380. data/legacy_features/exclude_files.feature +20 -0
  381. data/legacy_features/expand.feature +60 -0
  382. data/legacy_features/html_formatter.feature +8 -0
  383. data/legacy_features/html_formatter/a.html +561 -0
  384. data/legacy_features/junit_formatter.feature +164 -0
  385. data/legacy_features/language_from_header.feature +30 -0
  386. data/legacy_features/language_help.feature +77 -0
  387. data/legacy_features/listener_debugger_formatter.feature +42 -0
  388. data/legacy_features/multiline_names.feature +44 -0
  389. data/legacy_features/post_configuration_hook.feature +50 -0
  390. data/legacy_features/profiles.feature +126 -0
  391. data/legacy_features/rake_task.feature +152 -0
  392. data/legacy_features/report_called_undefined_steps.feature +34 -0
  393. data/legacy_features/rerun_formatter.feature +52 -0
  394. data/legacy_features/simplest.feature +11 -0
  395. data/legacy_features/snippet.feature +23 -0
  396. data/legacy_features/snippets_when_using_star_keyword.feature +36 -0
  397. data/legacy_features/step_definitions/cucumber_steps.rb +172 -0
  398. data/legacy_features/step_definitions/extra_steps.rb +2 -0
  399. data/legacy_features/step_definitions/simplest_steps.rb +3 -0
  400. data/legacy_features/step_definitions/wire_steps.rb +34 -0
  401. data/legacy_features/support/env.rb +157 -0
  402. data/legacy_features/support/env.rb.simplest +7 -0
  403. data/legacy_features/support/fake_wire_server.rb +77 -0
  404. data/legacy_features/table_diffing.feature +45 -0
  405. data/legacy_features/table_mapping.feature +34 -0
  406. data/legacy_features/transform.feature +245 -0
  407. data/legacy_features/unicode_table.feature +35 -0
  408. data/legacy_features/wire_protocol.feature +332 -0
  409. data/legacy_features/wire_protocol_erb.feature +57 -0
  410. data/legacy_features/wire_protocol_table_diffing.feature +119 -0
  411. data/legacy_features/wire_protocol_tags.feature +87 -0
  412. data/legacy_features/wire_protocol_timeouts.feature +63 -0
  413. data/legacy_features/work_in_progress.feature +156 -0
  414. data/lib/README.rdoc +12 -0
  415. data/lib/autotest/cucumber.rb +6 -0
  416. data/lib/autotest/cucumber_mixin.rb +135 -0
  417. data/lib/autotest/cucumber_rails.rb +6 -0
  418. data/lib/autotest/cucumber_rails_rspec.rb +6 -0
  419. data/lib/autotest/cucumber_rails_rspec2.rb +6 -0
  420. data/lib/autotest/cucumber_rspec.rb +6 -0
  421. data/lib/autotest/cucumber_rspec2.rb +6 -0
  422. data/lib/autotest/discover.rb +9 -0
  423. data/lib/cucumber.rb +27 -0
  424. data/lib/cucumber/ast.rb +30 -0
  425. data/lib/cucumber/ast/background.rb +101 -0
  426. data/lib/cucumber/ast/comment.rb +31 -0
  427. data/lib/cucumber/ast/doc_string.rb +80 -0
  428. data/lib/cucumber/ast/examples.rb +46 -0
  429. data/lib/cucumber/ast/feature.rb +106 -0
  430. data/lib/cucumber/ast/feature_element.rb +78 -0
  431. data/lib/cucumber/ast/features.rb +35 -0
  432. data/lib/cucumber/ast/names.rb +13 -0
  433. data/lib/cucumber/ast/outline_table.rb +187 -0
  434. data/lib/cucumber/ast/scenario.rb +119 -0
  435. data/lib/cucumber/ast/scenario_outline.rb +125 -0
  436. data/lib/cucumber/ast/step.rb +126 -0
  437. data/lib/cucumber/ast/step_collection.rb +76 -0
  438. data/lib/cucumber/ast/step_invocation.rb +206 -0
  439. data/lib/cucumber/ast/table.rb +689 -0
  440. data/lib/cucumber/ast/tags.rb +28 -0
  441. data/lib/cucumber/ast/tree_walker.rb +183 -0
  442. data/lib/cucumber/ast/visitor.rb +11 -0
  443. data/lib/cucumber/broadcaster.rb +13 -0
  444. data/lib/cucumber/cli/configuration.rb +209 -0
  445. data/lib/cucumber/cli/drb_client.rb +43 -0
  446. data/lib/cucumber/cli/main.rb +78 -0
  447. data/lib/cucumber/cli/options.rb +410 -0
  448. data/lib/cucumber/cli/profile_loader.rb +91 -0
  449. data/lib/cucumber/configuration.rb +49 -0
  450. data/lib/cucumber/constantize.rb +34 -0
  451. data/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb +25 -0
  452. data/lib/cucumber/core_ext/instance_exec.rb +98 -0
  453. data/lib/cucumber/core_ext/proc.rb +34 -0
  454. data/lib/cucumber/core_ext/string.rb +9 -0
  455. data/lib/cucumber/errors.rb +40 -0
  456. data/lib/cucumber/feature_file.rb +101 -0
  457. data/lib/cucumber/formatter/ansicolor.rb +160 -0
  458. data/lib/cucumber/formatter/console.rb +187 -0
  459. data/lib/cucumber/formatter/cucumber.css +279 -0
  460. data/lib/cucumber/formatter/cucumber.sass +247 -0
  461. data/lib/cucumber/formatter/debug.rb +33 -0
  462. data/lib/cucumber/formatter/duration.rb +13 -0
  463. data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +83 -0
  464. data/lib/cucumber/formatter/gpretty.rb +24 -0
  465. data/lib/cucumber/formatter/html.rb +649 -0
  466. data/lib/cucumber/formatter/io.rb +31 -0
  467. data/lib/cucumber/formatter/jquery-min.js +154 -0
  468. data/lib/cucumber/formatter/json.rb +31 -0
  469. data/lib/cucumber/formatter/json_pretty.rb +13 -0
  470. data/lib/cucumber/formatter/junit.rb +155 -0
  471. data/lib/cucumber/formatter/ordered_xml_markup.rb +24 -0
  472. data/lib/cucumber/formatter/pdf.rb +244 -0
  473. data/lib/cucumber/formatter/pretty.rb +237 -0
  474. data/lib/cucumber/formatter/progress.rb +92 -0
  475. data/lib/cucumber/formatter/rerun.rb +68 -0
  476. data/lib/cucumber/formatter/stepdefs.rb +14 -0
  477. data/lib/cucumber/formatter/steps.rb +49 -0
  478. data/lib/cucumber/formatter/summary.rb +35 -0
  479. data/lib/cucumber/formatter/unicode.rb +79 -0
  480. data/lib/cucumber/formatter/usage.rb +127 -0
  481. data/lib/cucumber/js_support/js_dsl.js +57 -0
  482. data/lib/cucumber/js_support/js_language.rb +185 -0
  483. data/lib/cucumber/js_support/js_snippets.rb +27 -0
  484. data/lib/cucumber/language_support.rb +30 -0
  485. data/lib/cucumber/language_support/language_methods.rb +129 -0
  486. data/lib/cucumber/parser.rb +2 -0
  487. data/lib/cucumber/parser/gherkin_builder.rb +129 -0
  488. data/lib/cucumber/platform.rb +29 -0
  489. data/lib/cucumber/py_support/py_dsl.py +10 -0
  490. data/lib/cucumber/py_support/py_language.py +10 -0
  491. data/lib/cucumber/py_support/py_language.rb +84 -0
  492. data/lib/cucumber/rake/task.rb +225 -0
  493. data/lib/cucumber/rb_support/rb_dsl.rb +112 -0
  494. data/lib/cucumber/rb_support/rb_hook.rb +18 -0
  495. data/lib/cucumber/rb_support/rb_language.rb +195 -0
  496. data/lib/cucumber/rb_support/rb_step_definition.rb +82 -0
  497. data/lib/cucumber/rb_support/rb_transform.rb +54 -0
  498. data/lib/cucumber/rb_support/rb_world.rb +103 -0
  499. data/lib/cucumber/rb_support/regexp_argument_matcher.rb +21 -0
  500. data/lib/cucumber/rspec/disable_option_parser.rb +23 -0
  501. data/lib/cucumber/rspec/doubles.rb +16 -0
  502. data/lib/cucumber/runtime.rb +145 -0
  503. data/lib/cucumber/runtime/features_loader.rb +62 -0
  504. data/lib/cucumber/runtime/for_programming_languages.rb +67 -0
  505. data/lib/cucumber/runtime/results.rb +64 -0
  506. data/lib/cucumber/runtime/support_code.rb +203 -0
  507. data/lib/cucumber/runtime/user_interface.rb +81 -0
  508. data/lib/cucumber/step_argument.rb +9 -0
  509. data/lib/cucumber/step_definition_light.rb +20 -0
  510. data/lib/cucumber/step_definitions.rb +14 -0
  511. data/lib/cucumber/step_match.rb +115 -0
  512. data/lib/cucumber/step_mother.rb +10 -0
  513. data/lib/cucumber/wire_support/configuration.rb +31 -0
  514. data/lib/cucumber/wire_support/connection.rb +55 -0
  515. data/lib/cucumber/wire_support/request_handler.rb +32 -0
  516. data/lib/cucumber/wire_support/wire_exception.rb +32 -0
  517. data/lib/cucumber/wire_support/wire_language.rb +54 -0
  518. data/lib/cucumber/wire_support/wire_packet.rb +32 -0
  519. data/lib/cucumber/wire_support/wire_protocol.rb +44 -0
  520. data/lib/cucumber/wire_support/wire_protocol/requests.rb +123 -0
  521. data/lib/cucumber/wire_support/wire_step_definition.rb +26 -0
  522. data/spec/cucumber/ast/background_spec.rb +115 -0
  523. data/spec/cucumber/ast/doc_string_spec.rb +40 -0
  524. data/spec/cucumber/ast/feature_factory.rb +61 -0
  525. data/spec/cucumber/ast/feature_spec.rb +63 -0
  526. data/spec/cucumber/ast/outline_table_spec.rb +21 -0
  527. data/spec/cucumber/ast/scenario_outline_spec.rb +69 -0
  528. data/spec/cucumber/ast/step_spec.rb +66 -0
  529. data/spec/cucumber/ast/table_spec.rb +484 -0
  530. data/spec/cucumber/ast/tree_walker_spec.rb +11 -0
  531. data/spec/cucumber/broadcaster_spec.rb +15 -0
  532. data/spec/cucumber/cli/configuration_spec.rb +431 -0
  533. data/spec/cucumber/cli/drb_client_spec.rb +76 -0
  534. data/spec/cucumber/cli/main_spec.rb +137 -0
  535. data/spec/cucumber/cli/options_spec.rb +358 -0
  536. data/spec/cucumber/cli/profile_loader_spec.rb +35 -0
  537. data/spec/cucumber/configuration_spec.rb +23 -0
  538. data/spec/cucumber/core_ext/proc_spec.rb +68 -0
  539. data/spec/cucumber/formatter/ansicolor_spec.rb +31 -0
  540. data/spec/cucumber/formatter/duration_spec.rb +22 -0
  541. data/spec/cucumber/formatter/html_spec.rb +256 -0
  542. data/spec/cucumber/formatter/junit_spec.rb +125 -0
  543. data/spec/cucumber/formatter/progress_spec.rb +38 -0
  544. data/spec/cucumber/formatter/spec_helper.rb +52 -0
  545. data/spec/cucumber/rake/forked_spec.rb +62 -0
  546. data/spec/cucumber/rake/rcov_spec.rb +71 -0
  547. data/spec/cucumber/rb_support/rb_language_spec.rb +282 -0
  548. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +98 -0
  549. data/spec/cucumber/rb_support/rb_transform_spec.rb +21 -0
  550. data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +18 -0
  551. data/spec/cucumber/runtime/support_code_spec.rb +112 -0
  552. data/spec/cucumber/runtime_spec.rb +41 -0
  553. data/spec/cucumber/sell_cucumbers.feature +19 -0
  554. data/spec/cucumber/step_match_spec.rb +69 -0
  555. data/spec/cucumber/wire_support/configuration_spec.rb +51 -0
  556. data/spec/cucumber/wire_support/connection_spec.rb +46 -0
  557. data/spec/cucumber/wire_support/wire_exception_spec.rb +44 -0
  558. data/spec/cucumber/wire_support/wire_language_spec.rb +47 -0
  559. data/spec/cucumber/wire_support/wire_packet_spec.rb +40 -0
  560. data/spec/cucumber/wire_support/wire_step_definition_spec.rb +20 -0
  561. data/spec/cucumber/world/pending_spec.rb +46 -0
  562. data/spec/spec_helper.rb +22 -0
  563. metadata +1044 -0
data/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ spec/cucumber/treetop_parser/test_dos.feature -crlf
data/.gitignore ADDED
@@ -0,0 +1,26 @@
1
+ .bundle
2
+ nbproject
3
+ coverage
4
+ pkg
5
+ doc
6
+ tmp
7
+ .yardoc
8
+ *.log
9
+ *.pid
10
+ .eprj
11
+ .tmtags
12
+ *~
13
+ .DS_Store
14
+ *.swp
15
+ target
16
+ *.tmproj
17
+ .#*
18
+ .idea
19
+ *.pyc
20
+ *.rbc
21
+ rerun.txt
22
+ ._*
23
+ .rvmrc
24
+ .sass-cache
25
+ doc/
26
+ *.tgz
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "features/cucumber-features"]
2
+ path = features/cucumber-features
3
+ url = https://github.com/cucumber/cucumber-features
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color --backtrace
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ rvm:
2
+ - 1.9.2
3
+ - 1.8.7
4
+ - rbx
5
+ - ree
6
+ - jruby
7
+ - 1.8.6
data/.yardopts ADDED
File without changes
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "http://rubygems.org"
2
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,115 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ casecumber (1.0.2.1)
5
+ builder (>= 2.1.2)
6
+ diff-lcs (>= 1.1.2)
7
+ gherkin (~> 2.4.5)
8
+ json (>= 1.4.6)
9
+ term-ansicolor (>= 1.0.5)
10
+
11
+ GEM
12
+ remote: http://rubygems.org/
13
+ specs:
14
+ aruba (0.4.3)
15
+ bcat (>= 0.6.1)
16
+ childprocess (>= 0.1.9)
17
+ cucumber (>= 0.10.7)
18
+ rdiscount (>= 1.6.8)
19
+ rspec (>= 2.6.0)
20
+ bcat (0.6.1)
21
+ rack (~> 1.0)
22
+ builder (3.0.0)
23
+ capybara (1.0.0)
24
+ mime-types (>= 1.16)
25
+ nokogiri (>= 1.3.3)
26
+ rack (>= 1.0.0)
27
+ rack-test (>= 0.5.4)
28
+ selenium-webdriver (~> 0.2.0)
29
+ xpath (~> 0.1.4)
30
+ childprocess (0.1.9)
31
+ ffi (~> 1.0.6)
32
+ cucumber (1.0.2)
33
+ builder (>= 2.1.2)
34
+ diff-lcs (>= 1.1.2)
35
+ gherkin (~> 2.4.5)
36
+ json (>= 1.4.6)
37
+ term-ansicolor (>= 1.0.5)
38
+ diff-lcs (1.1.2)
39
+ ffi (1.0.9)
40
+ gherkin (2.4.21)
41
+ json (>= 1.4.6)
42
+ innate (2011.04)
43
+ rack (>= 1.1.0)
44
+ json (1.7.5)
45
+ json_pure (1.5.3)
46
+ mime-types (1.16)
47
+ nokogiri (1.5.0)
48
+ prawn (0.8.4)
49
+ prawn-core (>= 0.8.4, < 0.9)
50
+ prawn-layout (>= 0.8.4, < 0.9)
51
+ prawn-security (>= 0.8.4, < 0.9)
52
+ prawn-core (0.8.4)
53
+ prawn-layout (0.8.4)
54
+ prawn-security (0.8.4)
55
+ rack (1.3.0)
56
+ rack-test (0.6.0)
57
+ rack (>= 1.0)
58
+ rake (0.9.2)
59
+ ramaze (2011.01.30)
60
+ innate (>= 2010.03)
61
+ rdiscount (1.6.8)
62
+ rspec (2.6.0)
63
+ rspec-core (~> 2.6.0)
64
+ rspec-expectations (~> 2.6.0)
65
+ rspec-mocks (~> 2.6.0)
66
+ rspec-core (2.6.4)
67
+ rspec-expectations (2.6.0)
68
+ diff-lcs (~> 1.1.2)
69
+ rspec-mocks (2.6.0)
70
+ rubyzip (0.9.4)
71
+ selenium-webdriver (0.2.2)
72
+ childprocess (>= 0.1.9)
73
+ ffi (>= 1.0.7)
74
+ json_pure
75
+ rubyzip
76
+ simplecov (0.4.2)
77
+ simplecov-html (~> 0.4.4)
78
+ simplecov-html (0.4.5)
79
+ sinatra (1.2.6)
80
+ rack (~> 1.1)
81
+ tilt (>= 1.2.2, < 2.0)
82
+ spork (0.9.0.rc9)
83
+ syntax (1.0.0)
84
+ term-ansicolor (1.0.7)
85
+ tilt (1.3.2)
86
+ webrat (0.7.3)
87
+ nokogiri (>= 1.2.0)
88
+ rack (>= 1.0)
89
+ rack-test (>= 0.5.3)
90
+ xpath (0.1.4)
91
+ nokogiri (~> 1.3)
92
+ yard (0.7.1)
93
+
94
+ PLATFORMS
95
+ ruby
96
+
97
+ DEPENDENCIES
98
+ aruba (~> 0.4.2)
99
+ bcat (= 0.6.1)
100
+ capybara (>= 1.0.0)
101
+ casecumber!
102
+ nokogiri (>= 1.4.4)
103
+ prawn (= 0.8.4)
104
+ prawn-layout (= 0.8.4)
105
+ rack-test (>= 0.5.7)
106
+ rake (>= 0.9.2)
107
+ ramaze
108
+ rdiscount (= 1.6.8)
109
+ rspec (>= 2.6.0)
110
+ simplecov (>= 0.4.2)
111
+ sinatra (>= 1.2.6)
112
+ spork (>= 0.9.0.rc7)
113
+ syntax (>= 1.0.0)
114
+ webrat (>= 0.7.3)
115
+ yard (= 0.7.1)
data/History.md ADDED
@@ -0,0 +1,1702 @@
1
+ ## [v1.0.2](https://github.com/cucumber/cucumber/compare/v1.0.1...v1.0.2)
2
+
3
+ ### Bugfixes
4
+ * Cucumber 1.0.1 breaks cuke4duke ([#104](https://github.com/cucumber/cucumber/issues/104) Aslak Hellesøy)
5
+
6
+ ### New Features
7
+ * Better line truncation if $CUCUMBER_TRUNCATE_OUTPUT has a max line length value. (Aslak Hellesøy)
8
+
9
+ ### Changes Features
10
+ * --no-source also excludes location from the summary. (Aslak Hellesøy)
11
+
12
+ ## [v1.0.1](https://github.com/cucumber/cucumber/compare/v1.0.0...v1.0.1)
13
+
14
+ ### Bugfixes
15
+ * Removed extra colons emitted by rerun formatter ([#99](https://github.com/cucumber/cucumber/pull/99) Juan Manuel Barreneche)
16
+ * cucumber 1.0.0 wrong number of arguments error when generating json format on jruby for windows ([#97](https://github.com/cucumber/cucumber/issues/97) (Aslak Hellesøy)
17
+ * Recent change to junit.rb breaks on Windows ([#81](https://github.com/cucumber/cucumber/issues/81), [#86](https://github.com/cucumber/cucumber/pull/86) Johnlon, Aslak Hellesøy)
18
+ * Cucumber fails on nil and does not print out failed tests ([#95](https://github.com/cucumber/cucumber/pull/95) Nikita)
19
+ * Javascript code is not being displayed in HTML output ([#58](https://github.com/cucumber/cucumber/issues/58) Aslak Hellesøy)
20
+
21
+ ### New Features
22
+ * If the CUCUMBER_TRUNCATE_OUTPUT environment variable is set, lines will be truncated. Used by the Cucumber book. (Aslak Hellesøy)
23
+
24
+ ## [v1.0.0](https://github.com/cucumber/cucumber/compare/v0.10.6...v1.0.0)
25
+
26
+ Yipeeeeeeeee!
27
+
28
+ ### New Features
29
+ * Use Rake 1.9.2 for development (Aslak Hellesøy)
30
+ * Rake task exits with an error if rcov is true and we're on Ruby 1.9.x (Aslak Hellesøy)
31
+ * Started implementation of cucumber-features (Mike Sassak, Julien Biezemans, Aslak Hellesøy)
32
+
33
+ ## [v0.10.6](https://github.com/cucumber/cucumber/compare/v0.10.5...v0.10.6)
34
+
35
+ ### New Features
36
+ * API docs at http://cukes.info/cucumber/api/ruby/latest/
37
+
38
+ ### Bugfixes
39
+ * Fixed a regression in the HTML formatter's #embed implementation (#77 Aslak Hellesøy)
40
+
41
+ ## [v0.10.5](https://github.com/cucumber/cucumber/compare/v0.10.3...v0.10.5)
42
+
43
+ (0.10.4 was forgotten!)
44
+
45
+ ### Changed features
46
+ * The announce method is deprecated. Use puts instead (#67 Aslak Hellesøy)
47
+ * The announce_world method is gone. Use puts(self) instead (#67 Aslak Hellesøy)
48
+
49
+ ### New Features
50
+ * Better JUnit formatter support for sub directories and scenario outlines (#59, #61, #62 Matt Simpson, Kenny Ortmann)
51
+
52
+ ### Bugfixes
53
+ * Fix for Gem.available? deprecation warning (#75 Jake Benilov)
54
+ * Update URLs to reflect Cucumber's new location on Github (Jake Benilov)
55
+
56
+ ## [v0.10.3](https://github.com/cucumber/cucumber/compare/v0.10.2...v0.10.3)
57
+
58
+ ### New Features
59
+ * Better JUnit formatter support for sub directories and scenario outlines (#59 Matt Simpson)
60
+ * Coloured output that spans several lines sets colours for each line. (Aslak Hellesøy)
61
+ * New bundler attribute on the Rake task, allowing faster execution. (Aslak Hellesøy)
62
+ * Fix Table#rows cell ordering in ruby 1.8. (#47_github Brian Dunn)
63
+ * JUnit Formatter: record skipped/pending/undefined scenario results (#655 meeee)
64
+
65
+ ## [v0.10.2](https://github.com/cucumber/cucumber/compare/v0.10.1...v0.10.2)
66
+
67
+ ### Bugfixes
68
+ * Neuter both MiniTest::Unit and Test::Unit's overzealous test runners. (Aslak Hellesøy)
69
+
70
+ ## [v0.10.1](https://github.com/cucumber/cucumber/compare/v0.10.0...v0.10.1)
71
+
72
+ ### New Features
73
+ * The #embed method can take a 3rd optional label argument. In the HTML report that's used for the link title. (Pat Leamon)
74
+ * Render .wire files through ERB (Kevin Olbrich)
75
+ * Happy coexistence with Rake 0.9 (Cezary Baginski)
76
+ * Add -l, --lines option just like rspec's (Gabriel Horner)
77
+ * Support for named transforms. See features/transforms.feature (Matt Wynne)
78
+ * Experimental support for non-UTF-8 encoding in feature files. A "# encoding=iso-8859-1" header (or any other encoding)
79
+ in the file will read the file in with that encoding and convert it to UTF-8 before it's parsed with gherkin.
80
+ Step definition arguments will be passed in UTF-8 encoded strings regardless of the encoding in the feature file.
81
+ * Better error message if there is no features directory (David Lindes)
82
+ * Include scenario file reference in html formatter output (Brandon Faloona)
83
+ * Relax gem dependencies to use >= instead of ~> (Rob Slifka, Aslak Hellesøy)
84
+
85
+ ### Bugfixes
86
+ * Missing methods in Runtime::ForProgrammingLanguages - make v8 example run again (Chris Mytton)
87
+ * Features files are sorted before they are executed, giving consistent results across different OSes (Guewen Baconnier)
88
+ * Remove duplicate lines in backtraces in the HTML report (Jari Bakken)
89
+
90
+ ## [v0.10.0](https://github.com/cucumber/cucumber/compare/v0.9.4...v0.10.0)
91
+
92
+ We're bumping the minor number in this release because there are some incompatible changes in the JSON support.
93
+ This should not affect users. The major new feature in this release is ANSICON support for Windows users.
94
+
95
+ ### New Features
96
+ * map_column! should allow a string or symbol as the column name passed in (Ed Schmalzle)
97
+ * Deprecate win32console and use ANSICON instead (Boško Ivanišević)
98
+ * Set builder dependency to >= 2.1.2, which will work with both Rails 2 and 3. (bUg., David Trasbo, Matt Wynne)
99
+
100
+ ### Bugfixes
101
+ * Changed the HTML formatter to show Scenarios with 'Pending' steps to be yellow rather than green (Arti)
102
+
103
+ ### Changed Features
104
+ * JSON output now contains optional "match", "result" and "embeddings" elements underneath each step. (Aslak Hellesøy)
105
+
106
+ ## [v0.9.4](https://github.com/cucumber/cucumber/compare/v0.9.3...v0.9.4)
107
+
108
+ ### Bugfixes
109
+ * Superfluous space after step_keyword value in snippet_text message (#679 Aslak Hellesøy)
110
+ * Better Handling for "puts" in HTML formatter (#676 Stephen Kennedy)
111
+ * Too many open files - getcwd (#666 Aslak Hellesøy)
112
+ * Cucumber 0.9.3 prevents Test::Unit from running (#677 Aslak Hellesøy)
113
+ * Performance degradation when running feature files with over 1000 steps (#675 Dimitri Geshef)
114
+
115
+ ## [v0.9.3](https://github.com/cucumber/cucumber/compare/v0.9.2...v0.9.3)
116
+
117
+ ### Bugfixes
118
+ * Better JSON representation of Regexps (Aslak Hellesøy)
119
+ * Update to work with latest spork (Matt Wynne)
120
+ * Prevent MiniTest::Unit#autorun from running in at_exit hook. (Aslak Hellesøy)
121
+ * Fixed incorect --help for --strict. It fails on both pending and undefined. (Aslak Hellesøy)
122
+
123
+ ## [v0.9.2](https://github.com/cucumber/cucumber/compare/v0.9.1...v0.9.2)
124
+
125
+ ### Bugfixes
126
+ * Too many open files - getcwd (#666 Aslak Hellesøy)
127
+
128
+ ## [v0.9.1](https://github.com/cucumber/cucumber/compare/v0.9.0...v0.9.1)
129
+
130
+ ### Bugfixes
131
+ * Just a minor internal change to make Cuke4Duke happy. (Aslak Hellesøy)
132
+
133
+ ## [v0.9.0](https://github.com/cucumber/cucumber/compare/v0.8.5...v0.9.0)
134
+
135
+ Maintenance release for the new release of Gherkin 2.2.3.
136
+
137
+ ### Bugfixes
138
+ * Compatibility with rspec-2.0.0.beta.19 mocks (Aslak Hellesøy)
139
+ * JUnit formatter now puts output in CDATA sections. (Dmitry Amelchenko)
140
+
141
+ ### New features
142
+ * --dry-run now shows snippets (Ben Hall)
143
+ * Use Bundler for dependency management. (Aslak Hellesøy, Rob Hunter)
144
+
145
+ ### Removed features
146
+ * No more Jeweler
147
+
148
+ ### Internal changes
149
+ * Big refactoring of StepMother (Matt Wynne)
150
+
151
+ ## [v0.8.5](https://github.com/cucumber/cucumber/compare/v0.8.4...v0.8.5)
152
+
153
+ ### Bugfixes
154
+ * Location of stepdefs outside the project (in gems) are reported incorrectly. (#583 Aslak Hellesøy)
155
+ * Cucumber::Rake::Task uses 'bundle exec' when using bundler (#626 John Firebaugh)
156
+
157
+ ## [v0.8.4](https://github.com/cucumber/cucumber/compare/v0.8.3...v0.8.4)
158
+
159
+ ### Bugfixes
160
+ * Fix "Errno::EADDRNOTAVAIL" errors that may be received with spork on Snow Leopard. (Lucas Mundim)
161
+
162
+ ### New features
163
+ * Detect limit for negative tags (#636 Aslak Hellesøy)
164
+ * Support for RSpec 2 doubles (mocks and stubs) (Aslak Hellesøy)
165
+
166
+ ## [v0.8.3](https://github.com/cucumber/cucumber/compare/v0.8.2...v0.8.3)
167
+
168
+ Just a quick bugfix release.
169
+
170
+ ### Bugfixes
171
+ * Scenario outlines that fail with exception exit process (Aslak Hellesøy)
172
+
173
+ ## [v0.8.2](https://github.com/cucumber/cucumber/compare/v0.8.1...v0.8.2)
174
+
175
+ Bugfix release which most importantly fixes an issue with the gem's gemspec.
176
+
177
+ ### Bufixes
178
+ * Fix v8 support which broke in 0.8.1 because of new gherkin API (Aslak Hellesøy)
179
+ * Call Around hooks for each example in scenario outlines. (John Firebaugh)
180
+ * Remove extraneous tmp file from the gemspec, which broke installation in some environments. (Fernando Brito, Aslak Hellesøy)
181
+ * 0.8.1 fails on JRuby (#627 Aslak Hellesøy)
182
+
183
+ ### New Features
184
+ * JavaScript to Hide/Expand Scenarios in HTML report (#621 stkenned)
185
+
186
+ ## [v0.8.1](https://github.com/cucumber/cucumber/compare/v0.8.0...v0.8.1)
187
+
188
+ ### Bufixes
189
+ * generate test report fails: ast/outline_table.rb fails in status() (#615 Aslak Hellesøy)
190
+
191
+ ### New Features
192
+ * Undefined steps with integers (Given 3 cukes) will generate snippets like (Given /(\d+) cukes/). (Aslak Hellesøy)
193
+
194
+ ## [v0.8.0](https://github.com/cucumber/cucumber/compare/v0.7.3...v0.8.0)
195
+
196
+ ### Bugfixes
197
+ * Require profile option causes a NoMethodError for Cucumber with JRuby (#601 John Firebaugh)
198
+ * Deprecations warnings with Spork + Cucumber + RSpec 2.0. (#619 Brian Cardarella)
199
+ * Fixed edge case compatibility problem with Gherkin 1.0.30. (#618 Aslak Hellesøy)
200
+
201
+ ### New features
202
+ * Better table support in the V8 Javascript support (Joseph Wilk)
203
+ * JSON formatters (json and json_pretty). (Jari Bakken)
204
+
205
+ ### Removed features
206
+ * The --no-diff option is removed. If you're using RSpec you will *always* get diffs. (Aslak Hellesøy)
207
+
208
+ ### Changed Features
209
+ * Upgraded to be compatible with rspec 2.0.0.beta.10 (Aslak Hellesøy)
210
+ * Ruby snippets will use "([^"]*)" instead of "([^\"]*)"$/ - wasn't properly fixed in 0.7.1. (Aslak Hellesøy)
211
+ * Preserve the order features files are passed and use this for execution order (#617 Joseph Wilk)
212
+
213
+ ## [v0.7.3](https://github.com/cucumber/cucumber/compare/v0.7.2...v0.7.3)
214
+
215
+ ### New Features
216
+ * Table cells can now contain escaped bars - \| and escaped backslashes - \\. (Gregory Hnatiuk, Aslak Hellesøy)
217
+ * Added support for Around hooks. (#605 John Firebaugh)
218
+
219
+ ## [v0.7.2](https://github.com/cucumber/cucumber/compare/v0.7.1...v0.7.2)
220
+
221
+ ### Bugfixes
222
+ * REALLY add backwards compatibility fix (with deprecation warning) for legacy 0.6.4 formatters. (Aslak Hellesøy)
223
+
224
+ ## [v0.7.1](https://github.com/cucumber/cucumber/compare/v0.7.0...v0.7.1)
225
+
226
+ ### Bugfixes
227
+ * Add backwards compatibility fix (with deprecation warning) for legacy 0.6.4 formatters. (Aslak Hellesøy)
228
+
229
+ ### Changed Features
230
+ * Ruby and Javascript snippets will use "([^"]*)" instead of "([^\"]*)"$/ (Aslak Hellesøy)
231
+
232
+ ## [v0.7.0](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.8...v0.7.0)
233
+
234
+ This release is an important milestone for Cucumber. A new parser (the gherkin gem) parses feature
235
+ files 50-100 times faster than with 0.6.x and previous releases. Make sure you read the upgrade
236
+ instructions! http://wiki.github.com/aslakhellesoy/cucumber/upgrading
237
+
238
+ ## [v0.7.0.beta.8](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.7...v0.7.0.beta.8)
239
+
240
+ ### Bugfixes
241
+ * Inconsistent order of execution Background and Before in 0.7.0.beta.2 (#600 Mike Sassak)
242
+ * Make sure both lexing and parsing errors are captured and reported with line number (Gregory Hnatiuk)
243
+
244
+ ## [v0.7.0.beta.7](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.6...v0.7.0.beta.7)
245
+
246
+ ### Bugfixes
247
+ * Depend on gherkin-1.0.22, which should now make things work on Windows and Ruby 1.8.x-1.9.x. (Aslak Hellesøy)
248
+
249
+ ## [v0.7.0.beta.6](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.5...v0.7.0.beta.6)
250
+
251
+ ### Bugfixes
252
+ * Fixed a small regression with pystrings and calling steps from stepdefs, introduced in a previous beta. (Aslak Hellesøy)
253
+
254
+ ## [v0.7.0.beta.5](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.4...v0.7.0.beta.5)
255
+
256
+ ### New Features
257
+ * Support RSpec 2. (RSpec >= 1.2.4 is still supported). (Aslak Hellesøy, Ryan Bigg)
258
+
259
+ ### Removed features
260
+ * No more support for RSpec <= 1.2.3. (Aslak Hellesøy)
261
+
262
+ ## [v0.7.0.beta.4](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.3...v0.7.0.beta.4)
263
+
264
+ ### New Features
265
+ * New, experimental V8 javascript support - step definitions in Javascript! (Joseph Wilk)
266
+
267
+ ### Bugfixes
268
+ * Gherkin is loaded via rubygems if it can't be found on the $LOAD_PATH. (Aslak Hellesøy)
269
+
270
+ ## [v0.7.0.beta.3](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.2...v0.7.0.beta.3)
271
+
272
+ ### Changed Features
273
+ * Step Definitions and calling steps from step definitions can again use And and But (was removed in 0.7.0.beta.2) (Aslak Hellesøy)
274
+
275
+ ## [v0.7.0.beta.2](https://github.com/cucumber/cucumber/compare/v0.7.0.beta.1...v0.7.0.beta.2)
276
+
277
+ ### New Features
278
+ * Depend on Gherkin 1.0.18, which has some bugfixes. (Aslak Hellesøy)
279
+
280
+ ## [v0.7.0.beta.1](https://github.com/cucumber/cucumber/compare/v0.6.4...v0.7.0.beta.1)
281
+
282
+ Treetop is gone and replaced with Ragel. The new Ragel parser lives in the gherkin gem.
283
+ Parse times are up to 100 times faster.
284
+
285
+ ### New Features
286
+ * Upgraded Sinatra example to use Sinatra 1.0 and Capybara. (Aslak Hellesøy)
287
+
288
+ ### Changed Features
289
+ * New i18n translations now have to be contributed to the gherkin project.
290
+
291
+ ## [v0.6.4](https://github.com/cucumber/cucumber/compare/v0.6.3...v0.6.4)
292
+
293
+ ### Bugfixes
294
+ * Better handling of --guess with optional capture groups (Tim Felgentreff)
295
+ * Parsing of rerun.txt can't use Shellwords on Windows (#581 David Esposito)
296
+ * \#puts can now take non-String arguments just like Kernel#puts - #to_s is done implicitly. (Aslak Hellesøy)
297
+ * Attempt to fix Cucumber::CODEPAGE error again for Windows (#561 Aslak Hellesøy)
298
+ * Tab indentation causes multiline step arguments to fail (#585 Aslak Hellesøy)
299
+ * Properly pass tags over the wire protocol (Matt Wynne)
300
+ * Profile loading should honour the --strict option (#580 Rob Holland)
301
+ * Snippets are properly printed when using '*' as step keyword. (Used to cause infinite recursion). (Aslak Hellesøy)
302
+
303
+ ### New features
304
+ * Added #puts_world method, printing the World class and all included modules (Ruby only). (Aslak Hellesøy)
305
+ * Added #puts to the PDF formatter (Nicolas Bessi)
306
+ * Show fails for After/Before hooks in the progress formatter (#584 Joseph Wilk)
307
+
308
+ ### Changed features
309
+ * Switced to ISO 639-1 (language) and ISO 3166 alpha-2 (region - if applicable). Applies to Catalan,
310
+ Swedish, Welsh, Romanian and Serbian. (Aslak Hellesøy)
311
+
312
+ ## [v0.6.3](https://github.com/cucumber/cucumber/compare/v0.6.2...v0.6.3)
313
+
314
+ ### Bugfixes
315
+ * Split arguments in cucumber.yml with shellwords. Example: myprofile: --out="Features report.html" (Nathaniel Haas)
316
+ * Breakage in Rails 2-3-stable after html_safe is added to the repo. (#577 Aslak Hellesøy)
317
+ * uninitialized constant Cucumber::CODEPAGE (NameError) (#561 Aslak Hellesøy)
318
+ * HTML Formatter is broken in cucumber 0.6.2 and cuke4duke 0.2.3 (#567 Dan Fitch)
319
+ * Ensure consistent load order of support files (#564 Mike Sassak)
320
+ * Fix various places in PDF formatter where HTML entities could break prawn (Matt Wynne)
321
+ * The rerun formatter outputs failed, pending and undefined scenarios (before: only failing) (Aslak Hellesøy)
322
+
323
+ ### New features
324
+ * Added "Angenommen" as German synonym for Given (Sven Fuchs, Aslak Hellesøy)
325
+ * New #ask(question, timeout_seconds=60) method available to stepdefs. Asks for input and #puts-s question and answer. (Aslak Hellesøy)
326
+ * Links to step definitions are now clickable in TextMate's HTML report (Rob Aldred)
327
+ * Add diff! message to wire protocol to allow for immediate diff response to invokes (Matt Wynne)
328
+ * Add tags to begin/end scenario messages on wire protocol to support tagged hooks (#571 Matt Wynne)
329
+ * Default timeouts to 120s for invoke, begin_scenario and end_scenario messages in wire protocol (#572 Matt Wynne)
330
+
331
+ ## [v0.6.2](https://github.com/cucumber/cucumber/compare/v0.6.1...v0.6.2)
332
+
333
+ ### Bugfixes
334
+ * Update --help for --tags which was out of date. (Aslak Hellesøy)
335
+ * Explicitly use Prawn 0.6.3 for pdf formatter since 0.7.1 is broken (Aslak Hellesøy)
336
+ * PDF formatter renders tables incorrectly (#553 Andy Waite)
337
+ * Better colouring in HTML report (Rob Aldred)
338
+ * Detect output encoding properly on JRuby+Windows (Aslak Hellesøy)
339
+ * Added option to override output encoding on Windows with an CUCUMBER_OUTPUT_ENCODING env var (Aslak Hellesøy)
340
+ * PDF generation requires 'prawn-format' (#558 Aslak Hellesøy)
341
+
342
+ ### New features
343
+ * Show profiles in error scenario summary. (#550 Joseph Wilk)
344
+
345
+ ### Removed features
346
+ * element_at and table_at have been removed. Use tableish in cucumber-rails instead. (Aslak Hellesœy)
347
+
348
+ ## [v0.6.1](https://github.com/cucumber/cucumber/compare/v0.6.0...v0.6.1)
349
+
350
+ ### Bugfixes
351
+ * Fixed broken console handling on Windows/JRuby that was introduced in 0.6.0. (Aslak Hellesøy)
352
+
353
+ ## [v0.6.0](https://github.com/cucumber/cucumber/compare/v0.5.3...v0.6.0)
354
+
355
+ Bumping to 0.6.0 for this release since we're breaking backwards compatibility with tags.
356
+
357
+ ### Changed Features
358
+ * Tag boolean logic is inverted. What was ORed before is now ANDed and vice versa. (#504 Aslak Hellesøy)
359
+ This makes it more practical in most cases to mix tags from profiles and the command line
360
+
361
+ In previous versions the following command line:
362
+
363
+ `--tags @foo,~@bar --tags @zap (on the command line)`
364
+
365
+ or the following Hook:
366
+
367
+ `Before("@foo,~@bar", "@zap") (for Hooks)`
368
+
369
+ would be equivalent to the boolean expression: (@foo && !@bar) || @zap
370
+ Starting with this release it will be equivalent to: (@foo || !@bar) && @zap
371
+
372
+ ### Bugfixes
373
+ * Cucumber not loading the correct settings using autospec (#496, #523 Aslak Hellesøy, Andrzej Śliwa)
374
+ * Ruby 1.9.2 fails to load features/support/env.rb (#549 Aslak Hellesøy)
375
+ * All features (except 4) pass on 1.9.2 (but not on 1.9.1) (Aslak Hellesøy)
376
+ * Add missing require statement in rerun formatter which broke RubyMine (Noah Sussman)
377
+
378
+ ## [v0.5.3](https://github.com/cucumber/cucumber/compare/v0.5.2...v0.5.3)
379
+
380
+ Another small release today to please a sister project. This time Cuke4Nuke.
381
+
382
+ ### New Features
383
+ * Simplified wire protocol to mostly use success / fail responses (Matt Wynne)
384
+
385
+ ## [v0.5.2](https://github.com/cucumber/cucumber/compare/v0.5.1...v0.5.2)
386
+
387
+ ### New Features
388
+ * On JRuby/Cuke4Duke, --require DIR will put DIR on the $CLASSPATH, making it easier to load step def classes (Aslak Hellesøy)
389
+ * New --jars option that will load jar files. Only available on JRuby. Practical for Cuke4Duke. (Aslak Hellesøy)
390
+
391
+ ### Bugfixes
392
+ * Add #embed back to html formatter (#547 Brandon Faloona)
393
+ * Refactored wire protocol code and added configurable timeout to allow for long running step definitions. (#546 Matt Wynne)
394
+
395
+ ## [v0.5.1](https://github.com/cucumber/cucumber/compare/v0.5.0...v0.5.1)
396
+
397
+ Small bugfix release.
398
+
399
+ ### Bugfixes
400
+ * Replaced dependency on json gem with an error message, so that the cucumber gem installs on JRuby. (Aslak Hellesøy)
401
+
402
+ ## [v0.5.0](https://github.com/cucumber/cucumber/compare/v0.4.4...v0.5.0)
403
+
404
+ We're bumping to 0.5.0 for this release since all of the Rails code has now moved to a new gem - cucumber-rails.
405
+ Please see History.txt in cucumber-rails for details about what's new on the Rails side.
406
+
407
+ ### New features
408
+ * "Given" in Dutch is now aliased to "Gegeven" or "Stel". (Iain Hecker)
409
+ * New --i18n option to list keywords in various languages. (Aslak Hellesøy)
410
+ * Added a Tcl example using Sam Stephenson's ruby-tcl (Aslak Hellesøy)
411
+ * Added * as a synonym for Given/When/Then/And/But (for all i18n languages). (#462 Aslak Hellesøy)
412
+ * The HTML formatter produces a much nicer report, with TextMate link integration. (Rob Aldred)
413
+ * Wire protocol now supports table arguments, step definition source & regexp, snippets, pending, table diffing (Matt Wynne)
414
+
415
+ ### Changed Features
416
+ * Per-word trailing-space setting for step keywords using '<'. See 'fr' in languages.yml for example. (#525 Gregory Hnatiuk)
417
+ * Formatters will no longer be passed File objects. They must use ensure_io, ensure_file or ensure_dir. (Aslak Hellesøy)
418
+
419
+ ### Bugfixes
420
+ * Exception messages are properly escaped in the HTML report. (Aslak Hellesøy)
421
+ * Improved UTF-8 support for Windows. (Aslak Hellesøy)
422
+ * Make #element_at / #table_at work on Webrat 0.6.0. This is now deprecated it in favour of #tableish from the cucumber-rails gem. (Aslak Hellesøy)
423
+ * JUnit formatter not handling multiline table steps inside Scenario Outlines (#538 Matt Wynne)
424
+ * Pending in scenario outline is red (#399 Matt Wynne)
425
+ * Allow optional step arguments to play happily with step transforms (Rob Holland)
426
+ * Regex escape the path when filtering the backtrace (Corey Donohoe & Simon Rozet)
427
+ * Add gem dependency on JSON gem, required by wire protocol (#533 Matt Wynne)
428
+
429
+ ### Removed Features
430
+ * All Rails-related code is in a separate gem: cucumber-rails. Install that if you're working with Rails. (#483 Aslak Hellesøy)
431
+ * --language is removed: http://wiki.github.com/aslakhellesoy/cucumber/spoken-languages (Aslak Hellesøy)
432
+
433
+ ## [v0.4.4](https://github.com/cucumber/cucumber/compare/v0.4.3...v0.4.4)
434
+
435
+ What a bad day to make a release, but here goes.
436
+
437
+ ### New features
438
+ * Cucumber should use ActiveSupport::Callbacks for fixtures (#516 Adam Salter)
439
+ * Make 'I' optional in all webrat steps. (Gavin Hughes)
440
+ * Make generated cucumber.rake work with a vendored gem (Alex Rothenberg)
441
+ * Native support for ANSIColor on IronRuby via the iron-term-ansicolor gem (Will Green)
442
+ * Call a bunch of steps from step definitions - also with tables or pystrings. Copy-paste friendly (Bodaniel Jeanes, Jack Chen, Aslak Hellesøy)
443
+
444
+ ### Bugfixes
445
+ * Pretty printer fails when expanding scenario outlines with -x when the background includes a table (#515 Mike Sassak)
446
+ * Ensure tags used with Before/After hooks always get parsed (#520 Joseph Wilk)
447
+ * Define IRONRUBY correctly on Ruby 1.9 (Joe Van Dyk)
448
+ * RbStepDefinition#invoke calls #backtrace_line on self rather than @proc (#503 Mike Sassak)
449
+ * Avoid duplicate cucumber entries in database.yml (Daniel Hofstetter)
450
+ * Added respond_to? when checking config.cache_classes for older Rails versions (Jeremy Durham)
451
+
452
+ ### Changed Features
453
+ * Rails support has been moved to the cucumber-rails gem (Dennis Blöte, Aslak Hellesøy) TODO - WIKI DOCUMENTATION BEFORE RELEASE
454
+ * The code for Czech has changed from cz to cs. (deepj)
455
+ * $cucumber_interrupted is now Cucumber.wants_to_quit - avoid global variable, which gives warnings. (Aslak Hellesøy)
456
+ * Examples keyword without a colon is deprecated loudly. Gherkin will not recognize it at all. (Gherkin #30 Mike Sassak)
457
+
458
+ ## [v0.4.3](https://github.com/cucumber/cucumber/compare/v0.4.2...v0.4.3)
459
+
460
+ The exciting thing about this release is that the wire protocol is starting to take shape. This means you can
461
+ now use Cucumber with .NET - writing step definitions in C#. And this is without having to use IronRuby at all!
462
+ See Cuke4Nuke (http://wiki.github.com/richardlawrence/Cuke4Nuke) for more information.
463
+
464
+ As usual there are several small features and bug fixes.
465
+
466
+ ### New Features
467
+ * Add support for ORing tags which are passed in with seperate --tag arguments. Make comma seperated tags use AND (#368 Joseph Wilk)
468
+ * New Wire Protocol - allowing out of process execution of Cucumber scenarios. (#428 Matt Wynne)
469
+ * Added an example illustrating how to get screenshots in HTML reports (examples/watir) (Aslak Hellesøy)
470
+ * Added new #embed(file, mime_type) method to visitors and Ruby Worlds to make it easier to embed screenshots (Aslak Hellesøy)
471
+ * The #puts method available from Ruby Step Definitions will print *after* the step is executed. (#487 Zoltan Penzeli)
472
+ * Add support for rolling back transaction for all open database connections. (John Ferlito)
473
+ * Show scenario and step summary in HTML formatter (#285 Joseph Wilk)
474
+ * Ast::Table can now be constructed with an Array of Hash. (Aslak Hellesøy)
475
+
476
+ ### Changed features
477
+ * The #puts method will no longer escape HTML if the html formatter is used. Escaping must be done manually. (Aslak Hellesøy)
478
+
479
+ ### Bugfixes
480
+ * Fixed incorrect rendering of step arguments with UTF8 characters (Aslak Hellesøy)
481
+ * "--format rerun", with a Scenario Outline, kills cucumber (#492 Aslak Hellesøy)
482
+ * Usage formatter is not reporting time correctly. (Elliot Crosby-McCullough)
483
+ * JUnit formatter raises a more helpful error when run on a feature with no name. (#493 Matt Wynne)
484
+ * Better Danish translation (Thorbjørn Ravn Andersen)
485
+
486
+
487
+ ## [v0.4.2](https://github.com/cucumber/cucumber/compare/v0.4.1...v0.4.2)
488
+
489
+ Bugfix release. The 0.4.1 release was hosed when switching from Hoe to Jeweler.
490
+
491
+ ## [v0.4.1](https://github.com/cucumber/cucumber/compare/v0.4.0...v0.4.1)
492
+
493
+ This is mostly a bugfix release. Some of Cucumber's own features have been fixed so they pass on more platforms,
494
+ making it easier for people to contribute. The README.txt also describes how to get up and running with the
495
+ development environment.
496
+
497
+ ### Bugfixes
498
+ * Cucumber's features verified passing on MRI 1.8.6 (OSX), 1.8.7 (OSX), 1.9.1 (OSX/Win) and JRuby 1.4.0RC1 (OSX). (Aslak Hellesøy)
499
+ * Ensure no errors are raised when limiting with tags which are not in the feature set (#464 Joseph Wilk)
500
+ * Missing Romanian keywords added for Examples, Scenario Outline and Background (to my best google translate knowledge) (Aslak Hellesøy)
501
+ * Make rerun and --drb work together again after formatter API changes (#485 Erik Hansson, John Ferlito)
502
+
503
+ ### New Features
504
+ * The Rails cucumber generator will only default to RSpec if installed. And print better help. (Aslak Hellesøy)
505
+ * Added 'but' variants to Japanese. (Kakutani Shintaro)
506
+ * README.txt explains people how to run all tests. Install gems with geminstaller. (Aslak Hellesøy)
507
+ * Added support for Serbian language, both Cyrillic and Latin with usage examples. (Dejan Dimic)
508
+ * Add new 'debug' formatter for debugging and visualising the calls to listeners. (Matt Wynne)
509
+
510
+ ### Changed features
511
+ * Use http://github.com/aslakhellesoy/wac instead of http://github.com/aslakhellesoy/ansicolor on Windows/JRuby (#456 Aslak Hellesøy)
512
+
513
+ ### Internal changes
514
+ * Ditched Hoe for Jeweler (Aslak Hellesøy)
515
+ * Added StepMother#invoke(step_name, multiline_argument=nil) - needed by cuke4duke ticket #26 (Aslak Hellesøy)
516
+ * StepDefinitionMethods is gone.
517
+
518
+ ## [v0.4.0](https://github.com/cucumber/cucumber/compare/v0.3.104...v0.4.0)
519
+
520
+ The back to stable release. When we went from 0.3.11 to 0.3.90 we thought we were close to a 0.4.0 release. Then the community
521
+ went nuts and a lot of great contributions came in. Some of those broke backwards compatibility, and we decided it would be
522
+ better to do this while still on 0.3.x.
523
+
524
+ Rails users: you *must* run script/generate cucumber after installing this version.
525
+
526
+ If something breaks for you, please please please read this file carefully. It's most likely something referenced here, and
527
+ that will give you more information so you can solve any problems. If not, just get in touch on IRC or the Google Group.
528
+
529
+ ### New Features
530
+ * Total feature parsing time is shown when run with --verbose. Useful for benchmarking with future Ragel parser (Aslak Hellesøy)
531
+ * Tables yielded to step definitions are no longer frozen, so you can edit their data without #dup'ing (Aslak Hellesøy)
532
+ * Transform can now transform tables, using /table:col1,col2,col3/ (#478 Corey Haines)
533
+ * cucumber.yml can also end in .yaml and be located in .config/ or config/ dirs (#447 trans)
534
+ * Turkish support. (Hakan Şenol Ensari)
535
+ * Upgrade Rails generator to set a dependency to Spork 0.7.3. (Aslak Hellesøy)
536
+ * Installation via rubygems will print a message telling people to read this file. (Aslak Hellesøy)
537
+ * Files generated by the Rails cucumber generator have information about the risks of editing. (Aslak Hellesøy)
538
+ * Rotten Cucumber alert on Rails if you upgrade your gem without regenerating with script/generate cucumber. (Aslak Hellesøy)
539
+ * Stop the confusion between "homepage" and "home page" by allowing both (Ryan Bigg & Bodaniel Jeanes)
540
+ * Make script/cucumber file generated by the Rails cucumber generator look for cucumber in vendored gems as well. (Tom ten Thij)
541
+
542
+ ### Changed Features
543
+ * Step tables now default empty table cells to empty strings and not nil (#470 Joseph Wilk)
544
+
545
+ ### Removed Features
546
+ * The feature_list, feature_pattern, step_list and step_pattern properties are removed from the Rake task. Use profiles instead. (Aslak Hellesøy)
547
+ * The FeatureTask is removed. Use profiles instead.
548
+
549
+ ### Bugfixes
550
+ * instance_exec get declared private (#477 Tim Galeckas)
551
+ * Transforms can return nil. (Thomas Marek)
552
+ * Generated rails rake tasks doesn't use the vendored version cucumber binary (#468 Josh Nichols)
553
+ * Incorrect diagnostics in case when Before raises in presence of Background (#465 Fedor Kocherga)
554
+ * Error on pystring in scenario outline with pretty formatter (#475 Aslak Hellesøy)
555
+ * Adding After('@allow-rescue') to set allow_rescue back to its former value. (Alf Mikula)
556
+ * Feature files are now sorted before they are executed, because different operating systems may list files differently. (Aslak Hellesøy)
557
+ * Fixed image loading for Windows in PDF formatter. Allow use of both png and jpg. (#461 Declan Whelan)
558
+ * Before('~@no-txn') is run on all scenarios without @no-txn causing Cucumber::Rails::World.use_transactional_fixtures to always be true. (#457 Aslak Hellesøy)
559
+ * JUnit formatter not handling scenario outline tables (#472 Matt Wynne)
560
+ * Language help broken (#467 Matt Wynne)
561
+ * Language help formatter aligns output better on Ruby 1.8.6 (Aslak Hellesøy)
562
+ * Better backtraces for Ruby 1.8.7. (Jakob Skov-Pedersen)
563
+ * String step definitions ( Given 'I have $number cucumbers' ) are escaped before being turned into regular expressions. (David Waite)
564
+
565
+ ## [v0.3.104](https://github.com/cucumber/cucumber/compare/v0.3.103...v0.3.104)
566
+
567
+ This release has some minor changes to the command line and formatters. The biggest change is internally, paving
568
+ the way for more programming language support in Cuke4Duke, which now supports step definitions written in Java, Scala,
569
+ Groovy, Clojure and Javascript!
570
+
571
+ ### New Features
572
+ * "usage" formatter should display progress (#437 Aslak Hellesøy)
573
+ * Added example for Ramaze. (Yutaka HARA)
574
+
575
+ ### Bugfixes
576
+ * Fixed regression in profile formatter from 0.3.102. (Aslak Hellesøy)
577
+ * Raise a proper error message if someone forgets @ for tags, example: --tags ~foo or --tags bar. (Aslak Hellesøy)
578
+ * lib/cucumber/formatter/html.rb requires xml (#458 Brent Snook)
579
+ * lib/cucumber/formatter/html.rb requires ruby-debug (#455 Assaf Arkin)
580
+ * Allow for STDOUT formatters to be defined in profiles. Addresses an Autotest plugin issue. (#375 Gabriel Medina)
581
+
582
+ ### Removed features
583
+ * The --dry-run option no longer implies --no-source and --no-snippets. It only implies --no-snippets. (Aslak Hellesøy)
584
+
585
+ ### Changed features
586
+ * The profile and usage formatters have been combined to the usage formatter. Use it eith or without --dry-run. See --help for more. (Aslak Hellesøy)
587
+ * The steps formatter has been renamed to stepdefs formatter. (Aslak Hellesøy)
588
+ * The internal programming language API has changed, giving more power to the implementation. See #428. (Aslak Hellesøy)
589
+
590
+ ## [v0.3.103](https://github.com/cucumber/cucumber/compare/v0.3.102...v0.3.103)
591
+
592
+ This release gives you back some of the control over the Rails environment that was accidentally taken away from you in the
593
+ previous release.
594
+
595
+ Using this release on a Rails project requires a rerun of script/generate cucumber.
596
+
597
+ ### New Features
598
+ * Added a new @no-txn tag to selectively turn off transactions for a particlular scenario.
599
+ * Added back a way to globally turn off transactions.
600
+ * Renamed @allow_rescue tag to @allow-rescue.
601
+
602
+ ### Bugfixes
603
+ * Gracefully handle cases when optional regexp groups are not matched. Ex: /should( not)? be flashed '([^']*?)'$/ (Aslak Hellesøy)
604
+
605
+ ### Changed Features
606
+ * The Formatter API has completely changed. Formatters are no longer a double-dispacth visitor - just a single-dispatch listener (#438 Matt Wynne)
607
+
608
+ ## [v0.3.102](https://github.com/cucumber/cucumber/compare/v0.3.101...v0.3.102)
609
+
610
+ This release has some changes in the Rails support, so make sure you run "script/generate cucumber" after you upgrade.
611
+ Other noteworthy new features are improved Hook, tags and Transform support, and as always - several smaller bug fixes.
612
+
613
+ ### New Features
614
+ * Added new internal API for Regexp and groups, allowing other programming languages to leverage native regexps. (Aslak Hellesøy)
615
+ * New @allow_rescue tag for Rails scenarios. Causes exceptions raised in actions to be caught by rails and not bubble up to Cucumber (Aslak Hellesøy)
616
+ * Negative tags can now be used in hooks, just like the command line's --tags option: Before('~@yarr') - will run for all scenarios that *don't* have the @yarr tag. (Aslak Hellesøy)
617
+ * Transform has current "World" scope (Larry Diehl)
618
+ * Other Transforms can be reused by calling Transform with a string inside of another Transform definition (Larry Diehl)
619
+ * Execute "After" hooks in reverse order of declaration for better behavior with dependent blocks and to mimic the behavior of at_exit (David Waite)
620
+
621
+ ### Bugfixes
622
+ * features/support/env.rb runs commands twice (bugfix cuts total time by almost 50% w00t) (#452 Jim Meyer)
623
+ * Problems adding custom formatters to features/support. (features/support is added to $LOAD_PATH) (#449 Aslak Hellesøy)
624
+ * Some options set in cucumber.yml profiles are ignored (#446 Leonard CHIN)
625
+ * Missing step_definition snippets not properly displayed (#433 Aslak Hellesøy)
626
+ * rspec-rails, :lib => false (#447 David Chelimsky)
627
+ * Cucumber with Spork breaks on OS X Snow Leopard (#431 David Chelimsky)
628
+
629
+ ### Changed Features
630
+ * Tag names passed on the command line *always* have to use the @ sign. --tags foo or --tags ~bar won't work. Use --tags @foo or --tags ~@bar (Aslak Hellesøy)
631
+
632
+ ### Removed features
633
+ * The Cucumber::Rails.bypass_rescue no longer exists. Errors will always bubble up, unless you use the new @allow_rescue tag. (Aslak Hellesøy)
634
+ * The Cucumber::Rails.use_transactional_fixtures no longer exists. Transactional fixtures are always enabled for the cucumber environment. (Aslak Hellesøy)
635
+
636
+ ## [v0.3.101](https://github.com/cucumber/cucumber/compare/v0.3.100...v0.3.101)
637
+
638
+ Two exciting things in this release. Step Argument Transforms and a PDF formatter you can use to send
639
+ your features to your customer for review!
640
+
641
+ ### New Features
642
+ * New pdf formatter (#425 Mads Buus)
643
+ * Step Argument Transforms: These let you use the Transform method to register regular expressions
644
+ to catch and transform/coerce arguments before they are yielded to step definitions:
645
+ http://wiki.github.com/aslakhellesoy/cucumber/step-argument-transforms (Larry Diehl & Dave Astels)
646
+ * Adding webrat steps for asserting content does or does not exist within a particular element
647
+ (using webrat's within method) (Kieran Pilkington)
648
+
649
+ ## [v0.3.100](https://github.com/cucumber/cucumber/compare/v0.3.99...v0.3.100)
650
+
651
+ The JavaZone release!
652
+
653
+ ### New Features
654
+ * Added support for Uzbek (msarvar)
655
+ * The file argument on the cucumber command line will replace contents of file on cli if file is prefixed with @ (Tero Tilus)
656
+
657
+ ### Bugfixes
658
+ * Backtraces on JRuby are handled in a cleaner way when the exception comes from Java (NativeException). (Aslak Hellesøy)
659
+ * When exceptions occur in a Before block the rest of the scenario is now skipped (#331 Matt Wynne)
660
+
661
+ ## [v0.3.99](https://github.com/cucumber/cucumber/compare/v0.3.98...v0.3.99)
662
+
663
+ ### New Features
664
+ * Support for Croatian (Bkrsta)
665
+ * Make #feature available from scenario so you can do: Before{|scenario| scenario.feature}. (Aslak Hellesøy)
666
+ * cucumber.yml parsing supports ERB syntax (#427 Gregory Hnatiuk)
667
+ * New AfterConfiguration hook added; a block can be specified that takes Cucumber::Cli::Configuration (#423 Brent Snook)
668
+ * Cucumber::Cli::Configuration#feature_dirs and #out_stream exposed as public attributes so that they may be used in AfterConfiguration hook (#423 Brent Snook)
669
+
670
+ ## [v0.3.98](https://github.com/cucumber/cucumber/compare/v0.3.97...v0.3.98)
671
+
672
+ Just a small release to help Cuke4Duke, which will be presented at Agile2009
673
+ in 2 days.
674
+
675
+ ### New Features
676
+ * Backtrace filtering now happens in StepInvocation class, meaning other languages (Cuke4Duke) can get backtraces stripped. (Aslak Hellesøy)
677
+ * Cucumber::Ast::Table#map_headers now allows for a block that will convert all the headers. See docs for details. (Ben Mabey)
678
+
679
+ ## [v0.3.97](https://github.com/cucumber/cucumber/compare/v0.3.96...v0.3.97)
680
+
681
+ The AA-FTT release. Creating a release for the AA-FTT meeting in Chicago so that we can play
682
+ with the new language API and maybe knock out some better .NET support.
683
+
684
+ ### Bugfixes
685
+ * Allow comments on examples sections underneath scenario outlines (#420 Mike Sassak)
686
+ * Table.map_headers! will fail with a decent error message when 0 or 2+ headers are matched. (Aslak Hellesøy)
687
+ * Fixed an issue with comments with preceding spaces after a background causing a parse error (#401 Joseph Wilk)
688
+
689
+ ### New Features
690
+ * The public API is documented and there is a new :sdoc task to generate nice searchable API docs.
691
+ * Add :default => :cucumber when setting up Rake tasks for Cucumber in Rails (Aslak Hellesøy)
692
+ * New When /^I fill in "([^\"]*)" for "([^\"]*)"$/ Webrat step for Rails (Aslak Hellesøy)
693
+
694
+ ### Changed Features
695
+ * Changed the Programming Language API to support languages without "bleed through" (e.g. rubypython can't invoke ruby objs) (Aslak Hellesøy)
696
+ * The Programming Language API manages hooks on the language level instead of on the step mother level (Aslak Hellesøy)
697
+
698
+ ## [v0.3.96](https://github.com/cucumber/cucumber/compare/v0.3.95...v0.3.96)
699
+
700
+ This release doesn't have any significant new features or bug fixes, but there are big
701
+ internal changes. This release has a new API for plugging in other programming languages.
702
+ You can read more about that here: http://groups.google.com/group/cukes/browse_thread/thread/b9db8bf1f3ec9708
703
+
704
+ This might break other tools that are using Cucumber's internal APIs. For example Spork broke and had to
705
+ be patched. Please upgrade to Spork 0.5.9 if you are using Spork.
706
+
707
+ ### New Features
708
+ * Ability to preload natural language in Spork's prefork. Rerun script/generate cucumber --spork to see how. (Aslak Hellesøy)
709
+ * Ability to control which DRb port is used via the --port flag or by setting CUCUMBER_DRB environment variable. (Chris Flipse)
710
+ * Upgrade Rails generator to use webrat 0.5.0. (Aslak Hellesøy)
711
+ * Upgrade Sinatra example to work with rack-test 0.4.1 and webrat 0.5.0. (Aslak Hellesøy)
712
+
713
+ ### Changed Features
714
+ * --strict will cause an exit code 1 for missing and pending (used to be for missing only). (Mads Buus)
715
+ * junit formatter doesn't report pending steps unless --strict is used. (Mads Buus)
716
+
717
+ ## [v0.3.95](https://github.com/cucumber/cucumber/compare/v0.3.94...v0.3.95)
718
+
719
+ This release improves Webrat support for table-like HTML markup. Now you can easily turn the HTML
720
+ elements table, dl, ol and ul elements into a 2D array. This is particularly useful for comparing
721
+ data in your HTML with a Cucumber table using Cucumber::Ast::Table#diff!
722
+
723
+ This release also fixes several bugs related to --drb (Spork) and profiles (cucumber.yml)
724
+
725
+ ### Bug Fixes
726
+ * --guess will always prefer the longest regexp with no groups if they exist.
727
+ * Prevent delays if a NoMethodError is raise in a step definition. Define a light #inspect in World. (#374 Aslak Hellesøy)
728
+ * Restore 'features' as the default feature running path. (#412 Ben Mabey)
729
+ * --drb degrades gracefully when no drb server is running and no formatter is provided. (#410 Ben Mabey)
730
+ * --language picked up from profiles again. (#409 Ben Mabey)
731
+ * Resolved infinite loop problem when --drb was defined in a profile. (#408 Ben Mabey)
732
+
733
+ ### New Features
734
+ * Cucumber::World#table has been overloaded to work with 2D Array in addition to a table String to be parsed.
735
+ * New When /^I fill in the following:$/ step definition for Webrat. Useful for filling out a form with a Table. (Aslak Hellesøy)
736
+ * The object returned by element_at (Webrat::Element) has a #to_table that works for table, dl, ol and ul. (Aslak Hellesøy)
737
+ * An explanation of why failures are ok is printed when --wip is used. (Aslak Hellesøy)
738
+ * Added cucumber alias for cucumber:ok in Rails Rake tasks. (Aslak Hellesøy)
739
+
740
+ ### Changed features
741
+ * element_at('table').to_table should be used instead of table_at('table').to_a. The old way is deprecated but still works. (Aslak Hellesøy)
742
+ * element_at (and the depracated table_at) no longer takes a DOM id, only CSS selectors. Change "my_id" to "#my_id". (Aslak Hellesøy)
743
+
744
+ ## [v0.3.94](https://github.com/cucumber/cucumber/compare/v0.3.93...v0.3.94)
745
+
746
+ Kanban take II.
747
+
748
+ Release 0.3.6 introduced a new --wip switch that can be used to limit work in progress
749
+ (WIP). Limiting WIP is central for Kanban Software Development (http://www.infoq.com/articles/hiranabe-lean-agile-kanban).
750
+
751
+ However, this feature went mostly unnoticed, and because we think it's so great we have decided
752
+ to make it the default for Rails projects. When you bootstrap your Rails project for Cucumber
753
+ you will now get 2 Cucumber Rake tasks for Kanban development:
754
+
755
+ cucumber:ok : Run features that should pass. This runs your "good,old" features
756
+ cucumber:wip : Run the features you're working on that don't pass yet. Tag them with @wip. Max 2!
757
+
758
+ So upgrade today and get into the habit of tagging new features with @wip (or invent your own tags).
759
+ You'll achieve better flow this way.
760
+
761
+ ### New features
762
+ * Support limiting the number of feature elements with certain tags (#353 Joseph Wilk)
763
+ * script/generate cucumber sets up 'cucumber:ok' and 'cucumber:wip' tasks and deprecates 'features'. More Kanban love. (#344 Aslak Hellesøy)
764
+ * Better JUnit formatter: feature->testsuite, scenario->testcase. Better timing and support for background and scenario outline. (Mads Buus Westmark)
765
+ * Added examples/python that uses rubypython. (Aslak Hellesøy)
766
+ * Checks the number of available colors on the terminal with ruby-terminfo if ruby-terminfo is installed.
767
+ This prevents Apple's Terminal.app from stalling (Yugui - Yuki Sonoda).
768
+ * Set 'xterm-256color' to TERM if your terminal supports grey.
769
+ * ruby-terminfo is available as genki-ruby-terminfo gem from github.
770
+ * Document builtin formatters with --help. (#406 Aslak Hellesøy)
771
+ * Added support for using regular expressions when mapping table headers. (Peter Williams)
772
+
773
+ ## [v0.3.93](https://github.com/cucumber/cucumber/compare/v0.3.92...v0.3.93)
774
+
775
+ Highlights in this release: Improved profile handling (cucumber.yml) and a fix for cucumber hanging.
776
+
777
+ ### New features
778
+ * script/generate cucumber --spork now sets up a spork gem dependency in the cucumber.rb environment. (Aslak Hellesøy)
779
+ * Feature files defined on the command line override any that are present in profiles. (#344 Ben Mabey)
780
+ * Default (STDOUT) formatter defined in profile can be overridden from the command line. (#344 Ben Mabey)
781
+ * Displays which profile, if any, is being used. (Ben Mabey)
782
+ * click_link_within(parent, link) webrat step (Joakim Kolsjö)
783
+
784
+ ### Bugfixes
785
+ * script/cucumber correctly loads the gem's binary if the plugin isn't installed.
786
+ * Cucumber hangs waiting for Ctrl+C if an Error is raised. (#374 Aslak Hellesøy)
787
+
788
+ ## [v0.3.92](https://github.com/cucumber/cucumber/compare/v0.3.91...v0.3.92)
789
+
790
+ This release has some minor improvements to the new Table.diff! functionality. For example,
791
+ if you're using Webrat and you want to compare a feature table with a HTML table containing
792
+ links in one of the columns, you can do:
793
+
794
+ actual = Cucumber::Ast::Table.new(table_at('table').to_a)
795
+ actual.map_column!('Name') { |text| text.strip.match(/>(.*)</)[1] }
796
+ table.diff!(actual)
797
+
798
+ ### New features
799
+ * Allow Step Definitions to accept mix of required & optional args (Niels Ganser)
800
+ * table_a.diff!(table_b) now uses column conversions from both tables (Table#map_column!) (Aslak Hellesøy)
801
+
802
+ ### Bugfixes
803
+ * Upgrade Sinatra example to work with rack-test 0.3.0 and aslakhellesoy-webrat 0.4.4.1 (Aslak Hellesøy)
804
+ * require 'cucumber/webrat/table_locator' added to Spork environment for Rails (Anders Furseth)
805
+
806
+ ### Changed Features
807
+ * The 'default' profile is now ALWAYS used unless you specify another profile or use the -P or --no-profile flag. (#344 Ben Mabey)
808
+
809
+ ## [v0.3.91](https://github.com/cucumber/cucumber/compare/v0.3.90...v0.3.91)
810
+
811
+ ### New Features
812
+ * CTRL-C will exit immediately instead of carrying on until all features are run. (Aslak Hellesøy)
813
+ * Run can be stopped programmatically by setting $cucumber_interrupted = true, for example in an After block. (Aslak Hellesøy)
814
+ * Support limiting the number of feature elements with certain tags (#353 Joseph Wilk)
815
+ * Table support for cuke4duke
816
+
817
+ ## [v0.3.90](https://github.com/cucumber/cucumber/compare/v0.3.11...v0.3.90)
818
+
819
+ The Hot summer release
820
+
821
+ This is a hot summer in Norway, and Cucumbers are growing in abundance. To celebrate this we give you
822
+ a new release with lots of new features and bugfixes. This is also one of the last releases in the 0.3 series
823
+ (hence the 0.3.90 number), so 0.4 (or maybe 1.0!) will be coming up soon. The highlights of this release are:
824
+
825
+ ### Egality
826
+
827
+ English is not the world's most spoken language, so why should Cucumber force non-English speakers to use the
828
+ --language flag? As of this release you're no longer forced to do that. Instead, you can add a comment header
829
+ to your .feature files:
830
+
831
+ # language: fr
832
+ # Cucumber understands that this is French
833
+ Fonctionnalité: Trou de boulette
834
+
835
+ If you don't have that header, Cucumber will work as before - using whatever you specified with --language,
836
+ or default to English if no --language option was specified. A nice side effect of this is that you can now
837
+ have features in several languages side by side and run them in the same cucumber. (Not recommended unless
838
+ you want to take polyglot programming to an extreme level).
839
+
840
+ ### Table diffing (experimental)
841
+
842
+ When you pass a table as an argument to your Then steps you often want to compare that table
843
+ to some actual values. In previous releases you had to iterate over the table's values and manually
844
+ compare each row using cell.should equal('foo') or assert_equal('foo', cell). If a discrepancy was found
845
+ you'd get an error, but it was hard to see how the entire expected data set was different from the actual one.
846
+
847
+ With this release you have a much more powerful way to compare expected tables with actual data. An
848
+ Ast::Table object now has a new #diff!(table) method that you can invoke in your step definitions
849
+ that take table arguments. If the table you pass in is different from the expected table (from your
850
+ plain text step), Cucumber will print the difference for each of the row or column and fail your step.
851
+
852
+ The Table#diff! method expects an Array of Array, Array of Hash (similar to what you'd get from table#hashes)
853
+ or simply another Ast::Table object. Here is a simple example:
854
+
855
+ Then /^I should see the following cukes:$/ do |expected_cukes_table|
856
+ actual_table = ... # For example [['Latin', 'English'], ['Cucumis sativus', 'Cucumber'], ['Cucumis anguria', 'Burr Gherkin']]
857
+ expected_cukes_table.diff!(actual_table)
858
+ end
859
+
860
+ As an extra bonus we provide Webrat users with a new #table_at(selector) method that you can use to transform
861
+ an HTML table into an Array of Array, so that you can easily compare the contents of your HTML table to
862
+ expected data passed to a step. Here is an example:
863
+
864
+ Then /^I should see the following cukes:$/ do |expected_cukes_table|
865
+ expected_cukes_table.diff!(table_at('#cuke_table').to_a)
866
+ end
867
+
868
+ You can do the same trick to compare data from a Rails ActiveRecord table (although this is not a
869
+ recommended practice - your Then steps should compare against what users *see*, not what's in the
870
+ database):
871
+
872
+ # This requires that you use the column names in the header of the plain text expected table
873
+ Then /^I should have the following cukes in the database:$/ do |expected_cukes_table|
874
+ expected_cukes_table.diff!(Cuke.find(:all).map(&attributes))
875
+ end
876
+
877
+ ### Environment variables
878
+
879
+ Another useful new feature is the ability to define environment variables on Cucumber's command line (just
880
+ like you can with Rake). Example:
881
+
882
+ cucumber FOO=BAR --format progress features
883
+
884
+ You can now pick up ENV['FOO'] in ruby (for example in env.rb) and take actions according to the value,
885
+ for example enabling your super hack that validates all HTTP responses for XHTML validity.
886
+
887
+ This release also has several bugfixes related to --format and Before/After hooks.
888
+
889
+ ### Bugfixes
890
+ * Fix some misspellings which affect test fail for Korean example (#373 Dongju Kim)
891
+ * Make it possible to write non-localized step definitions (#377 Aslak Hellesøy)
892
+ * Table cells containing unicode are rendered incorrectly (#386 Stefan Kanev)
893
+ * Before and After hooks run after everything is finished when there are 2+ --format options (#371 Aslak Hellesøy)
894
+ * When using --out and two --format the first is not delivered inline with execution of features (#361 Aslak Hellesøy)
895
+ * Profile Formatter broken (#370 Aslak Hellesøy)
896
+ * Default profile usage with --drb flag degrades gracefully with no server. (#367 Ben Mabey)
897
+ * JUnit formatter uses original file name instead of narrative to avoid accidental duplicate XML files (Aslak Hellesøy)
898
+ * rake gems no longer lists cucumber as a [F]ramework gem (David Chelimsky)
899
+ * CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey)
900
+ * Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière)
901
+ * Fixed bug with rake task raising errors with feature files with spaces (#380 Joseph Wilk)
902
+
903
+ ### New Features
904
+ * I should see should support regexes (#382 John Ferlito)
905
+ * Access to scenario outline name from After hook scenario parameter (#342 Aslak Hellesøy)
906
+ * Allow multiple --tags switches to be passed
907
+ * Load step definitions from vendored gems and plugins (#388 Mike Burns)
908
+ * New --format steps formatter. Variant of the usage formatter that lists available step definitions (Demetrius Nunes)
909
+ * Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy)
910
+ * Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp)
911
+ * Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg)
912
+
913
+ ### Changed Features
914
+ * When using --tags, positive tags are &&'ed while negative tags are ||'ed (John Wilger)
915
+ * The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy)
916
+ * Visitor.visit_table_cell_value(value, col_width, status) is now visitor.visit_table_cell_value(value, status)
917
+
918
+ ## [v0.3.11](https://github.com/cucumber/cucumber/compare/v0.3.10...v0.3.11)
919
+
920
+ This release just fixes a tiny bug in the formatter to fix an incompatibility
921
+ with the latest RedMine release. It should have been included in 0.3.10, but
922
+ was forgotten.
923
+
924
+ ### Bugfixes
925
+ * Formatter API was broken in 0.3.9 (Roman Chernyatchik)
926
+
927
+ ## [v0.3.10](https://github.com/cucumber/cucumber/compare/v0.3.9...v0.3.10)
928
+
929
+ The Spork Release!
930
+
931
+ This release has an exciting new feature - a new --drb switch! This magic switch lets you run your
932
+ features much faster than before, because you can eliminate the startup time for your code. This is
933
+ thanks to a brand new gem called Spork by Tim Harper and Ben Mabey. (You can find out more about Spork
934
+ here: http://github.com/timcharper/spork/tree/master). You can start Spork and have it preload your
935
+ application in a separate process. Spork listens for DRb connections, and when you run cucumber with
936
+ --drb the features will run inside the Spork server instead. Spork provides two simple hooks for preloading
937
+ your application - one for framework/stable code (Spork.prefork) and one for the code that *you* write and
938
+ change often (Spork.each_run). Keep in mind that all World, Before, and other Cucumber hooks need to be
939
+ in the Spork.each_run block. Using Spork works great for Ruby on Rails, which can take a while to load,
940
+ but --drb and Spork aren't tied to Rails at all. The new --drb switch also works great alongside autotest
941
+ (just add --drb to your autotest profile in cucumber.yml), so now you can get even faster feedback.
942
+
943
+ Cucumber's built-in cucumber generator now has a new --spork switch, so when you bootstrap your Rails
944
+ application for cucumber, you can have spork configuration set up out of the box. (It's just a
945
+ slightly different env.rb.)
946
+
947
+ Although Spork was in mind when the --drb switch was added it is important to realize that all that was added
948
+ to Cucumber was a DRb client. Any DRb server that adheres to this protocol can be used with Cucumber's --drb
949
+ switch. While Spork is geared towards removing the load time to give you a faster feedback loop you could
950
+ just as easily use this client with a server that distributes your features to run in parallel. Someone just
951
+ needs to write such a server. ;)
952
+
953
+ This release also has some minor bugfixes related to RSpec and Rails interop.
954
+
955
+ ### Bugfixes
956
+ * RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
957
+ * The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy)
958
+ * The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy)
959
+
960
+ ### New features
961
+ * Spork support via --drb. (Ben Mabey)
962
+ * Added a Ast::Feature#name method for convenience. (Aslak Hellesøy)
963
+
964
+ ### Changed features
965
+ * The HTML formatter wraps examples in a div, and distinguishes between Scenario and Scenario Outline. (Aslak Hellesøy)
966
+
967
+ ## [v0.3.9](https://github.com/cucumber/cucumber/compare/v0.3.8...v0.3.9)
968
+
969
+ Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber
970
+ generator which is fixed in 0.3.9.
971
+
972
+ ### Bugfixes
973
+ * Fix broken Rails cucumber generator (Tim Glen)
974
+ * The Cucumber Rake task in non-fork mode will properly cause Rake to exit with 1 when Cucumber fails. (Aslak Hellesøy)
975
+
976
+ ## [v0.3.8](https://github.com/cucumber/cucumber/compare/v0.3.7...v0.3.8)
977
+
978
+ This Cucumber version fixes several bugs related to Ruby on Rails and RSpec. If you
979
+ use Cucumber with a Rails app we *strongly* recommend you bootstrap Cucumber again:
980
+
981
+ ruby script/generate cucumber
982
+
983
+ ### New Features
984
+ * Rails cucumber generator sets up default gem dependencies in cucumber environment.
985
+ * The duration of a run is reported by formatters - same format as the Linux time command (#228 Aslak Hellesøy)
986
+ * Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy)
987
+ * Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey)
988
+ * HTML formatter renders @tags (but the CSS is still ugly)
989
+
990
+ ### Removed/changed features
991
+ * The Cucumber Rake task will again fork by default (as 0.3.3 and earlier). Forking must be turned off explicitly. (Aslak Hellesøy)
992
+
993
+ ### Bugfixes
994
+ * Better coexistence with RSpec - Cucumber now *neuters* the part of RSpec that tries to parse ARGV.
995
+ * The differ= exception is gone (#325, #340 Aslak Hellesøy)
996
+
997
+ ## [v0.3.7](https://github.com/cucumber/cucumber/compare/v0.3.6...v0.3.7)
998
+
999
+ This is the "Help JetBrains RubyMine" release!
1000
+
1001
+ ### New Features
1002
+ * Added new Given alias for Catalan: Donat|Donada (Lleïr Borràs Metje)
1003
+ * New --expand option. This will print Scenario Outlines once for each Example row - with values expanded. (#327 Aslak Hellesøy)
1004
+ * You can override the formatter in Rails-generated rake tasks with the CUCUMBER_FORMAT environment variable (#335 Aslak Hellesøy)
1005
+
1006
+ ### Bugfixes
1007
+ * 'specs' folder needs to be renamed back to 'spec' (#339 Aslak Hellesøy)
1008
+ * CUCUMBER_OPTS doesn't work for cucumber rake tasks (#336 Aslak Hellesøy)
1009
+
1010
+ ## [v0.3.6](https://github.com/cucumber/cucumber/compare/v0.3.5...v0.3.6)
1011
+
1012
+ Kanban! With this release you can tag features or scenarios that are work in progress
1013
+ with a tag and use the new --wip switch.
1014
+
1015
+ Another handy feature in this release is that you can package your own formatters in RubyGems.
1016
+
1017
+ ### New features
1018
+ * New --wip switch. See http://www.jroller.com/perryn/entry/bdd_on_a_multi_disciplined (Perryn Fowler)
1019
+ * Added a AfterStep hook (Luke Melia)
1020
+ * New aliases for Vietnamese (Ngoc Dao)
1021
+ * Automatic require of custom formatters. --require is no longer needed to load them, and they can be in Ruby gems. (Aslak Hellesøy)
1022
+ * Lazy loading of built-in formatters. Should improve startup time a little bit.
1023
+
1024
+ ### Bugfixes
1025
+ * Gracefully handle exceptions in After block (#330 Matt Wynne)
1026
+ * Feature with only Background doesn't run hooks (#314, #329 Aslak Hellesøy)
1027
+
1028
+ ## [v0.3.5](https://github.com/cucumber/cucumber/compare/v0.3.4...v0.3.5)
1029
+
1030
+ Let's make a new release today because two annoying bugs are fixed.
1031
+
1032
+ ### Bugfixes
1033
+ * Allow feature element names to contain Gherkin keywords as long as they are not the first word on a newline (#319, #307 Joseph Wilk)
1034
+
1035
+ ## [v0.3.4](https://github.com/cucumber/cucumber/compare/v0.3.3...v0.3.4)
1036
+
1037
+ A couple of great new features in this release. Running with Rake is faster than before,
1038
+ and there is a brand new JUnit formatter - great for Continuous Integration reports!
1039
+
1040
+ This release was made especially for the Oslo XP Meetup today.
1041
+
1042
+ ** IMPORTANT UPGRADE NOTES FOR RAILS USERS **
1043
+
1044
+ Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work,
1045
+ so you have to explicitly tell the task to fork (like it was doing by default in prior
1046
+ versions). In lib/tasks/cucumber.rake:
1047
+
1048
+ Cucumber::Rake::Task.new(:features) do |t|
1049
+ t.fork = true # Explicitly fork
1050
+ t.cucumber_opts = %w{--format pretty}
1051
+ end
1052
+
1053
+ (If you run script/generate cucumber this will be done for you).
1054
+ Alternatively you can omit forking and run features like this:
1055
+
1056
+ RAILS_ENV=test rake cucumber
1057
+
1058
+ However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this.
1059
+
1060
+ ### Bugfixes
1061
+ * Hooks (World, Before, After) are no longer executed when --dry-run (Aslak Hellesøy)
1062
+ * Proper UTF8 use in HTML formatter (Herminio Torres)
1063
+ * Problem with multiple terms in languages.yml (#321 Aslak Hellesøy)
1064
+
1065
+ ### New features
1066
+ * New JUnit formatter (Gareth Jones)
1067
+ * Support for Vietnamese (Ngoc Dao)
1068
+ * Added aliases for Feature and But in Japanese (Leonard Chin)
1069
+ * Support for Catalan (Francesc Esplugas)
1070
+
1071
+ ### Changed features
1072
+ * --exclude flag now works on ruby files in addition to feature files (#312 Ben Mabey)
1073
+ * The Java example under examples/java uses Ant instead of Rake - and the new JUnit formatter.
1074
+ * Rake task should not shell out (#297 Aslak Hellesøy)
1075
+ The Cucumber Rake task will run Cucumber in the same Ruby interpreter as Rake itself
1076
+ unless explicitly told to fork a new interpreter. This is to increase speed. You can
1077
+ force a new interpreter by setting fork=true or rcov=true in the task.
1078
+
1079
+ ## [v0.3.3](https://github.com/cucumber/cucumber/compare/v0.3.2...v0.3.3)
1080
+
1081
+ Minor bugfix release, made specially for EuRuKo!
1082
+
1083
+ ### Bugfixes
1084
+ * Summaries are no longer printed in an empty () if there are no scenarios/steps (Aslak Hellesøy)
1085
+ * Background, Scenario Outline, Before Hook interaction (#309 Aslak Hellesøy)
1086
+ * Multiline String snippets no longer give misleading info. It's a String, not a PyString that's sent to step def.
1087
+
1088
+ ### Removed/changed features
1089
+ * New aliases: --no-source/-s, --name/-n (#317 Lonnon Foster)
1090
+
1091
+ ## [v0.3.2](https://github.com/cucumber/cucumber/compare/v0.3.1...v0.3.2)
1092
+
1093
+ This release has some minor bug fixes and new features.
1094
+ Nothing major, but we need a release for RailsConf'09 in Las Vegas!
1095
+
1096
+ ### Bugfixes
1097
+ * rake tasks with profiles not respecting --require flags (#311 Ben Mabey)
1098
+ * Step table with blank cell fails (#308 JohnnyT)
1099
+ * Fixed error where unused table cells in Examples where raising exceptions due to having no status (#302 Joseph Wilk)
1100
+
1101
+ ### New features
1102
+ * Support for Hebrew (Ido Kanner)
1103
+ * Summary should report scenarios (#32 Aslak Hellesøy)
1104
+ * Examples and the associated tables are indented one level deeper than Scenario Outline. (Aslak Hellesøy)
1105
+ * Added support for Examples selection when using --name. (#295 Joseph Wilk)
1106
+
1107
+ ## [v0.3.1](https://github.com/cucumber/cucumber/compare/v0.3.0...v0.3.1)
1108
+
1109
+ This release has several minor bug fixes and new features. With the addition of Latvian and Hungarian Cucumber
1110
+ now supports 32(!!) languages.
1111
+
1112
+ ### New features
1113
+ * Support multiline names for Scenarios, Scenario Outlines, Backgrounds, Examples (#231 Joseph Wilk)
1114
+ * Added #headers to Cucumber::Ast::Table (Ben Mabey)
1115
+ * New translation for Latvian (Vitauts Stočka)
1116
+ * New translation for Hungarian (#287 Bence Golda)
1117
+ * Pick up failure on after hook (#272 Aslak Hellesøy)
1118
+
1119
+ ### Bugfixes
1120
+ * Pretty formatter not colouring Examples tables correctly (#304 Aslak Hellesøy)
1121
+ * Problem using --scenario and Scenario Outline (#298 Aslak Hellesøy)
1122
+ * Tag Hook gets executed always there is a background (#301 Aslak Hellesøy)
1123
+ * Feature which only has a Background with steps causes an exception (#306 Aslak Hellesøy)
1124
+ * Gem no longer depends on Hoe (Aslak Hellesøy)
1125
+ * Span html tags appear on HTML results with 0.3.0 (#299 Aslak Hellesøy)
1126
+ * Fixed incorrect colours in pretty formatter's table headers for outline tables (Aslak Hellesøy)
1127
+ * Exceptions from steps called within hooks are now reraised. (#294 Ben Mabey)
1128
+
1129
+ ### Removed/changed features
1130
+ * --scenario handle has been removed and replaced with --name which supports partial matches, regexp special characters, running named backgrounds (#295 Joseph Wilk)
1131
+
1132
+ ## [v0.3.0](https://github.com/cucumber/cucumber/compare/v0.2.3...v0.3.0)
1133
+
1134
+ This release has some minor changes to the APIs, but big enough that a new major release is in order.
1135
+ The biggest change is the new semantics of the #World method. Previously you would call this method
1136
+ several times, passing a Proc and extending the world object of the previous one with a Ruby module.
1137
+ The problem was that there was no nice way to ensure the order in which these procs were called, which
1138
+ led to some unexpected situations. In this release you can only register a single World proc. If you
1139
+ want to extend a world with certain modules, you simply call the #World method with the module(s)
1140
+ you wish to extend the World with. The Sinatra example illustrates how to do this. Also check out
1141
+ the RDoc for Cucumber::StepMother#World.
1142
+
1143
+ The Visitor API (which is used for formatters) has also changed slightly. However, we have tried to
1144
+ do this in a backwards compatible way, so if you have custom formatters for Cucumber 0.2 they should
1145
+ still work.
1146
+
1147
+ One of the most significant new features is Tagged Hooks: http://wiki.github.com/aslakhellesoy/cucumber/hooks
1148
+ This lets you associate Before and After blocks with specific scenarios.
1149
+
1150
+ We are also deprecating the step_list, step_pattern, feature_list, and feature_pattern accessors on
1151
+ Cucumber::Rake::Task. These accessors will be completely removed in version 0.4. For complex settings
1152
+ please rely on cucumber profiles in your rake tasks:
1153
+ http://wiki.github.com/aslakhellesoy/cucumber/using-rake#profiles
1154
+
1155
+ ### New features
1156
+ * Use Hooks with @tags (#229 Aslak Hellesøy)
1157
+ * Rake task supports cucumber.yml profiles (#187 Ben Mabey)
1158
+ * Field value steps for Webrat (Jack Chen)
1159
+ * Added translation for Bulgarian (Krasimir Angelov)
1160
+ * Updated translation for Polish (#273 Grzegorz Marszałek)
1161
+ * Only a single World proc can be registered. World extension now happens by calling #World with ruby modules.
1162
+ * Portuguese uses Funcionalidade in stead of Característica and accented words are aliased with unaccented ones (Alexandre da Silva and Felipe Coury).
1163
+ * The usage formatter also prints unused step definitions (Aslak Hellesøy)
1164
+ * Better exception if a World proc returns nil. (Aslak Hellesøy)
1165
+ * Allow Step Definitions to use |*varargs|, but only on Ruby 1.9. (Aslak Hellesøy)
1166
+ * Snippets for steps that use Step Tables or PyStrings include block param and object type hint comment (#247 Joseph Wilk)
1167
+ * Support description string for Backgrounds (#271 Joseph Wilk)
1168
+
1169
+ ### Bugfixes
1170
+ * After methods not being executed when Background fails (#288 Luismi Cavallé)
1171
+ * Fixed dependency on internal files in rspec breaks cucumber w/ rspec-1.2.4 (#291 Aslak Hellesøy)
1172
+ * Fix color use when using autotest on Linux. (Hans de Graaff)
1173
+ * Fixed incorrect calculation of pystring indentation (#279 Eugene Naydanov)
1174
+ * Fixed --format html leads to an error (#252 Aslak Hellesøy)
1175
+ * Fixed Background runs twice (#255 Aslak Hellesøy)
1176
+ * Fixed Background Transactions and :xx (#270 Aslak Hellesøy)
1177
+ * Fixed Autospec failing with cucumber 0.2 (#254 Aslak Hellesøy)
1178
+ * Sibling file detecting not working (#278 Aslak Hellesøy)
1179
+
1180
+ ### Removed/changed features
1181
+ * The visitor API has changed slightly:
1182
+ * \#visit_step_name, #visit_multiline_arg and \#visit_exception are no longer official API methods.
1183
+ * \#visit_step_result replaces those 3 methods.
1184
+ * Table and PyString no longer hold status information. Each visitor subclass should store state in @state if needed.
1185
+ * \#visit_py_string no longer takes a status argument.
1186
+
1187
+ ## [v0.2.3](https://github.com/cucumber/cucumber/compare/v0.2.2...v0.2.3)
1188
+
1189
+ This release sports 4 updated languages, slightly better help with snippets if you "quote" arguments
1190
+ in your steps. Windows/JRuby users can enjoy colours and you get some more sugar with Tables.
1191
+
1192
+ ### New features
1193
+ * Added new Then /^I should be on (.+)$/ do |page_name| step (Grant Hollingworth)
1194
+ * Use skipped_param color for examples table header (#266 Eugene Naydanov)
1195
+ * Added new Cucumber::Ast::Table#rows_hash method (Torbjørn Vatn)
1196
+ * Windows/JRuby users can now enjoy colourful output (via http://github.com/aslakhellesoy/ansicolor) (#166 Aslak Hellesøy)
1197
+ * Ambiguous step errors hint about --guess (unless --guess already on) (Aslak Hellesøy)
1198
+ * Added translation for Slovak (Ahmed Al Hafoudh)
1199
+ * Updated translation for Dutch (Bart Zonneveld)
1200
+ * Updated translation for Italian (Alessandro Baroni)
1201
+ * Updated translation for Japanese (KAKUTANI Shintaro)
1202
+
1203
+ ### Bugfixes
1204
+ * Fixed step name after step keyword without space (#265 Aslak Hellesøy)
1205
+ * Backtrace is back in HTML reports (Aslak Hellesøy)
1206
+
1207
+ ## [v0.2.2](https://github.com/cucumber/cucumber/compare/v0.2.1...v0.2.2)
1208
+
1209
+ This release includes some minor changes to make Cucumber work with pure Java. Cucumber
1210
+ has already worked with Java for a while (using JRuby and step definitions in Ruby),
1211
+ but now you can write step definitions in pure Java!
1212
+
1213
+ Check out the Cucumber Java project for more details:
1214
+ http://github.com/aslakhellesoy/cucumber_java/tree/master
1215
+
1216
+ ## [v0.2.1](https://github.com/cucumber/cucumber/compare/v0.2.0...v0.2.1)
1217
+
1218
+ This release fixes a few minor bugs and adds a couple of new features.
1219
+
1220
+ ### Bugfixes
1221
+ * Fixed Cucumber, and rails controller error handling (#49 Matt Patterson)
1222
+ * HTML Formatter doesn't work correctly with scenario Outlines. (#260 Aslak Hellesøy)
1223
+ * After blocks are run in reverse order of registration. (#113 Aslak Hellesøy)
1224
+ * Snippets are showing 'Ands' (#249 Aslak Hellesøy)
1225
+
1226
+ ### New features
1227
+ * Snippets use a regexp and block arguments if the step name has "quoted" arguments. (Aslak Hellesøy)
1228
+ * Cucumber::Ast::Feature#to_sexp includes the file name. (Aslak Hellesøy)
1229
+ * support/env.rb is not loaded when --dry-run is specified. This is to increase performance. (Aslak Hellesøy)
1230
+ * New usage formatter. This is the foundation for editor autocompletion and navigation between steps and step definitions. (#209 Aslak Hellesøy)
1231
+
1232
+ ### Removed features
1233
+ * -S/--step-definitions option introduced in 0.2.0 is removed. Use --format usage [--dry-run] [--no-color].
1234
+
1235
+ ## [v0.2.0](https://github.com/cucumber/cucumber/compare/v0.1.16...v0.2.0)
1236
+
1237
+ This release sports a bunch of new and exciting features, as well a major rewrite of Cucumber's internals.
1238
+ The rewrite was done to address technical debt and to have a code base that is easier to evolve and maintain.
1239
+
1240
+ There are some changes to the Gherkin language that breaks backwards compatible with the 0.1.x series.
1241
+ Most importantly, "GivenScenario" and "More Examples" no longer exist. See the "Removed features" section
1242
+ below for more details on how to use alternatives.
1243
+
1244
+ Since the grammar has changed, there are some new keywords. We have to rely on the community
1245
+ to provide updated translations. This is much easier than before - just update languages.yml.
1246
+ There is no static code generation anymore. To list all languages:
1247
+
1248
+ cucumber --lang help
1249
+
1250
+ And to list the keywords for a particular language:
1251
+
1252
+ cucumber --lang en-lol help
1253
+
1254
+ There are some really awesome new features in this release: Tagging, Autoformatting, automatic
1255
+ aliasing of keywords in all languages, full Ruby 1.9 support and improved output
1256
+ for multiline arguments are some of the highlights.
1257
+
1258
+ ### Bugfixes
1259
+ * New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford)
1260
+ * Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk)
1261
+ * Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk)
1262
+ * Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk)
1263
+ * Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk)
1264
+ * --strict always exits with status 1 (#230 Tim Cuthbertson)
1265
+ * Fix error with nil values in tables raising an exception (#227 Joseph Wilk)
1266
+ * Add support for using << in formatters to ensure the html formatter works (#210 Joseph Wilk)
1267
+ * Explicitly require env.rb files first to avoid potential load order problems. (#213, Ben Mabey, Randy Harmon)
1268
+ * Depend on polyglot version (0.2.4) to avoid masking require errors. (Aslak Hellesøy).
1269
+ * -n option does not suppress the line info for a Scenario Outline (#175 Aslak Hellesøy)
1270
+ * Errors with rspec-rails matchers in cucumber 0.1.99 (#173 David Chelimsky)
1271
+ * Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy)
1272
+ * Really skip skipped steps (#90 Aslak Hellesøy)
1273
+ * No output for multi-line strings (#71 Aslak Hellesøy)
1274
+ * Fix cucumber/formatter/unicode flaws on Windows (#145 Michael)
1275
+ * Autotest-related Bugs: YAML missing (#136 Tobias Pape)
1276
+ * Overeager "rescue LoadError" hides lots of errors (#137 Jonathan del Strother)
1277
+ * Nested steps don't show mismatch (#116 Aslak Hellesøy)
1278
+ * Pending steps in > steps called from steps (#65 Aslak Hellesøy)
1279
+
1280
+ ### New features
1281
+ * Australian translation (Josh Graham)
1282
+ * Added World#puts(announcment) which lets you output text to the formatted output (#222 Rob Kaufmann)
1283
+ * Added Table#transpose to to allow use of vertically aligned table keys (Torbjørn Vatn, Aslak Hellesøy)
1284
+ * Added Table#map_headers to to allow use of more readable headers (Rob Holland)
1285
+ * New -S/--step-definitions option. Useful (among other things) for tools that implement automcompletion. (#208 Aslak Hellesøy).
1286
+ * The cucumber.rake file defines a dummy :features task if Cucumber is not installed (#225 Josh Nichols)
1287
+ * Added Table#map_column! to ease casting of cell values into relevant types (#223 Rob Holland)
1288
+ * New --no-diff option (#218 Bryan Ash)
1289
+ * Rails generators supports testunit and rspec option, defaulting to rspec (#217 Josh Nichols)
1290
+ * Sinatra Example (#204 Rob Holland)
1291
+ * Keywords can be aliased in languages.yml. See English for an example (examples: Examples|Scenarios)
1292
+ * Adding support for Background (#153 Joseph Wilk)
1293
+ * Added Česky/Czech (Vojtech Salbaba)
1294
+ * New --no-multiline option to reduce noise in output. Useful if lots of features are failing. (Aslak Hellesøy)
1295
+ * Added ability to pass URIs to cucumber in addition to files and directories. Useful for troubleshooting! (Aslak Hellesøy)
1296
+ * Groups of tabular scenarios (#57 Aslak Hellesøy)
1297
+ * Tagging scenarios and features. Pick the ones to run with --tags (#54 Aslak Hellesøy)
1298
+ * Make the current scenario available to the steps. (#44 Aslak Hellesøy)
1299
+ * Step definition snippets contain a 'pending' call (#84 Aslak Hellesøy)
1300
+ * Call multiline steps from other steps (#144 Aslak Hellesøy)
1301
+ * Run cucumber with --autoformat DIR to reformat (pretty print) all of your feature files. (Aslak Hellesøy)
1302
+ * New --strict option exits with an error code if there are undefined steps. (#52 Aslak Hellesøy)
1303
+ * Given, When, Then methods (used in step definitions) are automatically aliased to current language. Use $KCODE='u' in env.rb if needed.
1304
+ * Run cucumber --language help to see all supported languages. (Aslak Hellesøy)
1305
+ * Run cucumber --language LANG help to see keywords for a given language. (Aslak Hellesøy)
1306
+ * Multiline arguments (tables and """ strings) are printed in the output. (Aslak Hellesøy)
1307
+ * It's no longer necessary to compile the Treetop grammar when adding a new language. Localised parser is generated at runtime. (Aslak Hellesøy)
1308
+ * New --guess option tries to guess the best step definition match instead of raising Cucumber::Multiple. (Jake Howerton)
1309
+
1310
+ ### Removed features
1311
+ * "GivenScenario" is gone. Instead you can call Steps from Step Definitions, or use the new Background feature (#153)
1312
+ * "More Examples" is gone. "Scenario" + "More Examples" is no longer supported. Use "Scenario Outline" + "Examples" instead.
1313
+ * Pure Ruby features are no longer supported.
1314
+ * Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier)
1315
+
1316
+ ## 0.1.16.4
1317
+
1318
+ Bugfix release.
1319
+
1320
+ IMPORTANT NOTE FOR RAILS USERS.
1321
+ The template used to generate your features/support/env.rb has changed. You have to apply a minor change
1322
+ manually for existing Rails projects when you upgrade to this version. Change this:
1323
+
1324
+ require 'webrat/rspec-rails'
1325
+
1326
+ to this:
1327
+
1328
+ require 'webrat/core/matchers'
1329
+
1330
+ ### New features
1331
+ * Finnish translation (Tero Tilus)
1332
+ * Use Webrat's #contain matcher in generated "I should (not) see" step definitions (Bryan Helmkamp)
1333
+
1334
+ == Bugfixes
1335
+ * Escaped quotes - \" - inside multiline strings will be unescaped.
1336
+ * Flush output in HTML formatter since JRuby doesnt do it automatically (Diego Carrion)
1337
+ * Better handling of ARGV (#169 David Chelimsky, Ben Mabey)
1338
+ * Compatibility with ruby-debug (do ARGV.dup in bin/cucumber so it can restart ruby with same args) (Aslak Hellesøy)
1339
+
1340
+ ## [v0.1.16](https://github.com/cucumber/cucumber/compare/v0.1.15...v0.1.16)
1341
+
1342
+ This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should
1343
+ upgrade both Cucumber and Webrat gems.
1344
+
1345
+ ### New features
1346
+ * Allow argument placeholders in step tables and multiline comments (#121 Joseph Wilk)
1347
+ * Scenario Outline can be followed by several named Examples sections (#123 Aslak Hellesøy)
1348
+ * Add the #binary= method back to the Rake task. It is needed by merb_cucumber for running the features of a merb app with it's bundled gems. (Thomas Marek)
1349
+ * Added a /^When I go to (.+)$/ step definition to webrat_steps.rb and a simple page name to path mapping method (Bryan Helmkamp)
1350
+
1351
+ ### Bugfixes
1352
+ * Fix to run single scenarios when the line number specified doesn't correspond to a step (i.e. blank lines or rows) (#160 Luismi Cavallé)
1353
+
1354
+ ### Removed features
1355
+
1356
+ ## [v0.1.15](https://github.com/cucumber/cucumber/compare/v0.1.14...v0.1.15)
1357
+
1358
+ Bugfix release
1359
+
1360
+ ### New features
1361
+ * 한국어! (Korean!) (John Hwang)
1362
+
1363
+ ### Bugfixes
1364
+ * --dry-run skips running before/after/steps (#147 Ian Dees)
1365
+ * Fix a minor bug in the console formatter's summary (David Chelimsky)
1366
+ * Better quoting of Scenario names in Autotest (Peter Jaros)
1367
+ * Added some small workarounds for unicode handling on Windows (Aslak Hellesøy)
1368
+
1369
+ ## [v0.1.14](https://github.com/cucumber/cucumber/compare/v0.1.13...v0.1.14)
1370
+
1371
+ This is the first release of Cucumber that runs on Ruby 1.9. There are still some encoding-related issues
1372
+ with Arabic (ar), Japanese (ja) and Simplified Chinese (zh-CN). Patches are welcome. Other than that -
1373
+ a couple of minor bug fixes and polishing.
1374
+
1375
+ ### New features
1376
+ * Pretty formatter shows number of scenarios (#139 Joseph Wilk)
1377
+ * Rudimentary support for Ruby 1.9. Now it's ok to file Ruby 1.9-related bugs.
1378
+
1379
+ ### Bugfixes
1380
+ * Fixed "No such file or directory -- cucumber (LoadError)" bug with AutoTest (Aslak Hellesøy)
1381
+ * Fixed `load_missing_constant': uninitialized constant Dispatcher error with Rails (Aslak Hellesøy)
1382
+
1383
+ ### Removed features
1384
+ * The #binary= method is gone from the Rake task. It will always point to the binary in the current gem. (Aslak Hellesøy)
1385
+
1386
+ ## [v0.1.13](https://github.com/cucumber/cucumber/compare/v0.1.12...v0.1.13)
1387
+
1388
+ It's time for some new features again. Output is now much better since you can use diffing, tweak
1389
+ the output colours and get the full --backtrace if you want. Managing your support/* files became
1390
+ a little easier since they are now always loaded before the step definitions. Life became easier
1391
+ for Windows users in Norway (and other countries using unicode in the features). Plus several other
1392
+ bug fixes.
1393
+
1394
+ Enjoy!
1395
+
1396
+ ### New features
1397
+ * Console output is no longer bold, but regular. Step arguments are bold instead of blold+underlined. (Aslak Hellesøy)
1398
+ * Console output can be configured with CUCUMBER_COLORS in your shell. (Aslak Hellesøy)
1399
+ * Added new --backtrace option to show full backtrace (Aslak Hellesøy)
1400
+ * Enable RSpec's diffing automatically if RSpec is loaded (Aslak Hellesøy)
1401
+ * Files in support directories are loaded before any other file (i.e. step definitions.) (#120, Ben Mabey)
1402
+ * The Rails features generator got some love and is now tested: http://github.com/aslakhellesoy/cucumber_rails (Aslak Hellesøy)
1403
+ * --language is aliased to -l instead of -a (-l became available when --line was refactored) (Aslak Hellesøy)
1404
+ * Scenario Outlines which through placeholders in the steps allow control of how scenario table values are used. (#57 Joseph Wilk)
1405
+ * Scenario Outlines are now usable in pure ruby (Joseph Wilk)
1406
+ * Add support for calling 'pending' from step definitions. (#112 Joseph Wilk)
1407
+
1408
+ ### Bugfixes
1409
+ * Make rails before filters work correctly (#122, #129 Guillermo Álvarez Fernández)
1410
+ * Proper Unicode support for Windows command shells: Just require cucumber/formatter/unicode in env.rb (Aslak Hellesøy)
1411
+ * Fixed disappearing "a" on Windows (#81 Aslak Hellesøy)
1412
+ * Fixed a bug where row step outlines were loosing step tables. (#121 Joseph Wilk, Ben Mabey)
1413
+ * The Cucumber Autotest plugin now launches JRuby if autotest is run with JRuby (Aslak Hellesøy)
1414
+ * Provide helpful and non-confusing error message when specified profile is blank. (#118, Ben Mabey)
1415
+ * Improve handling and error messages for malformed cucumber.yml files. (#117, Ben Mabey)
1416
+ * document :x run option in command line help (#114, Aslak Hellesøy)
1417
+ * Change 'visits' to 'visit' in features generator to comply with new Webrat API (Darius Roberts)
1418
+
1419
+ ### Removed features
1420
+
1421
+ ## [v0.1.12](https://github.com/cucumber/cucumber/compare/v0.1.11...v0.1.12)
1422
+
1423
+ This is the "getting serious with IronRuby release" - largely based on
1424
+ "Patrick Gannon":http://www.patrickgannon.net/archive/2008/10/23/bdd-style-feature-tests-using-ironruby-and-rspeccucumber.aspx's
1425
+ blog entry.
1426
+
1427
+ ### New features
1428
+ * Cucumber works with IronRuby/.NET - http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net (Aslak Hellesøy)
1429
+
1430
+ ### Bugfixes
1431
+ * Fixed bug which was preventing coloring under Autotest (#111, Alan Larkin)
1432
+
1433
+ ### Removed features
1434
+ None
1435
+
1436
+ ## [v0.1.11](https://github.com/cucumber/cucumber/compare/v0.1.10...v0.1.11)
1437
+
1438
+ Bugfix release with a couple of minor additional features to the command line options.
1439
+
1440
+ ### New features
1441
+ * Capture output from cucumber in Autotest (Alan Larkin)
1442
+ * Update cucumber generator to work with latest Webrat (Bryan Helkamp)
1443
+ * CUCUMBR LIKEZ 2 SPEEK WIF KATS. KTHXBAI (Aimee Daniells)
1444
+ * Support for dynamically pluggable formatters (#99 Joseph Wilk)
1445
+ * --verbose mode to see ruby files and feature files loaded by Cucumber (#106 Joseph Wilk)
1446
+
1447
+ ### Bugfixes
1448
+ * The jcode library is not loaded on JRuby/Rails. Workaround for http://tinyurl.com/55uu3u. (Aslak Hellesøy)
1449
+ * Support including modules for class passed to --format (#109 Joseph Wilk)
1450
+
1451
+ ### Removed features
1452
+ * The cucumber gem no longer depends on the rspec gem. It must be downloaded manually if RSpec is used. (Jeff Rafter)
1453
+
1454
+ ## [v0.1.10](https://github.com/cucumber/cucumber/compare/v0.1.9...v0.1.10)
1455
+
1456
+ This release mostly has smaller bugfixes. The most significant new feature is how
1457
+ line numbers are specified. You can now run multiple features at specific lines numbers like this:
1458
+
1459
+ cucumber foo.feature:15 bar.feature:6:45:111
1460
+
1461
+ This will run foo.feature at line 15 and bar.feature at line 6, 45 and 111.
1462
+
1463
+ ### New features
1464
+ * Added example showing how to use Cucumber with Test::Unit + Matchy instead of RSpec (Aslak Hellesøy)
1465
+ * Yield existing world object to World block (#87 Aslak Hellesøy)
1466
+ * AUTOFEATURE=tRue works (case insensitive) (Aslak Hellesøy)
1467
+ * Initial support for .NET via IronRuby. (Aslak Hellesøy)
1468
+ * Lithuanian translation (sauliusgrigaitis)
1469
+ * New webrat step defintions to wrap the new selects_time, selects_date, and selects_datetime methods. (Ben Mabey)
1470
+ * Try to load webrat gem if it's not installed as a plugin (Aslak Hellesøy)
1471
+ * Support example.feature:20 or example.feature:10:20:30 syntax for running features at specific line number(s). (#88 Joseph Wilk)
1472
+
1473
+ ### Bugfixes
1474
+ * Windows - all the 'a' characters in the output have gone on strike (#81 Luis Lavena, Joseph Wilk, Aslak Hellesøy)
1475
+ * Raise a nice error when encountering step definition without block (#95 Aslak Hellesøy)
1476
+ * Features written using Ruby where breaking due to missing a line number (#91 Joseph Wilk)
1477
+ * Directly creating a Table meant the scenario table header was never set which was causing a formatter error (#91 Joseph Wilk)
1478
+
1479
+ ### Removed features
1480
+ * $KCODE='u' is no longer done automatically. Developers should do that explicitly when needed in step definitions or env.rb.
1481
+ * Step definition without a block being treated as pending (#64 Joseph Wilk)
1482
+ * The --line option has been removed. Use the new file.feature:line format instead.
1483
+
1484
+ ## [v0.1.9](https://github.com/cucumber/cucumber/compare/v0.1.8...v0.1.9)
1485
+
1486
+ With this release Cucumber supports 19 (!) natural languages:
1487
+
1488
+ * Arabic
1489
+ * Chinese Simplified
1490
+ * Danish
1491
+ * Dutch
1492
+ * Estonian
1493
+ * French
1494
+ * German
1495
+ * Italian
1496
+ * Japanese
1497
+ * Malay
1498
+ * Norwegian
1499
+ * Polish
1500
+ * Portuguese
1501
+ * Romanian
1502
+ * Russian
1503
+ * Spanish
1504
+ * Swedish
1505
+ * Texan
1506
+ * Welsh
1507
+
1508
+ Thanks a lot to everyone who has contributed translations. If you don't see your language here, please
1509
+ add it: http://github.com/aslakhellesoy/cucumber/wikis/spoken-languages
1510
+
1511
+ Main functional changes in this release is "Autotest":http://github.com/aslakhellesoy/cucumber/wikis/autotest-integration
1512
+ support and how multiline strings work in feature files:
1513
+
1514
+ # In your .feature file
1515
+ Then I should see
1516
+ """
1517
+ A string
1518
+ that "indents"
1519
+ and spans
1520
+ several lines
1521
+
1522
+ """
1523
+
1524
+ # In your steps.rb file
1525
+ Then 'I should see' do |text|
1526
+ text.should == "A string\n that \"indents\"\nand spans\nseveral lines\n"
1527
+ end
1528
+
1529
+ The triple quotes are used to define the start and end of a string, and it also defines what gets stripped away
1530
+ in the inside string. If the triple quotes are indented 4 spaces, then the text within will have the 4 first
1531
+ spaces removed too.
1532
+
1533
+ ### New features
1534
+ * Added --[no-]color option to force color on or off (Peter Jaros)
1535
+ * Step definition without a block will be treated as pending (#64 Joseph Wilk)
1536
+ * Added support for Welsh (improvements welcome) (Joseph Wilk)
1537
+ * Added --quiet option to hide all development aid output when using Pretty formatter (#69 Joseph Wilk)
1538
+ * Added --no-snippets option to hide snippets for pending steps when using Pretty formatter (#69 Joseph Wilk)
1539
+ * Added error messages concerning cucumber.yml. (#70 Ben Mabey)
1540
+ * Added Autotest support - work in progress... (Peter Jaros)
1541
+ * Added new --exclude option (Bryan Helkamp)
1542
+ * Added new --scenario option (Peter Jaros)
1543
+ * Renamed common_webrat.rb to webrat_steps.rb (Ben Mabey, Aslak Hellesøy)
1544
+ * Added new feature[:feature_path] task (Roman Gonzalez)
1545
+ * Added support for Polish (Joseph Wilk)
1546
+ * Support specifying multiple formatters and multiple outputs (#47 Joseph Wilk)
1547
+ * Added support for Japanese. (Kakutani Shintaro)
1548
+ * Added support for Texan (improvements welcome). (Aslak Hellesøy)
1549
+
1550
+ ### Bugfixes
1551
+ * Pending step snippets should escape special Regexp characters (#82 Joseph Wilk)
1552
+ * Scenario without a body shouldn't show up as complete (#63 Josh Knowles)
1553
+ * Fixed bug where utf-8 strings where breaking comment alighments. (#79 Joseph Wilk)
1554
+ * Fixed next_column_index not resetting after large tables (#60, Barry Mitchelson)
1555
+ * The HTML formatter was rendering everything twice. Cannot invoke visit_feature on formatters in executor (#72 Joseph Wilk)
1556
+ * Row Scenarios need to support pending? in order for the Profile formatter to work (Joseph Wilk)
1557
+ * Snippets are not shown for steps which already have a step definition (#65 Joseph Wilk)
1558
+ * Prevent feature/scenario/pending step comments from containing '//' when running features by specifying a directory with a trailing '/' (Joseph Wilk)
1559
+ * Scenario tables need spacing after them (#59 Joseph Wilk)
1560
+ * Support running scenario table rows when using --line argument (#55 Joseph Wilk)
1561
+ * Don't load cucumber.yml unless it exists (Aslak Hellesøy)
1562
+ * Fixing bug where specifying line number 1 in a feature which starts with a scenario with a scenario table was raising an error (#56 Joseph Wilk)
1563
+
1564
+ ### Removed features
1565
+
1566
+
1567
+ ## [v0.1.8](https://github.com/cucumber/cucumber/compare/v0.1.7...v0.1.8)
1568
+
1569
+ This release extends the support for tables. PLEASE NOTE THAT TABLES ARE STILL EXPERIMENTAL.
1570
+ In previous releases it has been possible to use tables to define "more examples" of a scenario in
1571
+ a FIT-style column fixture kind of way. Now you can also use tables as arguments to steps.
1572
+
1573
+ Tables used to define more examples after a scenario must now be prefixed. In English it looks like this:
1574
+
1575
+ Feature: Addition
1576
+ In order to avoid silly mistakes
1577
+ As a math idiot
1578
+ I want to be told the sum of two numbers
1579
+
1580
+ Scenario: Add two numbers
1581
+ Given I have entered 50 into the calculator
1582
+ And I have entered 70 into the calculator
1583
+ When I press add
1584
+ Then the result should be 120 on the screen
1585
+
1586
+ More Examples:
1587
+ | input_1 | input_2 | button | output |
1588
+ | 20 | 30 | add | 50 |
1589
+ | 2 | 5 | add | 7 |
1590
+ | 0 | 40 | add | 40 |
1591
+
1592
+ Languages that are not updated yet will have to use "More Examples" until we get the translations.
1593
+
1594
+ Tables can also be used as arguments to individual steps. In fact, steps now support a single argument
1595
+ that can span several lines. This can be a table or a string.
1596
+
1597
+ Example:
1598
+
1599
+ Given the following people exist:
1600
+ | name | email | phone |
1601
+ | Aslak | aslak@email.com | 123 |
1602
+ | Joe | joe@email.com | 234 |
1603
+ | Bryan | bryan@email.org | 456 |
1604
+ When I search for email.com
1605
+ Then I should see:
1606
+ | name | email | phone |
1607
+ | Aslak | aslak@email.com | 123 |
1608
+ | Joe | joe@email.com | 234 |
1609
+ And I should see:
1610
+ "Some text
1611
+ on several lines"
1612
+
1613
+ The step definitions for such multiline steps must define an extra block argument for the argument:
1614
+
1615
+ Given /the following people exist:/ do |people_table|
1616
+ # people_table is of type Cucumber::Model::Table
1617
+ # See RDoc for more info
1618
+ end
1619
+
1620
+ Then /I should see:/ do |string|
1621
+ # string is a plain old ruby String with leading spaces on each line removed
1622
+ end
1623
+
1624
+ ### New features
1625
+ * Added profile formatter. (#35, Joseph Wilk)
1626
+ * Added support for Chinese Simplified. (Liming Lian)
1627
+ * Added support for Dutch. (Sjoerd Tieleman)
1628
+ * Multiline steps are now supported. (#4, Aslak Hellesøy)
1629
+ * Tables used to define more examples for a scenario must be prefixed "More Examples" (see languages.yml for other languages)
1630
+ * Show the file and line number for scenarios as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
1631
+ * Show the file for the feature as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
1632
+ * Show the feature file and line for pending steps as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
1633
+
1634
+ ### Bugfixes
1635
+ * Fixed speling errors in Spanish (Daniel Cadenas)
1636
+ * ActionMailer delivery_method should not be set to test (#41, Luke Melia)
1637
+ * Reverse incorrectly ordered args in webrat select step (#43, David Chelimsky)
1638
+ * Support comments above the first scenario (#31, Aslak Hellesøy)
1639
+ * Fixed the HTML Formatter to use actual values for FIT table headers (#30, Joseph Wilk)
1640
+
1641
+ ### Removed features
1642
+ * Removed the /^I go to (.*)$/ step from common_webrat.rb - it's not language agnostic and provides little value.
1643
+
1644
+ ### New features
1645
+ * Added new --out option to make it easier to specify output from Rake and cucumber.yml
1646
+
1647
+ ## [v0.1.7](https://github.com/cucumber/cucumber/compare/v0.1.6...v0.1.7)
1648
+
1649
+ This release fixes a few bugs and adds some new features. The most notable features are:
1650
+
1651
+ ### Calling steps from steps
1652
+
1653
+ Step definitions are a little bit closer to having regular method semantics.
1654
+ You define them, but now you can also call them from other steps. Here is an
1655
+ example:
1656
+
1657
+ Given /I am logged in as an (.*) named (.*)$/ do |role, name|
1658
+ Given "I am registered as #{role}, #{name}, secret"
1659
+ When "I log in with #{name}, secret"
1660
+ end
1661
+
1662
+ Given /I am registered as (.*), (.*), (.*)/ do |role, name, password|
1663
+ # (Code removed for brevity)
1664
+ end
1665
+
1666
+ When /I log in with (.*), (.*)/ do |name, password|
1667
+ # (Code removed for brevity)
1668
+ end
1669
+
1670
+ This means that steps can be reused in other steps. The GivenScenario feature achieves a similar
1671
+ effect (on the scenario level), but this feature is something we're not very happy with, mostly
1672
+ because it's not parameterisable. Calling steps from steps is.
1673
+
1674
+ GivenScenario will still be working several releases, but the plan is to remove it completely in
1675
+ the 0.3.0 release.
1676
+
1677
+ ### Seeing where a step is defined
1678
+
1679
+ Prior to this release it could be hard to find out where the ruby step definition matching
1680
+ a plain text step is defined. Not anymore! Cucumber will now output this:
1681
+
1682
+ Scenario: Regular numbers
1683
+ Given I have entered 3 into the calculator # features/steps/calculator_steps.rb:12
1684
+ And I have entered 2 into the calculator # features/steps/calculator_steps.rb:12
1685
+ When I press divide # features/steps/calculator_steps.rb:16
1686
+ Then the result should be 1.5 on the screen # features/steps/calculator_steps.rb:20
1687
+ And the result class should be Float # features/steps/calculator_steps.rb:24
1688
+
1689
+ ### Bugfixes
1690
+ * Fixed a bug in the command line args being lost when using --profile (#27, Joseph Wilk)
1691
+ * Fixed a bug in Webrat selects (Tim Glen)
1692
+ * Fixed parsing of DOS line endings (#2, #28, Aslak Hellesøy)
1693
+
1694
+ ### New features
1695
+ * Steps can be called from other steps (#3, Bryan Helmkamp, Aslak Hellesøy)
1696
+ * Added But keyword to all languages (#21, Aslak Hellesøy)
1697
+ * Added --no-source option to display step definition location next to step text (#26, Joseph Wilk, Aslak Hellesøy)
1698
+ * Added more Webrat steps (#25, Tim Glen)
1699
+
1700
+ ## [v0.1.6](https://github.com/cucumber/cucumber/compare/f3292f4023a707099d02602b2bd6c4ca3cec6820...v0.1.6)
1701
+
1702
+ First gem release!