cucumber 7.1.0 → 9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -27
  3. data/VERSION +1 -0
  4. data/lib/cucumber/cli/configuration.rb +4 -1
  5. data/lib/cucumber/cli/main.rb +5 -4
  6. data/lib/cucumber/cli/options.rb +73 -67
  7. data/lib/cucumber/cli/profile_loader.rb +6 -10
  8. data/lib/cucumber/cli/rerun_file.rb +1 -1
  9. data/lib/cucumber/configuration.rb +12 -6
  10. data/lib/cucumber/constantize.rb +1 -1
  11. data/lib/cucumber/deprecate.rb +6 -46
  12. data/lib/cucumber/errors.rb +3 -2
  13. data/lib/cucumber/events/envelope.rb +2 -0
  14. data/lib/cucumber/events/gherkin_source_parsed.rb +2 -0
  15. data/lib/cucumber/events/gherkin_source_read.rb +2 -0
  16. data/lib/cucumber/events/hook_test_step_created.rb +1 -2
  17. data/lib/cucumber/events/step_activated.rb +0 -6
  18. data/lib/cucumber/events/step_definition_registered.rb +0 -5
  19. data/lib/cucumber/events/test_case_created.rb +1 -2
  20. data/lib/cucumber/events/test_case_finished.rb +2 -0
  21. data/lib/cucumber/events/test_case_started.rb +2 -0
  22. data/lib/cucumber/events/test_run_finished.rb +2 -1
  23. data/lib/cucumber/events/test_step_created.rb +1 -2
  24. data/lib/cucumber/events/test_step_finished.rb +2 -0
  25. data/lib/cucumber/events/test_step_started.rb +2 -0
  26. data/lib/cucumber/events/undefined_parameter_type.rb +3 -2
  27. data/lib/cucumber/events.rb +1 -1
  28. data/lib/cucumber/file_specs.rb +2 -1
  29. data/lib/cucumber/filters/activate_steps.rb +1 -0
  30. data/lib/cucumber/filters/retry.rb +20 -1
  31. data/lib/cucumber/filters/tag_limits/verifier.rb +1 -3
  32. data/lib/cucumber/filters/tag_limits.rb +1 -3
  33. data/lib/cucumber/formatter/ansicolor.rb +70 -78
  34. data/lib/cucumber/formatter/ast_lookup.rb +16 -8
  35. data/lib/cucumber/formatter/backtrace_filter.rb +2 -1
  36. data/lib/cucumber/formatter/console.rb +26 -16
  37. data/lib/cucumber/formatter/console_counts.rb +3 -1
  38. data/lib/cucumber/formatter/console_issues.rb +10 -3
  39. data/lib/cucumber/formatter/curl_option_parser.rb +49 -0
  40. data/lib/cucumber/formatter/duration_extractor.rb +1 -0
  41. data/lib/cucumber/formatter/errors.rb +3 -0
  42. data/lib/cucumber/formatter/fail_fast.rb +1 -1
  43. data/lib/cucumber/formatter/fanout.rb +1 -1
  44. data/lib/cucumber/formatter/html.rb +2 -0
  45. data/lib/cucumber/formatter/http_io.rb +10 -137
  46. data/lib/cucumber/formatter/ignore_missing_messages.rb +1 -1
  47. data/lib/cucumber/formatter/io.rb +5 -3
  48. data/lib/cucumber/formatter/io_http_buffer.rb +88 -0
  49. data/lib/cucumber/formatter/json.rb +10 -12
  50. data/lib/cucumber/formatter/junit.rb +10 -7
  51. data/lib/cucumber/formatter/message_builder.rb +24 -8
  52. data/lib/cucumber/formatter/pretty.rb +24 -10
  53. data/lib/cucumber/formatter/progress.rb +1 -0
  54. data/lib/cucumber/formatter/publish_banner_printer.rb +0 -2
  55. data/lib/cucumber/formatter/query/hook_by_test_step.rb +3 -0
  56. data/lib/cucumber/formatter/query/pickle_by_test.rb +2 -0
  57. data/lib/cucumber/formatter/query/pickle_step_by_test_step.rb +2 -0
  58. data/lib/cucumber/formatter/query/step_definitions_by_test_step.rb +2 -0
  59. data/lib/cucumber/formatter/query/test_case_started_by_test_case.rb +4 -0
  60. data/lib/cucumber/formatter/rerun.rb +5 -3
  61. data/lib/cucumber/formatter/summary.rb +1 -0
  62. data/lib/cucumber/formatter/unicode.rb +7 -7
  63. data/lib/cucumber/formatter/url_reporter.rb +3 -1
  64. data/lib/cucumber/formatter/usage.rb +3 -3
  65. data/lib/cucumber/gherkin/data_table_parser.rb +1 -0
  66. data/lib/cucumber/gherkin/formatter/ansi_escapes.rb +25 -27
  67. data/lib/cucumber/glue/dsl.rb +20 -25
  68. data/lib/cucumber/glue/hook.rb +6 -3
  69. data/lib/cucumber/glue/invoke_in_world.rb +5 -5
  70. data/lib/cucumber/glue/proto_world.rb +30 -34
  71. data/lib/cucumber/glue/registry_and_more.rb +15 -25
  72. data/lib/cucumber/glue/snippet.rb +4 -2
  73. data/lib/cucumber/glue/step_definition.rb +6 -3
  74. data/lib/cucumber/glue/world_factory.rb +2 -0
  75. data/lib/cucumber/hooks.rb +1 -0
  76. data/lib/cucumber/multiline_argument/data_table/diff_matrices.rb +4 -1
  77. data/lib/cucumber/multiline_argument/data_table.rb +68 -80
  78. data/lib/cucumber/platform.rb +11 -16
  79. data/lib/cucumber/rake/task.rb +22 -15
  80. data/lib/cucumber/rspec/disable_option_parser.rb +6 -3
  81. data/lib/cucumber/running_test_case.rb +2 -1
  82. data/lib/cucumber/runtime/for_programming_languages.rb +1 -2
  83. data/lib/cucumber/runtime/meta_message_builder.rb +108 -0
  84. data/lib/cucumber/runtime/support_code.rb +3 -0
  85. data/lib/cucumber/runtime/user_interface.rb +7 -6
  86. data/lib/cucumber/runtime.rb +22 -38
  87. data/lib/cucumber/step_match.rb +6 -4
  88. data/lib/cucumber/step_match_search.rb +3 -2
  89. data/lib/cucumber/term/ansicolor.rb +74 -50
  90. data/lib/cucumber/term/banner.rb +3 -0
  91. data/lib/cucumber.rb +2 -1
  92. data/lib/simplecov_setup.rb +1 -1
  93. metadata +95 -244
  94. data/CHANGELOG.md +0 -3131
  95. data/CONTRIBUTING.md +0 -250
  96. data/lib/autotest/cucumber.rb +0 -8
  97. data/lib/autotest/cucumber_mixin.rb +0 -130
  98. data/lib/autotest/cucumber_rails.rb +0 -8
  99. data/lib/autotest/cucumber_rails_rspec.rb +0 -8
  100. data/lib/autotest/cucumber_rails_rspec2.rb +0 -8
  101. data/lib/autotest/cucumber_rspec.rb +0 -8
  102. data/lib/autotest/cucumber_rspec2.rb +0 -8
  103. data/lib/autotest/discover.rb +0 -13
  104. data/lib/cucumber/version +0 -1
data/CHANGELOG.md DELETED
@@ -1,3131 +0,0 @@
1
- # CHANGE LOG
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- This project adheres to [Semantic Versioning](http://semver.org).
6
-
7
- This document is formatted according to the principles of [Keep A CHANGELOG](http://keepachangelog.com).
8
-
9
- Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) for more info on how to contribute to Cucumber.
10
-
11
- ---
12
-
13
- ## [Unreleased](https://github.com/cucumber/cucumber-ruby/compare/v7.1.0...main)
14
-
15
- ### Added
16
-
17
- ### Fixed
18
-
19
- ### Changed
20
-
21
- ### Removed
22
-
23
- ### Security fixes
24
-
25
- ### Deprecated
26
-
27
- ## [7.1.0](https://github.com/cucumber/cucumber-ruby/compare/v7.0.0...v7.1.0) (2021-10-12)
28
-
29
- ### Added
30
-
31
- - New `BeforeAll` and `AfterAll` hooks
32
-
33
- More information about hooks can be found in
34
- [features/docs/writing_support_code/hooks/README.md](./features/docs/writing_support_code/hooks/README.md).
35
-
36
- ([1569](https://github.com/cucumber/cucumber-ruby/pull/1569)
37
- [aurelien-reeves](https://github.com/aurelien-reeves))
38
-
39
- - New hook: `InstallPlugin`
40
-
41
- It is intended to be used to install an external plugin, like cucumber-ruby-wire.
42
-
43
- It is fired just after the `AfterConfiguration` one. Two parameters are given:
44
- the same `configuration` instance that is given to `AfterConfiguration`,
45
- and a [`registry_wrapper`](./lib/cucumber/glue/registry_wrapper.rb) which allows
46
- plugins to have access to specific internal methods.
47
-
48
- See [cucumber-ruby-wire](https://github.com/cucumber/cucumber-ruby-wire/) for a
49
- usage example.
50
-
51
- More information about hooks can be found in
52
- [features/docs/writing_support_code/hooks/README.md](./features/docs/writing_support_code/hooks/README.md).
53
-
54
- ([1564](https://github.com/cucumber/cucumber-ruby/pull/1564)
55
- [aurelien-reeves](https://github.com/aurelien-reeves))
56
-
57
- ### Changed
58
-
59
- - Added release dates to CHANGELOG.md.
60
- ([1543](https://github.com/cucumber/cucumber-ruby/pull/1573)
61
- [AudTheCodeWitch](https://github.com/AudTheCodeWitch))
62
-
63
- ### Deprecated
64
-
65
- - `AfterConfiguration` is deprecated. Please use `InstallPlugin` or `BeforeAll` instead.
66
- See the [UPGRADING.md](./UPGRADING.md#upgrading-to-710) to update your code accordingly.
67
- ([1570](https://github.com/cucumber/cucumber-ruby/pull/1570))
68
-
69
- - The built-in Wire protocol
70
-
71
- The Wire protocol is still officially supported, but as an optional plugin rather
72
- than a built-in feature. See the
73
- [UPGRADING.md](./UPGRADING.md#upgrading-to-710)
74
- to update your code accordingly.
75
-
76
- ([1564](https://github.com/cucumber/cucumber-ruby/pull/1564)
77
- [aurelien-reeves](https://github.com/aurelien-reeves))
78
-
79
- ### Known issue
80
-
81
- - There is a known issue with JRuby 9.3. For more info, see
82
- [PR#1571](https://github.com/cucumber/cucumber-ruby/pull/1571).
83
-
84
- ## [7.0.0](https://github.com/cucumber/cucumber-ruby/compare/v6.1.0...v7.0.0) (2021-07-19)
85
-
86
- ### Fixed
87
-
88
- - Cucumber terminating with `negative argument` ArgumentError
89
- ([1546](https://github.com/cucumber/cucumber-ruby/issues/1546)
90
- [1548](https://github.com/cucumber/cucumber-ruby/pull/1548)
91
- [Serghei Moret](https://github.com/JoeSSS))
92
- - Fixed reports banner to point to [new docs](https://cucumber.io/docs/cucumber/environment-variables/) about environment variables
93
-
94
- ### Changed
95
-
96
- - Upgrade of `cucumber-core`, `cucumber-gherkin` and `cucumber-messages`.
97
-
98
- This brings some breaking changes in `Cucumber::Messages`.
99
- ([1544](https://github.com/cucumber/cucumber-ruby/pull/1544)
100
- [aurelien-reeves](https://github.com/aurelien-reeves))
101
-
102
- This also fixes [1545](https://github.com/cucumber/cucumber-ruby/issues/1545)
103
- ([1549](https://github.com/cucumber/cucumber-ruby/pull/1549)
104
- [luke-hill](https://github.com/luke-hill))
105
-
106
- ### Removed
107
-
108
- - On Windows, auto-detection of ANSICON has been removed - Windows now properly
109
- supports ANSI colors in the terminal. In case of issues on older versions of
110
- Windows, execute cucumber with `--no-color`, or install
111
- [ANSICON](https://github.com/adoxa/ansicon/) globally.
112
- ([1561](https://github.com/cucumber/cucumber-ruby/pull/1561)
113
- [yosukei3108](https://github.com/yosukei3108))
114
-
115
- ## [v6.1.0](https://github.com/cucumber/cucumber-ruby/compare/v6.0.0...v6.1.0) (2021-05-18)
116
-
117
- ### Fixed
118
-
119
- - `--dry-run` now supports `message` based-formatters
120
- ([1540](https://github.com/cucumber/cucumber-ruby/pull/1540)
121
- [1496](https://github.com/cucumber/cucumber-ruby/issues/1496)
122
- [1488](https://github.com/cucumber/cucumber-ruby/issues/1488)
123
- [aurelien-reeves](https://github.com/aurelien-reeves))
124
- - Step definitions now uses object instances created in the ParameterType
125
- ([1538](https://github.com/cucumber/cucumber-ruby/pull/1538)
126
- [1532](https://github.com/cucumber/cucumber-ruby/issues/1532)
127
- [aurelien-reeves](https://github.com/aurelien-reeves))
128
- - `attach` can now handle null bytes in the data.
129
- ([1536](https://github.com/cucumber/cucumber-ruby/pull/1536)
130
- [1529](https://github.com/cucumber/cucumber-ruby/issues/1529)
131
- [aurelien-reeves](https://github.com/aurelien-reeves))
132
-
133
- ### Changed
134
-
135
- - The JSON formatter now reports empty scenarios.
136
- No status is reported for empty scenarios in the resulting JSON.
137
- No more empty background is reported with empty scenarios.
138
- ([1533](https://github.com/cucumber/cucumber-ruby/pull/1533)
139
- [1530](https://github.com/cucumber/cucumber-ruby/issues/1530)
140
- [aurelien-reeves](https://github.com/aurelien-reeves))
141
- - Undeprecate the JSON formatter. It won't be removed any time soon.
142
-
143
- ### Dependencies
144
-
145
- - Updated `cucumber-core` ~> 9.0.1
146
-
147
- ## [v6.0.0](https://github.com/cucumber/cucumber-ruby/compare/v5.3.0...v6.0.0) (2021-04-14)
148
-
149
- ### Added
150
-
151
- - Support tagged rules ([cucumber#1123](https://github.com/cucumber/cucumber/issues/1123))
152
-
153
- ### Fixed
154
-
155
- - It is now possible to attach a file passing its path
156
- ([#1506](https://github.com/cucumber/cucumber-ruby/issues/1506)
157
- [#1514](https://github.com/cucumber/cucumber-ruby/pull/1514)
158
- [aurelien-reeves](https://github.com/aurelien-reeves))
159
-
160
- ### Changed
161
-
162
- - Upgraded dependencies (see diff)
163
-
164
- ### Removed
165
-
166
- - `embed` in step definitions in favor of `attach`.
167
- `embed` has been deprecated in version 4.0.
168
- Simply replace `embed` with `attach`.
169
- ([#1523](https://github.com/cucumber/cucumber-ruby/pull/1523)
170
- [aurelien-reeves](https://github.com/aurelien-reeves))
171
- - `puts` in step definitions in favor of `log`.
172
- `puts` has been deprecated in version 4.0.
173
- Simply replace `puts` with `log`.
174
- ([#1523](https://github.com/cucumber/cucumber-ruby/pull/1523)
175
- [aurelien-reeves](https://github.com/aurelien-reeves))
176
-
177
- ## [5.3.0](https://github.com/cucumber/cucumber-ruby/compare/v5.2.0...v5.3.0) (2021-01-28)
178
-
179
- ### Added
180
-
181
- - `fileattribute` cli argument available to attach `file` to junit formatter
182
-
183
- ### Fixed
184
-
185
- - Circle-CI windows build now silently installs MSYS2 using Chocolatey before
186
- setting-up the ruby devkit with ridk
187
- ([#1503](https://github.com/cucumber/cucumber-ruby/pull/1503)
188
- [aurelien-reeves](https://github.com/aurelien-reeves))
189
-
190
- - `--publish` and no formatter now uses the pretty formatter per default
191
- ([#1468](https://github.com/cucumber/cucumber-ruby/issues/1468)
192
- [#1500](https://github.com/cucumber/cucumber-ruby/pull/1500)
193
- [aurelien-reeves](https://github.com/aurelien-reeves))
194
-
195
- ## [5.2.0](https://github.com/cucumber/cucumber-ruby/compare/v5.1.3...v5.2.0) (2020-10-21)
196
-
197
- ### Changed
198
-
199
- - `--publish` uses the response provided by the server as the banner [#1472](https://github.com/cucumber/cucumber-ruby/issues/1472)
200
-
201
- ## [5.1.3](https://github.com/cucumber/cucumber-ruby/compare/v5.1.2...v5.1.3) (2020-10-07)
202
-
203
- ### Fixed
204
-
205
- - The `CUCUMBER_PUBLISH_TOKEN` now sets the correct HTTP header, following a fix in the curl option parser.
206
-
207
- ## [5.1.2](https://github.com/cucumber/cucumber-ruby/compare/v5.1.1...v5.1.2) (2020-09-18)
208
-
209
- ### Fixed
210
-
211
- - Do not send headers after following redirection [#1475](https://github.com/cucumber/cucumber-ruby/pull/1475)
212
-
213
- ## [5.1.1](https://github.com/cucumber/cucumber-ruby/compare/v5.1.0...v5.1.1) (2020-09-04)
214
-
215
- ### Security fixes
216
-
217
- - Update `cucumber-create-meta` to 2.0.2
218
-
219
- ## [5.1.0](https://github.com/cucumber/cucumber-ruby/compare/v5.0.0...5.1.0) (2020-08-24)
220
-
221
- ### Added
222
-
223
- - `-X GET` in an `--out` URL will now issue a `GET` request _without_ a body. If the response is `202 Accepted` _and_
224
- the `Location` header is present, a new `PUT` request will be sent _with_ the body.
225
-
226
- The main reason for this added behaviour is to allow request bodies larger than 6Mb to be sent while using `--publish`.
227
- This also improves performance since the request body is only sent once (previously it would be sent twice).
228
-
229
- ### Changed
230
-
231
- - Set banner border color to green when publishing reports
232
- - Postpone removal of `--format=json`, `embed` and `puts` to version 6.0.0 in deprecation messages
233
-
234
- ### Fixed
235
-
236
- - Display banner on stderr when publishing reports [#1462](https://github.com/cucumber/cucumber-ruby/issues/1462)
237
-
238
- ## [5.0.0](https://github.com/cucumber/cucumber-ruby/compare/v4.1.0...5.0.0) (2020-08-19)
239
-
240
- ### Added
241
-
242
- - `--publish` automatically publishes reports to [reports.cucumber.io](https://reports.cucumber.io)
243
- - `--publish-quiet` does not print information banner about [reports.cucumber.io](https://reports.cucumber.io)
244
-
245
- ### Changed
246
-
247
- - `-q, --quiet` will also imply `--publish-quiet` in addition to `--no-snippets --no-source --no-duration`
248
-
249
- ### Removed
250
-
251
- - Dropped support for Ruby [2.3](https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/)
252
- and [2.4](https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/)
253
-
254
- ### Fixed
255
-
256
- - Update code to be compatible with `diff-lcs` versions 1.3 and 1.4
257
- - Defer registration of `at_exit` hook that flushes and closes formatter streams
258
- ([#1458](https://github.com/cucumber/cucumber-ruby/pull/1458))
259
- - Updated gems (see git diff for details)
260
- - `cucumber-expressions`
261
- - `cucumber-gherkin`
262
- - `cucumber-create-meta`
263
- - `cucumber-messages`
264
- - Fix issue with timestamp nanos [#1438](https://github.com/cucumber/cucumber-ruby/issues/1438)
265
- - `cucumber-html-formatter`
266
- - Add filtering capabilities [#1444](https://github.com/cucumber/cucumber-ruby/issues/1444)
267
- - Fix Interceptor that was raising exception when calling `puts` on the wrapped stream ([#1445](https://github.com/cucumber/cucumber-ruby/issues/1445))
268
-
269
- ## [4.1.0](https://github.com/cucumber/cucumber-ruby/compare/v4.0.1...v4.1.0) (2020-07-01)
270
-
271
- ### Changed
272
-
273
- - Use [`cucumber-create-meta`](https://rubygems.org/gems/cucumber-create-meta) to produce the `Meta` message before the run.
274
-
275
- - Updated gems:
276
- - `cucumber-wire` ~> 3.1.0
277
- - `cucumber-core` ~> 7.1.0
278
- - `cucumber-gherkin` ~> 14.0.1
279
- - Fix issue with empty feature files [#1427](https://github.com/cucumber/cucumber-ruby/issues/1427)
280
- - `cucumber-messages` ~> 12.2.0
281
- - `cucumber-html-formatter` ~> 7.0.0
282
- - Fix issue with Hook attachments [#1420](https://github.com/cucumber/cucumber-ruby/issues/1420)
283
-
284
- ### Fixed
285
-
286
- - `AfterStep` hook do not cause issue when running `message` formatter. [#1433](https://github.com/cucumber/cucumber-ruby/issues/1433) - [#1434](https://github.com/cucumber/cucumber-ruby/pull/1434)
287
-
288
- ## [4.0.1](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0...v4.0.1) (2020-06-23)
289
-
290
- ### Fixed
291
-
292
- - force reference to `diff-lcs` to 1.3 as 1.4 introduced breaking changes.
293
-
294
- ## [4.0.0](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0.rc.5...v4.0.0) (2020-06-02)
295
-
296
- ### Changed
297
-
298
- - `log` method can now be called with non-string objects and will run `.to_s` on them. [#1410](https://github.com/cucumber/cucumber-ruby/issues/1410)
299
-
300
- ### Improved
301
-
302
- - Display snippet when using undefined parameter type [#1411](https://github.com/cucumber/cucumber-ruby/issues/1411)
303
-
304
- ## [4.0.0.rc.6](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0.rc.5...4.0.0.rc.6) (2020-04-24)
305
-
306
- ### Changed
307
-
308
- - Code snippet for an undefined step with a Doc String will ouput `doc_string` instead of `string` in block params
309
- ([#1401](https://github.com/cucumber/cucumber-ruby/issues/1401)
310
- [#1402](https://github.com/cucumber/cucumber-ruby/pull/1402)
311
- [karamosky](https://github.com/karamosky))
312
-
313
- - Updated monorepo libraries:
314
-
315
- - cucumber-gherkin ~> 13
316
- - cucumber-html-formatter ~> 6
317
- - cucumber-cucumber-expressions ~> 10
318
-
319
- - Use `cucumber-ruby-core` 7.0.0
320
-
321
- - Use `cucumber-ruby-wire` 3.0.0
322
-
323
- - Use `body` field of attachments
324
-
325
- ### Improved
326
-
327
- - `--out url` updates:
328
- - supports redirects
329
- - use `PUT` method by default
330
- - use a cURL like options (for example: `cucumber --out 'http://example.com -X POST -H Content-Type: json`)
331
-
332
- ## [4.0.0.rc.5](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0.rc.4...4.0.0.rc.5) (2020-03-17)
333
-
334
- ### Added
335
-
336
- - New html formatter enabled by option `--format html --out report.html`.
337
-
338
- - Accept `--out URL` to POST results to a web server
339
- If a URL is used as output, the output will be sent with a POST request.
340
- This can be overridden by specifying e.g. `http-method=PUT` as a query parameter.
341
- Other `http-` prefixed query parameters will be converted to request headers
342
- (with the `http-` prefix stripped off).
343
-
344
- ## [4.0.0.rc.4](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0.rc.3...4.0.0.rc.4) (2020-02-24)
345
-
346
- ### Added
347
-
348
- - Add `message`formatter which produces `Cucumber::Messages` ndjson output.
349
- - Comply with [`cucumber-compatibility-kit](https://github.com/cucumber/cucumber/tree/master/compatibility-kit)
350
- - Methods `log` and `attach` can be used in step definitions to attach text or images
351
-
352
- ### Deprecated
353
-
354
- - `--format=json` in favor of the `message` formatter and the stand-alone JSON formatter
355
- - `puts` in step definitions in favor of `log` ([cucumber#897](https://github.com/cucumber/cucumber/issues/897))
356
- - `embed` in step definitions in favor of `attach` ([cucumber#897](https://github.com/cucumber/cucumber/issues/897))
357
-
358
- ## [4.0.0.rc.3](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0.rc.2...v4.0.0.rc.3) (2019-10-31)
359
-
360
- ### Changed
361
-
362
- - Update to cucumber-wire 1.1.
363
-
364
- ## [4.0.0.rc.2](https://github.com/cucumber/cucumber-ruby/compare/v4.0.0.rc.1...v4.0.0.rc.2) (2019-10-31)
365
-
366
- ### Added
367
-
368
- - There is a new methodology in Cucumber for how the auto-loader works
369
- - The old `load` behaviour is now replaced with a newer `require` behaviour
370
- - Cucumber will (From version 4), now auto-load files using the `require` method
371
- - If you wish to alter this, then you can set a top level config option: `Cucumber.use_legacy_autoloader`
372
- - Like most config options, setting this inside a `spec_helper.rb` or `env.rb` file is advised
373
- - For more information on this change, including why it was made. Please read this
374
- [Blog Post](https://cucumber.io/blog/open-source/tweaking-cucumber-rubys-auto-loader/)
375
- ([#1349](https://github.com/cucumber/cucumber-ruby/pull/1349),
376
- [#1043](https://github.com/cucumber/cucumber-ruby/issues/1043)
377
- [luke-hill](https://github.com/luke-hill))
378
-
379
- ### Changed
380
-
381
- - Going forward the minimum ruby version for all cucumber based gems is 2.3
382
- ([luke-hill](https://github.com/luke-hill))
383
-
384
- ### Removed
385
-
386
- - Removed Travis publish job for cucumber-pro(a.k.a. jam)
387
- ([#1350](https://github.com/cucumber/cucumber-ruby/pull/1350)
388
- [luke-hill](https://github.com/luke-hill))
389
-
390
- - Drop support for JRuby. We may add this back if new versions of protobuf for JRuby
391
- start working, or if someone can make the build pass with an older version.
392
- All this means is we're ok to make releases while the jruby CI job is failing.
393
-
394
- ([aslakhellesoy](https://github.com/aslakhellesoy))
395
-
396
- - Remove `dots-formatter introduced in `4.0.0rc1`
397
-
398
- ### Fixed
399
-
400
- - Fix the placeholder expansions in the json formatter
401
- ([#1361](https://github.com/cucumber/cucumber-ruby/pull/1361)
402
- [brasmusson](https://github.com/brasmusson))
403
- - Fix seed printed in cucumber UI to match the seed that was actually used.
404
- ([#1329](https://github.com/cucumber/cucumber-ruby/pull/1329)
405
- [deivid-rodriguez](https://github.com/deivid-rodriguez))
406
- - Make SIGINT/`Ctrl+c` behavior consistent with SIGTERM/`kill` behavior - now first invocation causes existing scenario to stop running and jump to `at_exit`, second invocation causes immediate exit. Before that first invocation only instructed Cucumber to exit after scenario and second invocation caused immediate exit skipping `at_exit`.
407
- ([#1353](https://github.com/cucumber/cucumber-ruby/pull/1353)
408
- [akostadinov](https://github.com/akostadinov))
409
-
410
- ### Improved
411
-
412
- - Filter out any lines containing `site_ruby` from stacktrace
413
-
414
- ## [4.0.0.rc.1](https://github.com/cucumber/cucumber-ruby/compare/v3.1.2...v4.0.0.rc.1) (2018-09-29)
415
-
416
- ### Added
417
-
418
- - Added support for new `Rule` keyword. [Read more here.](https://github.com/cucumber/cucumber/blob/master/gherkin/CHANGELOG.md#6013---2018-09-25)
419
- - Added new `dots` formatter. This is the first step of a larger strategy to move the formatters to a new architecture where they delegate to shared executables via messages.
420
-
421
- ### Changed
422
-
423
- - Use Gherkin v6.
424
- ([#1313](https://github.com/cucumber/cucumber-ruby/pull/1313)
425
- [brasmusson](https://github.com/brasmusson))
426
- - Do not apply Before and After Hooks to Test Cases with no Test Steps.
427
- ([#1311](https://github.com/cucumber/cucumber-ruby/pull/1311)
428
- [brasmusson](https://github.com/brasmusson))
429
- - Pass the registry to the Wire plugin.
430
- ([#1309](https://github.com/cucumber/cucumber-ruby/pull/1309)
431
- [brasmusson](https://github.com/brasmusson))
432
- - Adapt to using the Gherkin compiler and Pickles in the core.
433
- ([#1309](https://github.com/cucumber/cucumber-ruby/pull/1309)
434
- [brasmusson](https://github.com/brasmusson))
435
- - Let the Pretty Formatter use events.
436
- ([#1305](https://github.com/cucumber/cucumber-ruby/pull/1305)
437
- [brasmusson](https://github.com/brasmusson))
438
- - Use single quotes in generated template steps ([#1323](https://github.com/cucumber/cucumber-ruby/pull/1323) [acant](https://github.com/acant))
439
-
440
- ### Removed
441
-
442
- - Remove the support of old style tag expressions.
443
- ([#1314](https://github.com/cucumber/cucumber-ruby/pull/1314),
444
- [brasmusson](https://github.com/brasmusson))
445
- - Remove the Legacy API for Formatters.
446
- ([#1230](https://github.com/cucumber/cucumber-ruby/pull/1230),
447
- [#839](https://github.com/cucumber/cucumber-ruby/issues/839)
448
- [brasmusson](https://github.com/brasmusson))
449
- - Remove the JSON Pretty Formatter (which was the same as the JSON formatter).
450
- ([brasmusson](https://github.com/brasmusson))
451
- - Remove the HTML Formatter.
452
- ([#1306](https://github.com/cucumber/cucumber-ruby/pull/1306)
453
- [brasmusson](https://github.com/brasmusson))
454
-
455
- ### Fixed
456
-
457
- - Wire protocol compatibility for docstrings.
458
- ([#1183](https://github.com/cucumber/cucumber-ruby/issues/1183))
459
- - Let the Rerun Formatter handle flaky scenarios.
460
- ([#1310](https://github.com/cucumber/cucumber-ruby/pull/1310)
461
- [brasmusson](https://github.com/brasmusson))
462
-
463
- ### Improved
464
-
465
- - Code style changes completed as per backlog of Rubocop TODO file. ([#1021](https://github.com/cucumber/cucumber-ruby/issues/1021) [@jaysonesmith](https://github.com/jaysonesmith))
466
-
467
- ## [3.1.2](https://github.com/cucumber/cucumber-ruby/compare/v3.1.1...v3.1.2) (2018-07-13)
468
-
469
- ### Changed
470
-
471
- - Upgraded to `cucumber-core` 3.2.0
472
- - Change to use the gherkin step location in the Json formatter.
473
- ([#1243](https://github.com/cucumber/cucumber-ruby/pull/1243),
474
- [#1108](https://github.com/cucumber/cucumber-ruby/issues/1108)
475
- [brasmusson](https://github.com/brasmusson))
476
-
477
- ### Fixed
478
-
479
- - Support ParameterType with empty capture group.
480
- ([#404](https://github.com/cucumber/cucumber/issues/404)
481
- [aslakhellesoy](https://github.com/aslakhellesoy))
482
-
483
- ## [3.1.1](https://github.com/cucumber/cucumber-ruby/compare/v3.1.0...v3.1.1) (2018-06-03)
484
-
485
- ### Added
486
-
487
- - N/A
488
-
489
- ### Changed
490
-
491
- - Add Rubocop to default Rake task ([#1256](https://github.com/cucumber/cucumber-ruby/pull/1256) [@jaysonesmith](https://github.com/jaysonesmith))
492
- - Upgraded `cucumber-expressions` dependency to ~> 6.0.0 ([#1299](https://github.com/cucumber/cucumber-ruby/pull/1299) [@aslakhellesoy](https://github.com/aslakhellesoy))
493
- - Upgraded to `gherkin` 5.1.0 ([#1299](https://github.com/cucumber/cucumber-ruby/pull/1299) [@aslakhellesoy](https://github.com/aslakhellesoy))
494
-
495
- ### Deprecated
496
-
497
- - N/A
498
-
499
- ### Removed
500
-
501
- - N/A
502
-
503
- ### Fixed
504
-
505
- - Make `--fail-fast` play nice with `--retry` ([#1283](https://github.com/cucumber/cucumber-ruby/pull/1283) [@yrral86](https://github.com/yrral86))
506
- - Fix incompatible encodings error in JUnit formatter ([#1244](https://github.com/cucumber/cucumber-ruby/pull/1244) [@NickAb](https://github.com/NickAb)) (except on JRuby, see [#1259](https://github.com/cucumber/cucumber-ruby/pull/1259))
507
- - Fix the handling of failed hooks in the JUnit Formatter ([@brasmusson](https://github.com/brasmusson))
508
- - Fixed lengthy stacktrace when running `cucumber -f stepdefs` when steps aren't defined. ([#1286](https://github.com/cucumber/cucumber-ruby/pull/1286) [@xtrasimplicity](https://github.com/xtrasimplicity))
509
- - Fixed an error with HTML snippet generation when `frozen_string_literal` is enabled and the `Syntax` gem is not installed. ([#1287](https://github.com/cucumber/cucumber-ruby/pull/1287) [@xtrasimplicity](https://github.com/xtrasimplicity))
510
-
511
- ### Improved
512
-
513
- - N/A
514
-
515
- ## [3.1.0](https://github.com/cucumber/cucumber-ruby/compare/v3.0.2...v3.1.0) (2017-11-28)
516
-
517
- ### Added
518
-
519
- - ParameterType transformer runs in World
520
- ([#1213](https://github.com/cucumber/cucumber-ruby/pull/1213)
521
- [@aslakhellesoy](https://github.com/aslakhellesoy))
522
-
523
- ### Changed
524
-
525
- - Upgraded to `cucumber-expressions` 5.0.4
526
- - Upgraded to `cucumber-tag_expressions` 1.1.0
527
- - Upgraded to `gherkin` 5.0.0
528
-
529
- ### Fixed
530
-
531
- - Fix the handling of failed hooks in the JUnit Formatter ([@brasmusson](https://github.com/brasmusson))
532
-
533
- ## [3.0.2](https://github.com/cucumber/cucumber-ruby/compare/v3.0.1...v3.0.2) (2017-11-11)
534
-
535
- ### Removed
536
-
537
- - Cucumber is no longer tested on Ruby 2.1 and below.
538
-
539
- ### Fixed
540
-
541
- - Fix html reporter with more than one embedded screenshot ([#1216](https://github.com/cucumber/cucumber-ruby/pull/1216) [@nonkor](https://github.com/nonkor))
542
- - Change test expectation to handle Ruby's unstable sorting ([#1210](https://github.com/cucumber/cucumber-ruby/pull/1210) [@jaysonesmith](https://github.com/jaysonesmith))
543
- - Fix the printing of newlines in the rerun formatter - a problem introduced in [#1162](https://github.com/cucumber/cucumber-ruby/issues/1162) ([#1207](https://github.com/cucumber/cucumber-ruby/issues/1207) [@brasmusson](https://github.com/brasmusson))
544
- - Handle the `--retry` option in profiles ([#1050](https://github.com/cucumber/cucumber-ruby/issues/1050) [@brasmusson](https://github.com/brasmusson))
545
-
546
- ## [3.0.1](https://github.com/cucumber/cucumber-ruby/compare/v3.0.0...3.0.1) (2017-09-29)
547
-
548
- ### Fixed
549
-
550
- - `ParameterType` can now override `use_for_snippets` and `prefer_for_regexp_match` without throwing an error. ([@aslakhellesoy](https://github.com/aslakhellesoy))
551
- - Gemspec has `required_ruby_version = '>= 2.1'` ([@aslakhellesoy](https://github.com/aslakhellesoy))
552
-
553
- ## [3.0.0](https://github.com/cucumber/cucumber-ruby/compare/v3.0.0.pre.2...v3.0.0) (2017-09-27)
554
-
555
- ### Changed
556
-
557
- - Regexp capture groups with `(\d+)` are automatically converted to `Integer`
558
- - Rename `Step#name` to `#text` ([#1130](https://github.com/cucumber/cucumber-ruby/pull/1130) [@olleolleolle](https://github.com/olleolleolle))
559
- - `Transform` has been removed and replaced with `ParameterType`. See [upgrading instructions](https://cucumber.io/blog/2017/09/21/upgrading-to-cucumber-3). ([#1190](https://github.com/cucumber/cucumber-ruby/issues/1190) @aslakhellesoy)
560
- - Nested capture groups are not counted as parameters. See [upgrading instructions](https://cucumber.io/blog/2017/09/21/upgrading-to-cucumber-3). (@aslakhellesoy)
561
-
562
- ### Added
563
-
564
- - Handle selective strict options. ([#1169](https://github.com/cucumber/cucumber-ruby/pull/1169), [#1160](https://github.com/cucumber/cucumber-ruby/issues/1160) @brasmusson)
565
-
566
- ### Fixed
567
-
568
- - Use absolute path in IO formatter to prevent `chdir` issues. ([#1111](https://github.com/cucumber/cucumber-ruby/pull/1111/files) @akostadinov)
569
-
570
- - Fix bug in DataTable#symbolic_hashes ([#1200](https://github.com/cucumber/cucumber-ruby/pull/1200) @Ben-Behar)
571
-
572
- - Fix typo in JSON formatter ([#1196](https://github.com/cucumber/cucumber-ruby/pull/1196) @alb-i986)
573
-
574
- - Handle ambiguous steps as failed steps, when not using `--guess` ([#1132](https://github.com/cucumber/cucumber-ruby/pull/1132), [#1113](https://github.com/cucumber/cucumber-ruby/issues/1113) @MadameSheema, @enkessler, @brasmusson)
575
-
576
- ### Improved
577
-
578
- - Refactor: Extract HTMLBuilder#string_to_embed method to DRY up code ([#1187](https://github.com/cucumber/cucumber-ruby/pulls/1187) [@danascheider](https://github.com/danascheider))
579
- - As per [#251](https://github.com/cucumber/cucumber/issues/251): renamed History.md to CHANGELOG.md, added contributing message at beginning, and misc formatting. ([#1185](https://github.com/cucumber/cucumber-ruby/issues/1185) [jaysonesmith](https://github.com/jaysonesmith))
580
- - Use past tense in event names (`xStarting` -> `xStarted`) ([#1166](https://github.com/cucumber/cucumber-ruby/issues/1166) @brasmusson).
581
-
582
- ## [3.0.0.pre.2](https://github.com/cucumber/cucumber-ruby/compare/v2.4.0...v3.0.0.pre.2) (2017-07-26)
583
-
584
- ### Breaking changes
585
-
586
- - Remove support for Ruby 1.9.3 ([#993](https://github.com/cucumber/cucumber-ruby/pull/993) @brasmusson)
587
- - Remove support for Ruby 2.0.0 ([#1068](https://github.com/cucumber/cucumber-ruby/pull/1068) @mattwynne)
588
-
589
- ### New Features
590
-
591
- - Support for Cucumber Expressions ([#1156](https://github.com/cucumber/cucumber-ruby/pull/1156))
592
- - Use newlines in the rerun file produces by the rerun formatter ([1162](https://github.com/cucumber/cucumber-ruby/issues/1162) @brasmusson)
593
- - Detect and list flaky scenarios in the list of not ok scenarios ([#1159](https://github.com/cucumber/cucumber-ruby/pull/1159), ([1044](https://github.com/cucumber/cucumber-ruby/issues/1044)) @brasmusson)
594
- - List all not ok scenarios in the summary ([#1158](https://github.com/cucumber/cucumber-ruby/pull/1158) @brasmusson)
595
- - Emulate Cucumber-JS's new i18n CLI options ([#1140](https://github.com/cucumber/cucumber-ruby/pull/1140) @aidamanna)
596
- - Use the event bus in Cucumber-Ruby-Core ([#973](https://github.com/cucumber/cucumber-ruby/pull/973) @mattwynne)
597
- - Add --retry option to retry failed tests as part of the same run ([#920](https://github.com/cucumber/cucumber-ruby/pull/920) @DanaScheider)
598
- - Add a summary formatter ([#999](https://github.com/cucumber/cucumber-ruby/pull/999) @mattwynne)
599
- - Namespaced World modules ([#1007](https://github.com/cucumber/cucumber-ruby/pull/1007) @nodo)
600
- - Add per-formatter CLI options ([#1058](https://github.com/cucumber/cucumber-ruby/pull/1058) @nodo)
601
- - Use tag expressions for tag filtering ([#1054](https://github.com/cucumber/cucumber-ruby/pull/1054) @brasmusson)
602
- - Add a `TestRunStarting` event ([#1082](https://github.com/cucumber/cucumber-ruby/pull/1082) @mattwynne)
603
-
604
- ### Bugfixes
605
-
606
- - Fix the profile loader on Windows ([#1133](https://github.com/cucumber/cucumber-ruby/pulls/1133) @enkessler)
607
- - Fix incorrect `DataTable#diff!` results ([#1102](https://github.com/cucumber/cucumber-ruby/pulls/1102) @botandrose)
608
- - Do not apply the hooks to the test case several times when using the retry option ([#1098](https://github.com/cucumber/cucumber-ruby/issues/1098) @brasmusson)
609
- - Fix bug in comparing empty data tables ([#1097](https://github.com/cucumber/cucumber-ruby/pulls/1097), resolves [#1096](https://github.com/cucumber/cucumber-ruby/issues/1096))
610
- - Configure Gemfile to fetch cucumber-ruby-wire from git if the repo is not found locally ([#983](https://github.com/cucumber/cucumber-ruby/pulls/983), resolves [#961](https://github.com/cucumber/cucumber-ruby/issues/961))
611
- - Fix regression displaying CLI help ([#991](https://github.com/cucumber/cucumber-ruby/pull/991) @mattwynne)
612
- - with_filtered_backtrace called on Test::Result::Unknown with strange feature file ([#967](https://github.com/cucumber/cucumber-ruby/issues/967) @danascheider)
613
- - fix HTML formatter backtrace duplicate line bug ([#965](https://gthub.com/cucumber/cucumber-ruby/pull/965) @josephks)
614
- - Update env names correctly ([#1067](https://github.com/cucumber/cucumber-ruby/pull/1067) @junaruga)
615
- - Relax filter for "/usr/local/ruby-X.Y.Z/bin/bundle" ([#1079](https://github.com/cucumber/cucumber-ruby/pull/1079) @junaruga)
616
- - Avoid showing "@ rb_sysopen" noise for Ruby 2.4 ([#1080](https://github.com/cucumber/cucumber-ruby/pull/1080) @junaruga)
617
-
618
- ### Refactoring / Developer Experience
619
-
620
- - Spec: Events.registry exercised ([#1126](https://github.com/cucumber/cucumber-ruby/pulls/1126) @olleolleolle)
621
- - Remove programming language abstraction ([#1131](https://github.com/cucumber/cucumber-ruby/pulls/1131) @tooky, @mattwynne)
622
- - Update cucumber yaml to use new tag syntax ([#1147](https://github.com/cucumber/cucumber-ruby/pulls/1147) @danascheider)
623
- - Turn off Windows failures ([#1142](https://github.com/cucumber/cucumber-ruby/pulls/1142) @enkessler)
624
- - Add script to update history.md ([#1141](https://github.com/cucumber/cucumber-ruby/pulls/1141) @mattwynne)
625
- - Update Ruby 2.3 and 2.4 in .travis.yml ([#1100](https://github.com/cucumber/cucumber-ruby/pull/1100) @junaruga)
626
- - Fixes for rubocop violations ([#1095](https://github.com/cucumber/cucumber-ruby/pull/1095) @bv)
627
- - Fixes for rubocop violations ([#1042](https://github.com/cucumber/cucumber-ruby/pull/1042) @phoebeclarke)
628
- - Add frozen string literal magic comment to files and fix issues it causes ([#996](https://github.com/cucumber/cucumber-ruby/pull/996) @twalpole)
629
- - Several tests failing with rbenv ([#1017](https://github.com/cucumber/cucumber-ruby/issues/1017) @nodo)
630
- - Add rubocop to check the style of the codebase ([1014](https://github.com/cucumber/cucumber-ruby/issues/1014) @nodo)
631
- - Fix the rubocop violation 'Lint/AmbiguousRegexpLiteral' ([1025](https://github.com/cucumber/cucumber-ruby/pull/1025) @pmatsinopoulos)
632
- - Fix rubocop violations ([#1024](https://github.com/cucumber/cucumber-ruby/pull/1024) @madundead)
633
- - Fix style violations ([#1023](https://github.com/cucumber/cucumber-ruby/pull/1023) @nodo)
634
- - fix Lint/UselessAssignment ([1029](https://github.com/cucumber/cucumber-ruby/pull/1029) @hotovson)
635
- - fix Lint/EndAlignment ([#1032](https://github.com/cucumber/cucumber-ruby/pull/1032) @hotovson)
636
- - fix Lint/NonLocalExitFromIterator ([#1037](https://github.com/cucumber/cucumber-ruby/pull/1037) @hotovson)
637
- - fix Lint/UselessAccessModifier ([#1036](https://github.com/cucumber/cucumber-ruby/pull/1036) @hotovson)
638
- - Refs #1021 - Fixes the rubocop violation 'Style/StringLiterals' ([#1027](https://github.com/cucumber/cucumber-ruby/pull/1027) @pmatsinopoulos)
639
- - Fixes rubocop violation Lint/StringConversionInInterpolation ([#1038](https://github.com/cucumber/cucumber-ruby/pull/1038) @hotovson)
640
- - Fixes rubocop violation Style/FormatString ([#1040](https://github.com/cucumber/cucumber-ruby/pull/1040) @pmatsinopoulos)
641
- - Don't check temporary files by rubocop ([#1034](https://github.com/cucumber/cucumber-ruby/pull/1034) @hotovson)
642
- - fix Lint/NestedMethodDefinition ([#1035](https://github.com/cucumber/cucumber-ruby/pull/1035) @hotovson)
643
- - fix Lint/UnusedArgument ([#1033](https://github.com/cucumber/cucumber-ruby/pull/1033) @hotovson)
644
- - Fixes rubocop violation Performance/StringReplacement ([#1039](https://github.com/cucumber/cucumber-ruby/pull/1039) @pmatsinopoulos)
645
- - Fix an json compile error for "bundle install" on Ruby 2.4 ([#1069](https://github.com/cucumber/cucumber-ruby/pull/1069) @junaruga)
646
- - Add Ruby 2.4.0 as allow_failures in .travis.yml ([#1078](https://github.com/cucumber/cucumber-ruby/pull/1078) @junaruga)
647
- - Add ruby-head as a allow failures in .travis.yml ([#1087](https://github.com/cucumber/cucumber-ruby/pull/1087) @junaruga)
648
- - Refactoring for Rakefile to display cucumber task by "rake -T". ([#1088](https://github.com/cucumber/cucumber-ruby/pull/1088) @junaruga)
649
- - Fix some rubocop offenses ([#1093](https://github.com/cucumber/cucumber-ruby/pull/1093) @bv)
650
- - Add supported platforms to README.md. ([#1092](https://github.com/cucumber/cucumber-ruby/pull/1092) @junaruga)
651
- - Remove Ruby 2.4 from allow_failures in .travis.yml. ([#1099](https://github.com/cucumber/cucumber-ruby/pull/1099) @junaruga)
652
- - History: change bad character to space ([#1104](https://github.com/cucumber/cucumber-ruby/pull/1104) @olleolleolle)
653
- - Travis: jruby-9.1.8.0 in CI ([#1105](https://github.com/cucumber/cucumber-ruby/pull/1105) @olleolleolle)
654
- - Fix rubocop offenses 1021 003 ([#1107](https://github.com/cucumber/cucumber-ruby/pull/1107) @bv)
655
- - Travis: use jruby-9.1.10.0 ([#1114](https://github.com/cucumber/cucumber-ruby/pull/1114) @olleolleolle)
656
- - Change the Progress, Usage and Stepdef formatter use events ([#977](https://github.com/cucumber/cucumber-ruby/pull/977), [#1129](https://github.com/cucumber/cucumber-ruby/pull/1129) @brasmusson)
657
-
658
- ## [2.4.0](https://github.com/cucumber/cucumber-ruby/compare/v2.3.3...v2.4.0) (2016-06-09)
659
-
660
- ### New Features
661
-
662
- - Update to Gherkin v4.0 (@brasmusson)
663
-
664
- ### Bugfixes
665
-
666
- - Use HTTPS instead of Git as transport protocol ([#960](https://github.com/cucumber/cucumber-ruby/pull/960))
667
- - Make random order stable and platform independent ([#974](https://github.com/cucumber/cucumber-ruby/pull/974), closes [#971](https://github.com/cucumber/cucumber-ruby/issues/971))
668
- - Run scenarios in fully random order ([#970](https://github.com/cucumber/cucumber-ruby/pull/970) @threedaymonk)
669
- - Adding Test Step in AfterStep hook. ([#931](https://github.com/cucumber/cucumber-ruby/pull/931) @t-morgan)
670
- - Handle even more exotic rerun file formats seen in the wild ([#928](https://github.com/cucumber/cucumber-ruby/pull/928) @mcrmfc)
671
- - Allow Rake task to accept multiple profiles. ([#907](https://github.com/cucumber/cucumber-ruby/pull/907) @jasonkarns)
672
- - Let the JUnit formatter handle running test cases for different features interweaved ([#952](https://github.com/cucumber/cucumber-ruby/issues/952) @brasmusson)
673
-
674
- ## [2.3.3](https://github.com/cucumber/cucumber-ruby/compare/v2.3.2...v2.3.3) (2016-03-18)
675
-
676
- Added a message pointing users to [The Great Cucumber and BDD Census of 2016](https://cucumber.typeform.com/to/kjrSc2?audience=cucumber-ruby) to the installer message. Please take a few moments to help us all learn more about how you're using Cucumber and BDD.
677
-
678
- ### Bugfixes
679
-
680
- - Let the JSON formatter include data tables in the JSON file ([#948](https://github.com/cucumber/cucumber-ruby/issues/948) @brasmusson)
681
- - Stringifying location in the JSON formatter for more consistent json parsing ([949](https://github.com/cucumber/cucumber-ruby/pull/949), [945](https://github.com/cucumber/cucumber-ruby/issues/945) @larryprice)
682
-
683
- ## [2.3.2](https://github.com/cucumber/cucumber-ruby/compare/v2.3.1...v2.3.2) (2016-01-21)
684
-
685
- Brought the event bus code back into Cucumber to avoid https://github.com/fedux-org/event-bus/issues/6
686
-
687
- ## [2.3.1](https://github.com/cucumber/cucumber-ruby/compare/v2.3.0...v2.3.1) (2016-01-20)
688
-
689
- Better deprecation warnings to help fix https://github.com/cucumber/cucumber-ruby/issues/942
690
-
691
- ## [2.3.0](https://github.com/cucumber/cucumber-ruby/compare/v2.2.0...v2.3.0) (2016-01-13)
692
-
693
- ### New Features
694
-
695
- - Update to Gherkin v3.2.0 (@brasmusson)
696
-
697
- ### Bugfixes
698
-
699
- ### Refactoring
700
-
701
- ## [2.2.0](https://github.com/cucumber/cucumber-ruby/compare/v2.1.0...v2.2.0) (2016-01-08)
702
-
703
- Although this release is only bugfixes and refactorings, the extraction of the wire protocol is quite a significant change and
704
- could cause breaking changes for users of undocumented APIs. Hence the minor version bump.
705
-
706
- ### Bugfixes
707
-
708
- - Let the formatters output the value of printed variables at time of the call to `#puts` ([#918](https://github.com/cucumber/cucumber-ruby/pull/918) [#915](https://github.com/cucumber/cucumber-ruby/issues/915) @enkessler @brasmusson)
709
- - Fix Configuration.with_options merge direction ([#922](https://github.com/cucumber/cucumber-ruby/pull/922) @limhoff-r7)
710
- - Consistent line breaks / truncation in backtraces ([#941](https://github.com/cucumber/cucumber-ruby/pull/941) @tooky)
711
- - Fix extra arg passed to ensure_io ([#939](https://github.com/cucumber/cucumber-ruby/pull/939A @benshan)
712
-
713
- ### Refactoring
714
-
715
- - Remove wire protocol to plugin ([#878](https://github.com/cucumber/cucumber-ruby/pull/878) @mattwynne @tooky)
716
- - Remove event bus to separate gem ([#933](https://github.com/cucumber/cucumber-ruby/pull/933) @dg-ratiodata)
717
-
718
- ## [2.1.0](https://github.com/cucumber/cucumber-ruby/compare/v2.0.2...v2.1.0) (2015-09-11)
719
-
720
- ### New Features
721
-
722
- - Introduce EventBus ([903](https://github.com/cucumber/cucumber-ruby/pull/903) @mattwynne @tooky)
723
- - Fail-fast CLI switch ([906](https://github.com/cucumber/cucumber-ruby/pull/906) @danascheider)
724
-
725
- ### Bugfixes
726
-
727
- - When only an around hook is failing, let the Json Formatter include the around hook result ([909](https://github.com/cucumber/cucumber-ruby/issues/909) @brasmusson).
728
-
729
- ### Refactoring
730
-
731
- - Coveralls badge switch to SVG ([897](https://github.com/cucumber/cucumber-ruby/pull/897) @nickmerwin)
732
- - Moved simplecov_setup into lib folder ([896](https://github.com/cucumber/cucumber-ruby/pull/896) @tboerger)
733
- - Pass DocString as String ([891](https://github.com/cucumber/cucumber-ruby/pull/891) @aslakhellesoy)
734
- - Remove core_ext/proc.rb and use Proc#source_location instead ([888](https://github.com/cucumber/cucumber-ruby/pull/888) @brasmusson)
735
- - Move behaviour from `Cucumber::Cli::Configuration` to `Cucumber::Configuration` (@tooky, @mattwynne)
736
- - Integrate Gherkin3 parser ([884](https://github.com/cucumber/cucumber-ruby/pull/884) (@brasmusson)
737
-
738
- ## [2.0.2](https://github.com/cucumber/cucumber-ruby/compare/v2.0.1...v2.0.2) (2015-07-15)
739
-
740
- ### Bugfixes
741
-
742
- - Revert interface change in Cucumber::Formatter::Console (which can break custom formatters in v2.0.1) ([893](https://github.com/cucumber/cucumber-ruby/issues/893) @brasmusson).
743
- - Calculate the locations of hooks properly (so it also work between drives on Windows) ([885](https://github.com/cucumber/cucumber-ruby/issues/885) @brasmusson).
744
-
745
- ## [2.0.1](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0...v2.0.1) (2015-07-08)
746
-
747
- ### New Features
748
-
749
- - Properly support symbol keys in table hashes ([840](https://github.com/cucumber/cucumber-ruby/issues/840) @dmorgan3405)
750
- - Default require path to features unless specified explicitly. ([842](https://github.com/cucumber/cucumber-ruby/issues/842) @pdswan)
751
- - Exit with different status codes when scenarios failed (1) vs when failed to run scenarios (2) ([#845](https://github.com/cucumber/cucumber-ruby/pull/845) @ciembor)
752
- - Expose #status on Cucumber::RunningTestCase ([#836](https://github.com/cucumber/cucumber-ruby/pull/846) [#836](https://github.com/cucumber/cucumber-ruby/issues/836) @pdswan)
753
- - New `--no-duration` flag on command-line ([#822](https://github.com/cucumber/cucumber-ruby/pull/822) @richarda)
754
- - Make the Rerun Formatter consistent with the exit code ([860](https://github.com/cucumber/cucumber-ruby/pull/860) @brasmusson)
755
- - Let the Json Formatter include results from all executed steps and hooks (and from Scenario Outlines also without the --expand option) ([851](https://github.com/cucumber/cucumber-ruby/pull/851) @brasmusson)
756
-
757
- ### Bugfixes
758
-
759
- - Pass tags and comments to the legacy api formatters correctly, fixes [864](https://github.com/cucumber/cucumber-ruby/pull/864) (@brasmusson).
760
- - Properly close HTML formatter pre tag for leading comment ([828](https://github.com/cucumber/cucumber-ruby/issues/828), [854](https://github.com/cucumber/cucumber-ruby/pull/854) @pdswan)
761
- - Make the HTML formatter handle failures in hooks ([835](https://github.com/cucumber/cucumber-ruby/issues/835) @brasmusson)
762
- - Fix the check for multiple formatters using stdout ([826](https://github.com/cucumber/cucumber-ruby/pull/826) @brasmusson)
763
- - Make background.feature available to formatters (backward compatibility with v1.3.x) (@brasmusson)
764
- - Cucumber::Ast::Table.diff! is broken when using no headers ([832](https://github.com/cucumber/cucumber-ruby/pull/832) @roschaefer)
765
- - `cucumber --i18n <invalid_language>` breaks ([#869](https://github.com/cucumber/cucumber-ruby/issues/869) (@danascheider)
766
-
767
- ### Refactoring
768
-
769
- - Rewrite the JUnit Formatter to the new formatter API ([855](https://github.com/cucumber/cucumber-ruby/pull/855) @brasmusson)
770
- - Rewrite the Progress, Usage, Stepdefs formatters to the new formatter API ([859](https://github.com/cucumber/cucumber-ruby/pull/859) @brasmusson)
771
-
772
- ## [2.0.0](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.rc.5...v2.0.0) (2015-03-31)
773
-
774
- ### New Features
775
-
776
- - Support ruby 2.2 in master (@mattwynne, @tooky)
777
- - Tell users to use the `--init` command ([818](https://github.com/cucumber/cucumber-ruby/pull/818) @olleolleolle)
778
-
779
- ### Bugfixes
780
-
781
- - Ensure After Hooks execute in reverse order (@tooky)
782
- - Make console output with embedded cr/lf look correct. ([820](https://github.com/cucumber/cucumber-ruby/pull/820) @SteveDonie)
783
-
784
- ## [2.0.0.rc5](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.rc.4...v2.0.0.rc.5) (2015-03-19)
785
-
786
- ### New Features
787
-
788
- - Add `--init` command ([699](https://github.com/cucumber/cucumber-ruby/pull/699) @LGordon2)
789
-
790
- ## Bugfixes
791
-
792
- - Let the JUnitFormatter handle Scenario Outlines with the --expand option ([124](https://github.com/cucumber/cucumber-ruby/issues/124), [808](https://github.com/cucumber/cucumber-ruby/pull/808) @brasmusson, @richarda)
793
- - Suggested regexes result in ambigous matches ([663](https://github.com/cucumber/cucumber-ruby/pull/663) @rwz)
794
- - Pass when using both the --dry-run and the --strict options, unless there are undefined steps ([810](https://github.com/cucumber/cucumber-ruby/issues/810) @brasmusson)
795
- - Handle step output correctly for Scenario Outlines with the --expand option ([806](https://github.com/cucumber/cucumber-ruby/issues/806) @brasmusson)
796
- - Fix GBK and UTF-8 (Encoding::CompatibilityError) ([693](https://github.com/cucumber/cucumber-ruby/issues/693) @mattwynne)
797
- - Make the scenario object available in hooks compatible with v1.3.x ([814](https://github.com/cucumber/cucumber-ruby/pull/814) @brasmusson)
798
- - JUnit expand option ([808](https://github.com/cucumber/cucumber-ruby/pull/808) @richarda @brasmusson)
799
- - Around hooks not executing in correct world context ([807](https://github.com/cucumber/cucumber-ruby/pull/807) @tooky)
800
-
801
- ## [2.0.0.rc.4](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.rc.3...2.0.0.rc.4) (2015-02-15)
802
-
803
- ### Features
804
-
805
- - [Add custom filters from Ruby configuration code](https://github.com/cucumber/cucumber-ruby/blob/main/features/docs/extending_cucumber/custom_filter.feature) (@mattwynne)
806
-
807
- ### Bugfixes
808
-
809
- - Fix missing `require Forwardable` (@tooky)
810
- - Fix snippet suggestions ([765](https://github.com/cucumber/cucumber-ruby/pull/765) @richarda), also with i18n languages (@brasmusson)
811
- - Fix transformation of regex with lookahead/lookbehind ([796](https://github.com/cucumber/cucumber-ruby/pull/796) @bolshakov)
812
- - Sort scenarios by location ([789](https://github.com/cucumber/cucumber-ruby/issues/789) @mattwynne)
813
- - Remove keyword from name property of test case object yielded to hooks ([768](https://github.com/cucumber/cucumber-ruby/issues/768) @richarda, @akostadinov)
814
-
815
- ## [2.0.0.rc.3](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.rc.2...v2.0.0.rc.3) (2015-01-23)
816
-
817
- ### Bugfixes
818
-
819
- - MultilineArgument::DataTable#diff will correctly compare to an Array (@tooky)
820
-
821
- ## [2.0.0.rc.2](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.rc.1...v2.0.0.rc.2) (2015-01-23)
822
-
823
- ### Bugfixes
824
-
825
- - World#table no longer creates invalid table objects when using an Array (@tooky, @mattwynne)
826
-
827
- ## [2.0.0.rc.1](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.beta.5...v2.0.0.rc.1) (2015-01-23)
828
-
829
- ### Removed Features
830
-
831
- - Removed support for IronRuby (@tooky @mattwynne)
832
-
833
- ### New Features
834
-
835
- - Let the HTML formatter store the relative path to files in the report ([697](https://github.com/cucumber/cucumber-ruby/pull/697) @idstein, @brasmusson)
836
- - Allow cucumber.yml to parse % erb code lines ([755](https://github.com/cucumber/cucumber-ruby/pull/755) @snowe2010)
837
- - Give each step definition a unique copy of argument objects ([760](https://github.com/cucumber/cucumber-ruby/pull/760) @tooky)
838
-
839
- ### Bugfixes
840
-
841
- - Add old Scenario#skip_invoke! method back (@mattwynne)
842
- - No links to lines in backtrace under TextMate ([548](https://github.com/cucumber/cucumber-ruby/pull/548) @bilus)
843
- - Using file:line CLI to select scenarios was running same scenario multiple times ([786](https://github.com/cucumber/cucumber-ruby/pull/786) @jdks)
844
- - Allow spaces in filenames for rerun formatter ([793](https://github.com/cucumber/cucumber-ruby/pull/793) @callahat)
845
-
846
- ## [2.0.0.beta.5](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.beta.4...v2.0.0.beta.5) (2014-12-18)
847
-
848
- - Depend on the correct version of core (@tooky)
849
-
850
- ## [2.0.0.beta.4](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.beta.3...v2.0.0.beta.4) (2014-12-18)
851
-
852
- ### New Features
853
-
854
- - Support both new and legacy formatter APIs simultaneously (@mattwynne and @tooky)
855
-
856
- ### Bugfixes
857
-
858
- - Localize the Scenario keyword with the --expand option ([766](https://github.com/cucumber/cucumber-ruby/pull/766) @brasmusson)
859
- - Handle hook output appropriately in the HTML formatter ([746](https://github.com/cucumber/cucumber-ruby/pull/746), [731](https://github.com/cucumber/cucumber-ruby/issues/731), [298](https://github.com/cucumber/cucumber-ruby/pull/298) @brasmusson)
860
- - Handle hook output appropriately in the Pretty formatter ([738](https://github.com/cucumber/cucumber-ruby/pull/738) @brasmusson)
861
-
862
- ### Internal changes
863
-
864
- - Re-write rerun formatter against new formatter API
865
-
866
- ## [2.0.0.beta.3](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.beta.2...v2.0.0.beta.3) (2014-09-14)
867
-
868
- ### Removed Features
869
-
870
- - The `--dotcucumber` option is no longer supported and `stepdefs.json` is no longer written. (Aslak Hellesøy)
871
-
872
- ### New Features
873
-
874
- - Include both outline step and expanded step in error backtrace ([730](https://github.com/cucumber/cucumber-ruby/pull/730) @brasmusson)
875
- - Add TestCase#outline? for conditionals in Before / After hooks ([728](https://github.com/cucumber/cucumber-ruby/pull/728) [Erran Carey](https://github.com/erran))
876
- - Support embedding images directly in HTML and JSON reports ([696](https://github.com/cucumber/cucumber-ruby/pull/696),[695](https://github.com/cucumber/cucumber-ruby/pull/695/files) @brasmusson)
877
-
878
- ### Bugfixes
879
-
880
- - Pass hook output to the formatters appropriately ([732](https://github.com/cucumber/cucumber-ruby/pull/732) @brasmusson)
881
- - Added tests for, and re-added behaviour to support Scenario#failed? in hooks (Matt Wynne)
882
- - Rescuing ArgumentError in HTML formatter so Cucumber won't stop tests due bad encoding ([690](https://github.com/cucumber/cucumber-ruby/pull/690) @awls99)
883
- - Add back support for the DataTable API ([729](https://github.com/cucumber/cucumber-ruby/pull/729) @mattwynne and @tooky)
884
- - Fix Windows support loading files properly ([739](https://github.com/cucumber/cucumber-ruby/issues/739) @os97673)
885
-
886
- ## [2.0.0.beta.2](https://github.com/cucumber/cucumber-ruby/compare/v2.0.0.beta.1...v2.0.0.beta.2) (2014-08-29)
887
-
888
- ### Bugfixes
889
-
890
- - Better reporting of exceptions in Before / After hooks ([723](https://github.com/cucumber/cucumber-ruby/pull/723) @mattwynne)
891
- - Add `#source_tag_names` method to `TestCase` object passed to hooks (@mattwynne)
892
-
893
- ## [2.0.0.beta.1 ](https://github.com/cucumber/cucumber-ruby/compare/v1.3.8...v2.0.0.beta.1) (2014-08-22)
894
-
895
- Version 2.0 contains a major internal redesign, extracting the core logic of
896
- parsing and executing tests into a [separate gem](https://github.com/cucumber/cucumber-ruby-ruby-core).
897
-
898
- Although we've tried to keep the API and behaviour consistent through this change,
899
- there are bound to be differences our tests haven't picked up. We're still working through
900
- a backlog of scenarios that are not yet passing. Run `cucumber -p wip` to see them
901
- all.
902
-
903
- ### New features
904
-
905
- - Better snippet comment ([579](https://github.com/cucumber/cucumber-ruby/pull/579) Jeff Nyman)
906
- - Random scenario ordering with `--order random`
907
- - Embed plain text ([712](https://github.com/cucumber/cucumber-ruby/pull/712) @bingwei)
908
- - Support the cucumber-reporting tools also when using Scenario Outlines ([700](https://github.com/cucumber/cucumber-ruby/pull/700) @brasmusson)
909
-
910
- ### Features removed
911
-
912
- - Removed deprecated StepMother and Ast::Visitor classes (Matt Wynne)
913
- - Remove support for i18n nested step methods (Matt Wynne)
914
- - Remove experimental .js and .py support (Matt Wynne)
915
- - Remove Ruby 1.8.7 support, including RCov
916
- - Spork support
917
-
918
- ### API Changes
919
-
920
- - String arguments passed to step definitions are immutable (frozen). This is
921
- to prevent garbled output in case an argument gets modified. If you need to
922
- modify an argument, `dup` it first. (Aslak Hellesøy)
923
-
924
- ### Minor changes
925
-
926
- - Greek examples added ([497](https://github.com/cucumber/cucumber-ruby/issues/497) @rousisk)
927
-
928
- ## [1.3.16](https://github.com/cucumber/cucumber-ruby/compare/v1.3.15...v1.3.16) (2014-07-28)
929
-
930
- - Pass output from the step definition on to the JSON formatter ([701](https://github.com/cucumber/cucumber-ruby/pull/701) @brasmusson)
931
- - Add RSpec 3 test double support ([689](https://github.com/cucumber/cucumber-ruby/pull/689) @cyphactor)
932
- - Fix bug with rerun formatter and `--expand` option ([710](https://github.com/cucumber/cucumber-ruby/pull/710) @brasmusson)
933
-
934
- ## [1.3.15](https://github.com/cucumber/cucumber-ruby/compare/v1.3.14...v1.3.15) (2014-05-09)
935
-
936
- - Fixed intermittent ConcurrencyError seen in JRuby
937
- ([671](https://github.com/cucumber/cucumber-ruby/issues/670) @cbusbey)
938
-
939
- ## [1.3.14](https://github.com/cucumber/cucumber-ruby/compare/v1.3.13...v1.3.14) (2014-03-28)
940
-
941
- - Rerun formatter includes all scenarios when the background fails
942
- ([660](https://github.com/cucumber/cucumber-ruby/issues/660),
943
- [661](https://github.com/cucumber/cucumber-ruby/pull/661) @brasmusson)
944
-
945
- ## [1.3.13](https://github.com/cucumber/cucumber-ruby/compare/v1.3.12...v1.3.13) (2014-03-25)
946
-
947
- - Rerun formatter includes all scenarios when the background fails
948
- ([654](https://github.com/cucumber/cucumber-ruby/pull/654) @brasmusson)
949
-
950
- ## [1.3.12](https://github.com/cucumber/cucumber-ruby/compare/v1.3.11...v1.3.12) (2014-03-16)
951
-
952
- - Use MultiTest to handle assertions library selection (@tooky)
953
- - Adds full support for rails 4.1 / Minitest
954
-
955
- ## [1.3.11](https://github.com/cucumber/cucumber-ruby/compare/v1.3.10...v1.3.11) (2014-03-02)
956
-
957
- - Add Ruby 2.1 Support ([#644](https://github.com/cucumber/cucumber-ruby/pull/644) @tooky, @chrismdp)
958
-
959
- ## [1.3.10](https://github.com/cucumber/cucumber-ruby/compare/v1.3.9...v1.3.10) (2013-11-16)
960
-
961
- - Fixed "nil:NilClass (NoMethodError)" problem for auto-formatting ([599](https://github.com/cucumber/cucumber-ruby/pull/599) @jmcaffee)
962
-
963
- ## [1.3.9](https://github.com/cucumber/cucumber-ruby/compare/v1.3.8...v1.3.9) (2013-11-06)
964
-
965
- - Disable minitest autorun after loading support files (@tooky)
966
- - Add `Ast::Table#map_column` for non-mutating column mapping (@tooky)
967
- - Remove deprecation warnings on `Ast::Table` (@tooky)
968
- - Fixed ArgumentError for NoStepMatch#format_args ([587](https://github.com/cucumber/cucumber-ruby/pull/587) @jshraibman-mdsol)
969
-
970
- ## [1.3.8](https://github.com/cucumber/cucumber-ruby/compare/v1.3.7...v1.3.8) (2013-09-10)
971
-
972
- - Make the MultiJson dependency less restrictive (@tooky)
973
-
974
- ## [1.3.7](https://github.com/cucumber/cucumber-ruby/compare/v1.3.6...v1.3.7) (2013-09-06)
975
-
976
- - Fixed incorrect html formatter behaviour when background step fails
977
- ([520](https://github.com/cucumber/cucumber-ruby/issues/520),
978
- [521](https://github.com/cucumber/cucumber-ruby/issues/521) @mlex)
979
-
980
- - Fixed problem with printing badly formatted backtrace for failed background
981
- ([522](https://github.com/cucumber/cucumber-ruby/issues/522),
982
- [523](https://github.com/cucumber/cucumber-ruby/issues/523) @mlex)
983
-
984
- - required Gherkin version bumped to 2.12.1
985
-
986
- - All mutating methods of AST::Table deprecated
987
- ([505](https://github.com/cucumber/cucumber-ruby/issues/505),
988
- [525](https://github.com/cucumber/cucumber-ruby/issues/525) @adbatista)
989
-
990
- - AST::Table#map_headers doesn't use #map_headers! anymore
991
- ([505](https://github.com/cucumber/cucumber-ruby/issues/528) @adbatista)
992
-
993
- ## [1.3.6](https://github.com/cucumber/cucumber-ruby/compare/v1.3.5...v1.3.6) (2013-08-09)
994
-
995
- - Html formatter fixed to not mark passes scenarios with tables as pending
996
- ([493](https://github.com/cucumber/cucumber-ruby/issues/493) Oleg Sukhodolsky)
997
-
998
- ## [1.3.5](https://github.com/cucumber/cucumber-ruby/compare/v1.3.4...v1.3.5) (2013-07-19)
999
-
1000
- - Fix Rails 4 Minitest autorun problems. ([501](https://github.com/cucumber/cucumber-ruby/issues/501) @mattwynne)
1001
-
1002
- ## [1.3.4](https://github.com/cucumber/cucumber-ruby/compare/v1.3.3...v1.3.4) (2013-07-12)
1003
-
1004
- - JUnit formatter fixed to report skipped scenarios correctly ([496](https://github.com/cucumber/cucumber-ruby/issues/496) @ambirag)
1005
-
1006
- ## [1.3.3](https://github.com/cucumber/cucumber-ruby/compare/v1.3.2...v1.3.3) (2013-07-07)
1007
-
1008
- - Fix compatability with MiniTest 5.0 ([#456](https://github.com/cucumber/cucumber-ruby/issues/456) Matt Wynne)
1009
- - Warn that Spork support is broken (Steve Tooke)
1010
- - Fix error with Ruby 2.0.0 and `Cucumber::RUBY_1_8_7`
1011
- ([#492](https://github.com/cucumber/cucumber-ruby/issues/492) Matt Wynne)
1012
- - Use new Rubygems API to look for bundler ([#448](https://github.com/cucumber/cucumber-ruby/issues/448) Matt Wynne)
1013
-
1014
- ## [1.3.2](https://github.com/cucumber/cucumber-ruby/compare/v1.3.1...v1.3.2) (2013-05-22)
1015
-
1016
- ### Bugfixes
1017
-
1018
- - Fixed ugly NoMethodError when a Scenario Outline has no Examples
1019
- ([#438](https://github.com/cucumber/cucumber-ruby/issues/438) Steve Tooke)
1020
-
1021
- ## [1.3.1](https://github.com/cucumber/cucumber-ruby/compare/v1.3.0...v1.3.1) (2013-04-21)
1022
-
1023
- ### Bugfixes
1024
-
1025
- - Fixed typo which breaks unicode.rb on Windows (Oleg Sukhodolsky)
1026
-
1027
- ## [1.3.0](https://github.com/cucumber/cucumber-ruby/compare/v1.2.5...v1.3.0) (2013-04-21)
1028
-
1029
- ### New Features
1030
-
1031
- - Faster features, thanks to in-process Aruba. (Aslak Hellesøy)
1032
- - Add lib to default load path
1033
- ([#162](https://github.com/cucumber/cucumber-ruby/issues/162) Steve Tooke)
1034
- - Add snippet type to support different type of ruby snippets.
1035
- ([#390](https://github.com/cucumber/cucumber-ruby/pull/390) Roel van Dijk)
1036
- - Call nested steps using any language keywords ([#433](https://github.com/cucumber/cucumber-ruby/pull/433) Tomohiko Himura)
1037
-
1038
- ### Bugfixes
1039
-
1040
- - Update watir example ([#427](https://github.com/cucumber/cucumber-ruby/issues/427)) Luiz Guilherme D'Abruzzo Pereira
1041
- - Ensure that cucumber.yml is only parsed once ([#416](https://github.com/cucumber/cucumber-ruby/issues/416)) Steve Tooke
1042
- - Improve rake task report on failure ([#400](https://github.com/cucumber/cucumber-ruby/issues/400) Andrey Vakarev
1043
- - Show details of nested steps in backtraces
1044
- ([#69](https://github.com/cucumber/cucumber-ruby/issues/69)) Steve Tooke
1045
- - Filter out control characters from CDATA section of JUnit formatter output.
1046
- ([#383](https://github.com/cucumber/cucumber-ruby/issues/383) @teacup-on-rockingchair)
1047
- - Fix problem with non-ascii characters in file path
1048
- ([#150](https://github.com/cucumber/cucumber-ruby/issues/150) Oleg Sukhodolsky)
1049
- - Fix problem loading ruby files in project root directory
1050
- ([#269](https://github.com/cucumber/cucumber-ruby/issues/269) Steve Tooke)
1051
- - Fix JsonPretty formatter problem
1052
- ([#197](https://github.com/cucumber/cucumber-ruby/issues/197) Oleg Sukhodolsky)
1053
- - Don't display multi-line strings when --no-multiline is passed
1054
- ([#201](https://github.com/cucumber/cucumber-ruby/issues/201) David Kowis)
1055
- - Moved the profile information output to a callback of the formatter
1056
- ([#175](https://github.com/cucumber/cucumber-ruby/issues/175) David Kowis)
1057
- - Fix html formatter to not mark skipped/unimplemented steps as failed
1058
- ([#337](https://github.com/cucumber/cucumber-ruby/issues/337) Oleg Sukhodolsky)
1059
- - Allow duplication for format+output pair in command line
1060
- ([#434](https://github.com/cucumber/cucumber-ruby/issues/434) David Lantos)
1061
- - Better delegation to IO in Cucumber::Formatter::Interceptor::Pipe
1062
- ([#312](https://github.com/cucumber/cucumber-ruby/issues/312) Oleg Sukhodolsky)
1063
-
1064
- ## [1.2.5](https://github.com/cucumber/cucumber-ruby/compare/v1.2.3...v1.2.5) (2013-04-08)
1065
-
1066
- - Upgrade Gherkin version to remove warnings when running on JRuby. ([#393](https://github.com/cucumber/cucumber-ruby/issues/393) Oleg Sukhodolsky)
1067
- - Do not use TagExpression.eval() which is deprecated in Gherkin 2.11.7 ([#420](https://github.com/cucumber/cucumber-ruby/issues/420) Oleg Sukhodolsky)
1068
-
1069
- ## 1.2.4 (2013-04-07)
1070
-
1071
- Yanked. See ([#428](https://github.com/cucumber/cucumber-ruby/issues/428)).
1072
-
1073
- ## [1.2.3](https://github.com/cucumber/cucumber-ruby/compare/v1.2.2...v1.2.3) (2013-03-07)
1074
-
1075
- ### Bugfixes
1076
-
1077
- - Fix problem with rake task for jruby and ruby installed from packages on Ubuntu ([#386](https://github.com/cucumber/cucumber-ruby/issues/386), [#388](https://github.com/cucumber/cucumber-ruby/issues/388) @y-higuchi)
1078
- - Fix embedding images in json ([#315](https://github.com/cucumber/cucumber-ruby/issues/315) Oleg Sukhodolsky)
1079
-
1080
- ## [1.2.2](https://github.com/cucumber/cucumber-ruby/compare/v1.2.1...v1.2.2) (2013-03-02)
1081
-
1082
- ### New Features
1083
-
1084
- - Ruby 2.0.0 support ([#377](https://github.com/cucumber/cucumber-ruby/issues/377) Matt Wynne & [#357](https://github.com/cucumber/cucumber-ruby/issues/357) @charliesome)
1085
- - Capture duration value for json formatter ([#329](https://github.com/cucumber/cucumber-ruby/issues/329) Rick Beyer)
1086
- - Added support for Hindi (hi), although some systems may need to install fonts which support the Devanagari script.
1087
- - Obey program suffix when invoking bundler ([#324](https://github.com/cucumber/cucumber-ruby/issues/324) Eric Hodel)
1088
-
1089
- ### Bugfixes
1090
-
1091
- - Fix class loading problems --format option had ([#345](https://github.com/cucumber/cucumber-ruby/issues/345), [#346](https://github.com/cucumber/cucumber-ruby/issues/346) @ksylvest)
1092
- - Exit with failure status when interrupted ([#299](https://github.com/cucumber/cucumber-ruby/issues/299) @aaronjensen)
1093
- - Cannot map table headers after table hashes is referenced ([#275](https://github.com/cucumber/cucumber-ruby/issues/275) @chrisbloom7 / Matt Wynne)
1094
- - (before|after)\_step aren't called when scenario outline's table is processed ([#284](https://github.com/cucumber/cucumber-ruby/issues/284) Oleg Sukhodolsky)
1095
- - Raise exception when remote socket end disconnects using wire protocol ([#348](https://github.com/cucumber/cucumber-ruby/issues/348) @rdammkoehler)
1096
- - Fix --dry-run option ignored when set via profile ([#248](https://github.com/cucumber/cucumber-ruby/issues/248) / [#255](https://github.com/cucumber/cucumber-ruby/issues/255) Igor Afonov)
1097
- - More clear suggested ruby code for undefined steps ([#328](https://github.com/cucumber/cucumber-ruby/issues/328) / [#331](https://github.com/cucumber/cucumber-ruby/issues/331) @martco)
1098
- - Fix exception in Html formatter with --expand mode and undefined steps ([#336](https://github.com/cucumber/cucumber-ruby/issues/336) Roberto Decurnex)
1099
- - Fix Table.diff! problem with :surplus_row => false and interleaved surplus rows ([#220](https://github.com/cucumber/cucumber-ruby/issues/220))
1100
-
1101
- ## [1.2.1](https://github.com/cucumber/cucumber-ruby/compare/v1.2.0...v1.2.1) (2012-06-09)
1102
-
1103
- ### New Features
1104
-
1105
- - Updated to gherkin 2.11.0. (Aslak Hellesøy)
1106
-
1107
- ## [1.2.0](https://github.com/cucumber/cucumber-ruby/compare/v1.1.9...v1.2.0) (2012-05-07)
1108
-
1109
- ### Bugfixes
1110
-
1111
- - Fix backtraces in JRuby ([#266](https://github.com/cucumber/cucumber-ruby/issues/266) Andrew Kiellor)
1112
-
1113
- ### New Features
1114
-
1115
- - Extracted the PDF formatter into a separate gem. ([#241](https://github.com/cucumber/cucumber-ruby/issues/241) Matt Wynne)
1116
- - Remove dependency on term/ansicolor ([#43](https://github.com/cucumber/cucumber-ruby/issues/43) Joe Fiorini)
1117
- - Methods for Step Definitions ([#168](https://github.com/cucumber/cucumber-ruby/issues/168) Giles Alexander)
1118
- - Add file:line to step events in formatter API ([#181](https://github.com/cucumber/cucumber-ruby/issues/181) Roman Chernyatchik)
1119
- - Collapsible backgrounds in HTML formatter ([#182](https://github.com/cucumber/cucumber-ruby/issues/182) Niklas H)
1120
- - Slightly cleaner regexp suggestions ([#237](https://github.com/cucumber/cucumber-ruby/issues/237) meyering)
1121
- - Allow for --no-drb command-line option ([#252](https://github.com/cucumber/cucumber-ruby/issues/252) Chase Stubblefield)
1122
- - Add misplaced_col option when diffing tables ([#212](https://github.com/cucumber/cucumber-ruby/issues/212) Steve Richert)
1123
- - JUnit formatter, classname contains only the feature's name ([#193](https://github.com/cucumber/cucumber-ruby/issues/193) @litvinok)
1124
- - Include the output $stderr and $stdout in JUnit formatted XML ([#259](https://github.com/cucumber/cucumber-ruby/issues/259) R. Tyler Croy)
1125
-
1126
- ## [1.1.9](https://github.com/cucumber/cucumber-ruby/compare/v1.1.8...v1.1.9) (2012-02-22)
1127
-
1128
- ### Bugfixes
1129
-
1130
- - Removed deprecation warning for `source_tag_names`. It's not deprecated anymore. (Aslak Hellesøy)
1131
-
1132
- ## [1.1.8](https://github.com/cucumber/cucumber-ruby/compare/v1.1.7...v1.1.8) (2012-02-19)
1133
-
1134
- ### Bugfixes
1135
-
1136
- - Column mapping dangerously applied twice to the same cell! ([#202](https://github.com/cucumber/cucumber-ruby/issues/202), [#208](https://github.com/cucumber/cucumber-ruby/pull/208) Brian Dunn)
1137
-
1138
- ### New Features
1139
-
1140
- - Don't pollute RbWorld with the AnsiEscapes methods ([#219](https://github.com/cucumber/cucumber-ruby/issues/219), [#221](https://github.com/cucumber/cucumber-ruby/pull/221) Ben Woosley)
1141
-
1142
- ## [1.1.7](https://github.com/cucumber/cucumber-ruby/compare/v1.1.6...v1.1.7) (2012-02-19)
1143
-
1144
- ### Bugfixes
1145
-
1146
- - Finish off backwards compatability fix for Capybara ([#229](https://github.com/cucumber/cucumber-ruby/pull/229) Cezary Baginski)
1147
-
1148
- ## [1.1.6](https://github.com/cucumber/cucumber-ruby/compare/v1.1.5...v1.1.6) (2012-02-18)
1149
-
1150
- ### New features
1151
-
1152
- - Added `file_colon_line` to `stepdefs.json` (outputted by `--dotcucumber`). ([#214](https://github.com/cucumber/cucumber-ruby/pull/214) MOROHASHI Kyosuke)
1153
-
1154
- ### Bugfixes
1155
-
1156
- - Release 1.1.5 unintentionally broke backwards compatibility in some APIs we hadn't considered were used outside of cucumber.
1157
- Well, it was, in the popular Capybara browser automation tool, so we added back the API we removed. See the history for details. (Aslak Hellesøy)
1158
- - After some infantile bickering about a trivial bug that any hipster startup ruby programmer could have circumvented by using a fork with a fix,
1159
- I finally sucked up to a horde of people and made HTML reports work again (I'm gonna rename them TPS reports). ([#203](https://github.com/cucumber/cucumber-ruby/pull/203) Jon Merrifield)
1160
-
1161
- ## [1.1.5](https://github.com/cucumber/cucumber-ruby/compare/v1.1.4...v1.1.5) (2012-02-17)
1162
-
1163
- ### New Features
1164
-
1165
- - Upgraded to gherkin 2.8.0 (Aslak Hellesøy)
1166
-
1167
- ### Bugfixes
1168
-
1169
- - Background fails, but build succeeds ([#205](https://github.com/cucumber/cucumber-ruby/issues/205) tcwitte)
1170
-
1171
- ## [1.1.4](https://github.com/cucumber/cucumber-ruby/compare/v1.1.3...v1.1.4) (2011-12-10)
1172
-
1173
- ### New Features
1174
-
1175
- - Upgrade to Gherkin 2.7.1 (Aslak Hellesøy)
1176
-
1177
- ## [1.1.3](https://github.com/cucumber/cucumber-ruby/compare/v1.1.2...v1.1.3) (2011-11-22)
1178
-
1179
- ### New Features
1180
-
1181
- - Generate stepdef metadata with --dotcucumber. Useful for Cukepatch. (Aslak Hellesøy)
1182
- - Show class name of exceptions in the HTML formatter ([#159](https://github.com/cucumber/cucumber-ruby/pull/159) Jari Bakken)
1183
- - Deferred table header and column mappings ([#163](https://github.com/cucumber/cucumber-ruby/pull/163) Richard Lawrence)
1184
-
1185
- ### Bugfixes
1186
-
1187
- - Escape exceptions in HTML formatter ([#178](https://github.com/cucumber/cucumber-ruby/pull/178) leachdaniel)
1188
- - Retry when feature_element returns failed ([#172](https://github.com/cucumber/cucumber-ruby/pull/172) Charles Finkel)
1189
- - Rerun formatter output does not include failing scenario outline examples ([#57](https://github.com/cucumber/cucumber-ruby/issues/57) Jan Brauer)
1190
-
1191
- ## [1.1.2](https://github.com/cucumber/cucumber-ruby/compare/v1.1.1...v1.1.2) (2011-11-09)
1192
-
1193
- ### Changed features
1194
-
1195
- - Break long lines in output. Only needed for better output formatting in the Cucumber Book! (Aslak Hellesøy)
1196
-
1197
- ### Changed features
1198
-
1199
- - Deprecated i18n methods in World, and added a new #step method to use instead. ([#68](https://github.com/cucumber/cucumber-ruby/issues/68) Matt Wynne)
1200
- - The JSON formatter output has changed slightly. Old format:
1201
-
1202
- {
1203
- features: [feature here]
1204
- }
1205
-
1206
- New format:
1207
-
1208
- [feature here]
1209
-
1210
- Also see [Gherkin 2.6.0 History](https://github.com/cucumber/cucumber/blob/master/gherkin/History.md) for info about new `id` and `uri` elements in the JSON.
1211
-
1212
- ## [1.1.0](https://github.com/cucumber/cucumber-ruby/compare/v1.0.6...v1.1.0) (2011-09-22)
1213
-
1214
- ### Changed features
1215
-
1216
- - The JSON formatter output has changed. See [Gherkin 2.5.0 History](https://github.com/cucumber/gherkin/blob/master/CHANGELOG.md) (Aslak Hellesøy)
1217
-
1218
- ## [1.0.6](https://github.com/cucumber/cucumber-ruby/compare/v1.0.5...v1.0.6) (2011-09-13)
1219
-
1220
- ### Bugfixes
1221
-
1222
- - Work around rubygems/yaml utter retardedness ([#136](https://github.com/cucumber/cucumber-ruby/issues/136) Aslak Hellesøy)
1223
-
1224
- ## [1.0.5](https://github.com/cucumber/cucumber-ruby/compare/v1.0.4...v1.0.5) (2011-09-13)
1225
-
1226
- ### Bugfixes
1227
-
1228
- - Gemspec corrupted in 1.0.4 (I had to upgrade my rubygems to 1.8.10 to fix it). ([#136](https://github.com/cucumber/cucumber-ruby/issues/136) Aslak Hellesøy)
1229
-
1230
- ## [1.0.4](https://github.com/cucumber/cucumber-ruby/compare/v1.0.3...v1.0.4) (2011-09-11)
1231
-
1232
- ### Bugfixes
1233
-
1234
- - Guard against the require succeeding, but not properly loading a module. ([#93](https://github.com/cucumber/cucumber-ruby/pull/93) Christopher Meiklejohn)
1235
- - Cmdline arguments parsing error if --drb is enabled. ([#117](https://github.com/cucumber/cucumber-ruby/issues/117) Roman Chernyatchik)
1236
- - Replace capturing groups with non-capturing in RbTransform#to_s ([#106](https://github.com/cucumber/cucumber-ruby/pull/106) Thomas Walpole)
1237
- - Patched unmatched message in HTML formatter. (Nikita)
1238
- - Overriding a method that causes a NoMethodError when a Before hook is called on a feature run that has no scenarios. (ccthiel)
1239
-
1240
- ## [1.0.3](https://github.com/cucumber/cucumber-ruby/compare/v1.0.2...v1.0.3) (2011-09-07)
1241
-
1242
- ### Bugfixes
1243
-
1244
- - Do not escape the replaced entity ([#126](https://github.com/cucumber/cucumber-ruby/pull/126) Jonathan Tron)
1245
-
1246
- ### New Features
1247
-
1248
- - DocStrings now have a content_type ([#132](https://github.com/cucumber/cucumber-ruby/issues/132) Matt Wynne)
1249
-
1250
- ## [1.0.2](https://github.com/cucumber/cucumber-ruby/compare/v1.0.1...v1.0.2) (2011-07-17)
1251
-
1252
- ### Bugfixes
1253
-
1254
- - Cucumber 1.0.1 breaks cuke4duke ([#104](https://github.com/cucumber/cucumber-ruby/issues/104) Aslak Hellesøy)
1255
-
1256
- ### New Features
1257
-
1258
- - Better line truncation if $CUCUMBER_TRUNCATE_OUTPUT has a max line length value. (Aslak Hellesøy)
1259
-
1260
- ### Changes Features
1261
-
1262
- - --no-source also excludes location from the summary. (Aslak Hellesøy)
1263
-
1264
- ## [1.0.1](https://github.com/cucumber/cucumber-ruby/compare/v1.0.0...v1.0.1) (2011-07-10)
1265
-
1266
- ### Bugfixes
1267
-
1268
- - Removed extra colons emitted by rerun formatter ([#99](https://github.com/cucumber/cucumber-ruby/pull/99) Juan Manuel Barreneche)
1269
- - cucumber 1.0.0 wrong number of arguments error when generating json format on jruby for windows ([#97](https://github.com/cucumber/cucumber-ruby/issues/97) (Aslak Hellesøy)
1270
- - Recent change to junit.rb breaks on Windows ([#81](https://github.com/cucumber/cucumber-ruby/issues/81), [#86](https://github.com/cucumber/cucumber-ruby/pull/86) Johnlon, Aslak Hellesøy)
1271
- - Cucumber fails on nil and does not print out failed tests ([#95](https://github.com/cucumber/cucumber-ruby/pull/95) Nikita)
1272
- - Javascript code is not being displayed in HTML output ([#58](https://github.com/cucumber/cucumber-ruby/issues/58) Aslak Hellesøy)
1273
-
1274
- ### New Features
1275
-
1276
- - If the CUCUMBER_TRUNCATE_OUTPUT environment variable is set, lines will be truncated. Used by the Cucumber book. (Aslak Hellesøy)
1277
-
1278
- ## [1.0.0](https://github.com/cucumber/cucumber-ruby/compare/v0.10.6...v1.0.0) (2011-06-20)
1279
-
1280
- Yipeeeeeeeee!
1281
-
1282
- ### New Features
1283
-
1284
- - Use Rake 1.9.2 for development (Aslak Hellesøy)
1285
- - Rake task exits with an error if rcov is true and we're on Ruby 1.9.x (Aslak Hellesøy)
1286
- - Started implementation of cucumber-features (Mike Sassak, Julien Biezemans, Aslak Hellesøy)
1287
-
1288
- ## [0.10.6](https://github.com/cucumber/cucumber-ruby/compare/v0.10.5...v0.10.6) (2011-06-07)
1289
-
1290
- ### New Features
1291
-
1292
- - API docs at http://cukes.info/cucumber/api/ruby/latest/
1293
-
1294
- ### Bugfixes
1295
-
1296
- - Fixed a regression in the HTML formatter's #embed implementation (#77 Aslak Hellesøy)
1297
-
1298
- ## [0.10.5](https://github.com/cucumber/cucumber-ruby/compare/v0.10.3...v0.10.5) (2011-06-05)
1299
-
1300
- (0.10.4 was forgotten!)
1301
-
1302
- ### Changed features
1303
-
1304
- - The announce method is deprecated. Use puts instead (#67 Aslak Hellesøy)
1305
- - The announce_world method is gone. Use puts(self) instead (#67 Aslak Hellesøy)
1306
-
1307
- ### New Features
1308
-
1309
- - Better JUnit formatter support for sub directories and scenario outlines (#59, #61, #62 Matt Simpson, Kenny Ortmann)
1310
-
1311
- ### Bugfixes
1312
-
1313
- - Fix for Gem.available? deprecation warning (#75 Jake Benilov)
1314
- - Update URLs to reflect Cucumber's new location on Github (Jake Benilov)
1315
-
1316
- ## [0.10.3](https://github.com/cucumber/cucumber-ruby/compare/v0.10.2...v0.10.3) (2011-05-23)
1317
-
1318
- ### New Features
1319
-
1320
- - Better JUnit formatter support for sub directories and scenario outlines (#59 Matt Simpson)
1321
- - Coloured output that spans several lines sets colours for each line. (Aslak Hellesøy)
1322
- - New bundler attribute on the Rake task, allowing faster execution. (Aslak Hellesøy)
1323
- - Fix Table#rows cell ordering in ruby 1.8. (#47_github Brian Dunn)
1324
- - JUnit Formatter: record skipped/pending/undefined scenario results (#655 meeee)
1325
-
1326
- ## [0.10.2](https://github.com/cucumber/cucumber-ruby/compare/v0.10.1...v0.10.2) (2011-03-20)
1327
-
1328
- ### Bugfixes
1329
-
1330
- - Neuter both MiniTest::Unit and Test::Unit's overzealous test runners. (Aslak Hellesøy)
1331
-
1332
- ## [0.10.1](https://github.com/cucumber/cucumber-ruby/compare/v0.10.0...v0.10.1) (2011-03-20)
1333
-
1334
- ### New Features
1335
-
1336
- - The #embed method can take a 3rd optional label argument. In the HTML report that's used for the link title. (Pat Leamon)
1337
- - Render .wire files through ERB (Kevin Olbrich)
1338
- - Happy coexistence with Rake 0.9 (Cezary Baginski)
1339
- - Add -l, --lines option just like rspec's (Gabriel Horner)
1340
- - Support for named transforms. See features/transforms.feature (Matt Wynne)
1341
- - Experimental support for non-UTF-8 encoding in feature files. A "# encoding=iso-8859-1" header (or any other encoding)
1342
- in the file will read the file in with that encoding and convert it to UTF-8 before it's parsed with gherkin.
1343
- Step definition arguments will be passed in UTF-8 encoded strings regardless of the encoding in the feature file.
1344
- - Better error message if there is no features directory (David Lindes)
1345
- - Include scenario file reference in html formatter output (Brandon Faloona)
1346
- - Relax gem dependencies to use >= instead of ~> (Rob Slifka, Aslak Hellesøy)
1347
-
1348
- ### Bugfixes
1349
-
1350
- - Missing methods in Runtime::ForProgrammingLanguages - make v8 example run again (Chris Mytton)
1351
- - Features files are sorted before they are executed, giving consistent results across different OSes (Guewen Baconnier)
1352
- - Remove duplicate lines in backtraces in the HTML report (Jari Bakken)
1353
-
1354
- ## [0.10.0](https://github.com/cucumber/cucumber-ruby/compare/v0.9.4...v0.10.0) (2010-12-07)
1355
-
1356
- We're bumping the minor number in this release because there are some incompatible changes in the JSON support.
1357
- This should not affect users. The major new feature in this release is ANSICON support for Windows users.
1358
-
1359
- ### New Features
1360
-
1361
- - map_column! should allow a string or symbol as the column name passed in (Ed Schmalzle)
1362
- - Deprecate win32console and use ANSICON instead (Boško Ivanišević)
1363
- - Set builder dependency to >= 2.1.2, which will work with both Rails 2 and 3. (bUg., David Trasbo, Matt Wynne)
1364
-
1365
- ### Bugfixes
1366
-
1367
- - Changed the HTML formatter to show Scenarios with 'Pending' steps to be yellow rather than green (Arti)
1368
-
1369
- ### Changed Features
1370
-
1371
- - JSON output now contains optional "match", "result" and "embeddings" elements underneath each step. (Aslak Hellesøy)
1372
-
1373
- ## [0.9.4](https://github.com/cucumber/cucumber-ruby/compare/v0.9.3...v0.9.4) (2010-11-06)
1374
-
1375
- ### Bugfixes
1376
-
1377
- - Superfluous space after step_keyword value in snippet_text message (#679 Aslak Hellesøy)
1378
- - Better Handling for "puts" in HTML formatter (#676 Stephen Kennedy)
1379
- - Too many open files - getcwd (#666 Aslak Hellesøy)
1380
- - Cucumber 0.9.3 prevents Test::Unit from running (#677 Aslak Hellesøy)
1381
- - Performance degradation when running feature files with over 1000 steps (#675 Dimitri Geshef)
1382
-
1383
- ## [0.9.3](https://github.com/cucumber/cucumber-ruby/compare/v0.9.2...v0.9.3) (2010-10-24)
1384
-
1385
- ### Bugfixes
1386
-
1387
- - Better JSON representation of Regexps (Aslak Hellesøy)
1388
- - Update to work with latest spork (Matt Wynne)
1389
- - Prevent MiniTest::Unit#autorun from running in at_exit hook. (Aslak Hellesøy)
1390
- - Fixed incorect --help for --strict. It fails on both pending and undefined. (Aslak Hellesøy)
1391
-
1392
- ## [0.9.2](https://github.com/cucumber/cucumber-ruby/compare/v0.9.1...v0.9.2) (2010-10-04)
1393
-
1394
- ### Bugfixes
1395
-
1396
- - Too many open files - getcwd (#666 Aslak Hellesøy)
1397
-
1398
- ## [0.9.1](https://github.com/cucumber/cucumber-ruby/compare/v0.9.0...v0.9.1) (2010-10-01)
1399
-
1400
- ### Bugfixes
1401
-
1402
- - Just a minor internal change to make Cuke4Duke happy. (Aslak Hellesøy)
1403
-
1404
- ## [0.9.0](https://github.com/cucumber/cucumber-ruby/compare/v0.8.5...v0.9.0) (2010-09-21)
1405
-
1406
- Maintenance release for the new release of Gherkin 2.2.3.
1407
-
1408
- ### Bugfixes
1409
-
1410
- - Compatibility with rspec-2.0.0.beta.19 mocks (Aslak Hellesøy)
1411
- - JUnit formatter now puts output in CDATA sections. (Dmitry Amelchenko)
1412
-
1413
- ### New features
1414
-
1415
- - --dry-run now shows snippets (Ben Hall)
1416
- - Use Bundler for dependency management. (Aslak Hellesøy, Rob Hunter)
1417
-
1418
- ### Removed features
1419
-
1420
- - No more Jeweler
1421
-
1422
- ### Internal changes
1423
-
1424
- - Big refactoring of StepMother (Matt Wynne)
1425
-
1426
- ## [0.8.5](https://github.com/cucumber/cucumber-ruby/compare/v0.8.4...v0.8.5) (2010-07-14)
1427
-
1428
- ### Bugfixes
1429
-
1430
- - Location of stepdefs outside the project (in gems) are reported incorrectly. (#583 Aslak Hellesøy)
1431
- - Cucumber::Rake::Task uses 'bundle exec' when using bundler (#626 John Firebaugh)
1432
-
1433
- ## [0.8.4](https://github.com/cucumber/cucumber-ruby/compare/v0.8.3...v0.8.4) (2010-07-12)
1434
-
1435
- ### Bugfixes
1436
-
1437
- - Fix "Errno::EADDRNOTAVAIL" errors that may be received with spork on Snow Leopard. (Lucas Mundim)
1438
-
1439
- ### New features
1440
-
1441
- - Detect limit for negative tags (#636 Aslak Hellesøy)
1442
- - Support for RSpec 2 doubles (mocks and stubs) (Aslak Hellesøy)
1443
-
1444
- ## [0.8.3](https://github.com/cucumber/cucumber-ruby/compare/v0.8.2...v0.8.3) (2010-06-16)
1445
-
1446
- Just a quick bugfix release.
1447
-
1448
- ### Bugfixes
1449
-
1450
- - Scenario outlines that fail with exception exit process (Aslak Hellesøy)
1451
-
1452
- ## [0.8.2](https://github.com/cucumber/cucumber-ruby/compare/v0.8.1...v0.8.2) (2010-06-16)
1453
-
1454
- Bugfix release which most importantly fixes an issue with the gem's gemspec.
1455
-
1456
- ### Bufixes
1457
-
1458
- - Fix v8 support which broke in 0.8.1 because of new gherkin API (Aslak Hellesøy)
1459
- - Call Around hooks for each example in scenario outlines. (John Firebaugh)
1460
- - Remove extraneous tmp file from the gemspec, which broke installation in some environments. (Fernando Brito, Aslak Hellesøy)
1461
- - 0.8.1 fails on JRuby (#627 Aslak Hellesøy)
1462
-
1463
- ### New Features
1464
-
1465
- - JavaScript to Hide/Expand Scenarios in HTML report (#621 stkenned)
1466
-
1467
- ## [0.8.1](https://github.com/cucumber/cucumber-ruby/compare/v0.8.0...v0.8.1) (2010-06-14)
1468
-
1469
- ### Bufixes
1470
-
1471
- - generate test report fails: ast/outline_table.rb fails in status() (#615 Aslak Hellesøy)
1472
-
1473
- ### New Features
1474
-
1475
- - Undefined steps with integers (Given 3 cukes) will generate snippets like (Given /(\d+) cukes/). (Aslak Hellesøy)
1476
-
1477
- ## [0.8.0](https://github.com/cucumber/cucumber-ruby/compare/v0.7.3...v0.8.0) (2010-06-06)
1478
-
1479
- ### Bugfixes
1480
-
1481
- - Require profile option causes a NoMethodError for Cucumber with JRuby (#601 John Firebaugh)
1482
- - Deprecations warnings with Spork + Cucumber + RSpec 2.0. (#619 Brian Cardarella)
1483
- - Fixed edge case compatibility problem with Gherkin 1.0.30. (#618 Aslak Hellesøy)
1484
-
1485
- ### New features
1486
-
1487
- - Better table support in the V8 Javascript support (Joseph Wilk)
1488
- - JSON formatters (json and json_pretty). (Jari Bakken)
1489
-
1490
- ### Removed features
1491
-
1492
- - The --no-diff option is removed. If you're using RSpec you will*always* get diffs. (Aslak Hellesøy)
1493
-
1494
- ### Changed Features
1495
-
1496
- - Upgraded to be compatible with rspec 2.0.0.beta.10 (Aslak Hellesøy)
1497
- - Ruby snippets will use "([^"]_)" instead of "([^\"]_)"$/ - wasn't properly fixed in 0.7.1. (Aslak Hellesøy)
1498
- - Preserve the order features files are passed and use this for execution order (#617 Joseph Wilk)
1499
-
1500
- ## [0.7.3](https://github.com/cucumber/cucumber-ruby/compare/v0.7.2...v0.7.3) (2010-05-17)
1501
-
1502
- ### New Features
1503
-
1504
- - Table cells can now contain escaped bars - \| and escaped backslashes - \\. (Gregory Hnatiuk, Aslak Hellesøy)
1505
- - Added support for Around hooks. (#605 John Firebaugh)
1506
-
1507
- ## [0.7.2](https://github.com/cucumber/cucumber-ruby/compare/v0.7.1...v0.7.2) (2010-05-04)
1508
-
1509
- ### Bugfixes
1510
-
1511
- - REALLY add backwards compatibility fix (with deprecation warning) for legacy 0.6.4 formatters. (Aslak Hellesøy)
1512
-
1513
- ## [0.7.1](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0...v0.7.1) (2010-05-03)
1514
-
1515
- ### Bugfixes
1516
-
1517
- - Add backwards compatibility fix (with deprecation warning) for legacy 0.6.4 formatters. (Aslak Hellesøy)
1518
-
1519
- ### Changed Features
1520
-
1521
- - Ruby and Javascript snippets will use "([^"]_)" instead of "([^\"]_)"$/ (Aslak Hellesøy)
1522
-
1523
- ## [0.7.0](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.8...v0.7.0) (2010-05-02)
1524
-
1525
- This release is an important milestone for Cucumber. A new parser (the gherkin gem) parses feature
1526
- files 50-100 times faster than with 0.6.x and previous releases. Make sure you read the upgrade
1527
- instructions! http://wiki.github.com/aslakhellesoy/cucumber/upgrading
1528
-
1529
- ## [0.7.0.beta.8](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.7...v0.7.0.beta.8) (2010-04-29)
1530
-
1531
- ### Bugfixes
1532
-
1533
- - Inconsistent order of execution Background and Before in 0.7.0.beta.2 (#600 Mike Sassak)
1534
- - Make sure both lexing and parsing errors are captured and reported with line number (Gregory Hnatiuk)
1535
-
1536
- ## [0.7.0.beta.7](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.6...v0.7.0.beta.7) (2010-04-28)
1537
-
1538
- ### Bugfixes
1539
-
1540
- - 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)
1541
-
1542
- ## [0.7.0.beta.6](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.5...v0.7.0.beta.6) (2010-04-28)
1543
-
1544
- ### Bugfixes
1545
-
1546
- - Fixed a small regression with pystrings and calling steps from stepdefs, introduced in a previous beta. (Aslak Hellesøy)
1547
-
1548
- ## [0.7.0.beta.5](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.4...v0.7.0.beta.5) (2010-04-27)
1549
-
1550
- ### New Features
1551
-
1552
- - Support RSpec 2. (RSpec >= 1.2.4 is still supported). (Aslak Hellesøy, Ryan Bigg)
1553
-
1554
- ### Removed features
1555
-
1556
- - No more support for RSpec <= 1.2.3. (Aslak Hellesøy)
1557
-
1558
- ## [0.7.0.beta.4](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.3...v0.7.0.beta.4) (2010-04-23)
1559
-
1560
- ### New Features
1561
-
1562
- - New, experimental V8 javascript support - step definitions in Javascript! (Joseph Wilk)
1563
-
1564
- ### Bugfixes
1565
-
1566
- - Gherkin is loaded via rubygems if it can't be found on the $LOAD_PATH. (Aslak Hellesøy)
1567
-
1568
- ## [0.7.0.beta.3](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.2...v0.7.0.beta.3) (2010-04-23)
1569
-
1570
- ### Changed Features
1571
-
1572
- - 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)
1573
-
1574
- ## [0.7.0.beta.2](https://github.com/cucumber/cucumber-ruby/compare/v0.7.0.beta.1...v0.7.0.beta.2) (2010-04-21)
1575
-
1576
- ### New Features
1577
-
1578
- - Depend on Gherkin 1.0.18, which has some bugfixes. (Aslak Hellesøy)
1579
-
1580
- ## [0.7.0.beta.1](https://github.com/cucumber/cucumber-ruby/compare/v0.6.4...v0.7.0.beta.1) (2010-04-20)
1581
-
1582
- Treetop is gone and replaced with Ragel. The new Ragel parser lives in the gherkin gem.
1583
- Parse times are up to 100 times faster.
1584
-
1585
- ### New Features
1586
-
1587
- - Upgraded Sinatra example to use Sinatra 1.0 and Capybara. (Aslak Hellesøy)
1588
-
1589
- ### Changed Features
1590
-
1591
- - New i18n translations now have to be contributed to the gherkin project.
1592
-
1593
- ## [0.6.4](https://github.com/cucumber/cucumber-ruby/compare/v0.6.3...v0.6.4) (2010-03-30)
1594
-
1595
- ### Bugfixes
1596
-
1597
- - Better handling of --guess with optional capture groups (Tim Felgentreff)
1598
- - Parsing of rerun.txt can't use Shellwords on Windows (#581 David Esposito)
1599
- - \#puts can now take non-String arguments just like Kernel#puts - #to_s is done implicitly. (Aslak Hellesøy)
1600
- - Attempt to fix Cucumber::CODEPAGE error again for Windows (#561 Aslak Hellesøy)
1601
- - Tab indentation causes multiline step arguments to fail (#585 Aslak Hellesøy)
1602
- - Properly pass tags over the wire protocol (Matt Wynne)
1603
- - Profile loading should honour the --strict option (#580 Rob Holland)
1604
- - Snippets are properly printed when using '\*' as step keyword. (Used to cause infinite recursion). (Aslak Hellesøy)
1605
-
1606
- ### New features
1607
-
1608
- - Added #puts_world method, printing the World class and all included modules (Ruby only). (Aslak Hellesøy)
1609
- - Added #puts to the PDF formatter (Nicolas Bessi)
1610
- - Show fails for After/Before hooks in the progress formatter (#584 Joseph Wilk)
1611
-
1612
- ### Changed features
1613
-
1614
- - Switced to ISO 639-1 (language) and ISO 3166 alpha-2 (region - if applicable). Applies to Catalan,
1615
- Swedish, Welsh, Romanian and Serbian. (Aslak Hellesøy)
1616
-
1617
- ## [0.6.3](https://github.com/cucumber/cucumber-ruby/compare/v0.6.2...v0.6.3) (2010-03-02)
1618
-
1619
- ### Bugfixes
1620
-
1621
- - Split arguments in cucumber.yml with shellwords. Example: myprofile: --out="Features report.html" (Nathaniel Haas)
1622
- - Breakage in Rails 2-3-stable after html_safe is added to the repo. (#577 Aslak Hellesøy)
1623
- - uninitialized constant Cucumber::CODEPAGE (NameError) (#561 Aslak Hellesøy)
1624
- - HTML Formatter is broken in cucumber 0.6.2 and cuke4duke 0.2.3 (#567 Dan Fitch)
1625
- - Ensure consistent load order of support files (#564 Mike Sassak)
1626
- - Fix various places in PDF formatter where HTML entities could break prawn (Matt Wynne)
1627
- - The rerun formatter outputs failed, pending and undefined scenarios (before: only failing) (Aslak Hellesøy)
1628
-
1629
- ### New features
1630
-
1631
- - Added "Angenommen" as German synonym for Given (Sven Fuchs, Aslak Hellesøy)
1632
- - New #ask(question, timeout_seconds=60) method available to stepdefs. Asks for input and #puts-s question and answer. (Aslak Hellesøy)
1633
- - Links to step definitions are now clickable in TextMate's HTML report (Rob Aldred)
1634
- - Add diff! message to wire protocol to allow for immediate diff response to invokes (Matt Wynne)
1635
- - Add tags to begin/end scenario messages on wire protocol to support tagged hooks (#571 Matt Wynne)
1636
- - Default timeouts to 120s for invoke, begin_scenario and end_scenario messages in wire protocol (#572 Matt Wynne)
1637
-
1638
- ## [0.6.2](https://github.com/cucumber/cucumber-ruby/compare/v0.6.1...v0.6.2) (2010-01-17)
1639
-
1640
- ### Bugfixes
1641
-
1642
- - Update --help for --tags which was out of date. (Aslak Hellesøy)
1643
- - Explicitly use Prawn 0.6.3 for pdf formatter since 0.7.1 is broken (Aslak Hellesøy)
1644
- - PDF formatter renders tables incorrectly (#553 Andy Waite)
1645
- - Better colouring in HTML report (Rob Aldred)
1646
- - Detect output encoding properly on JRuby+Windows (Aslak Hellesøy)
1647
- - Added option to override output encoding on Windows with an CUCUMBER_OUTPUT_ENCODING env var (Aslak Hellesøy)
1648
- - PDF generation requires 'prawn-format' (#558 Aslak Hellesøy)
1649
-
1650
- ### New features
1651
-
1652
- - Show profiles in error scenario summary. (#550 Joseph Wilk)
1653
-
1654
- ### Removed features
1655
-
1656
- - element_at and table_at have been removed. Use tableish in cucumber-rails instead. (Aslak Hellesœy)
1657
-
1658
- ## [0.6.1](https://github.com/cucumber/cucumber-ruby/compare/v0.6.0...v0.6.1) (2010-01-03)
1659
-
1660
- ### Bugfixes
1661
-
1662
- - Fixed broken console handling on Windows/JRuby that was introduced in 0.6.0. (Aslak Hellesøy)
1663
-
1664
- ## [0.6.0](https://github.com/cucumber/cucumber-ruby/compare/v0.5.3...v0.6.0) (2010-01-03)
1665
-
1666
- Bumping to 0.6.0 for this release since we're breaking backwards compatibility with tags.
1667
-
1668
- ### Changed Features
1669
-
1670
- - Tag boolean logic is inverted. What was ORed before is now ANDed and vice versa. (#504 Aslak Hellesøy)
1671
- This makes it more practical in most cases to mix tags from profiles and the command line
1672
-
1673
- In previous versions the following command line:
1674
-
1675
- `--tags @foo,~@bar --tags @zap (on the command line)`
1676
-
1677
- or the following Hook:
1678
-
1679
- `Before("@foo,~@bar", "@zap") (for Hooks)`
1680
-
1681
- would be equivalent to the boolean expression: (@foo && !@bar) || @zap
1682
- Starting with this release it will be equivalent to: (@foo || !@bar) && @zap
1683
-
1684
- ### Bugfixes
1685
-
1686
- - Cucumber not loading the correct settings using autospec (#496, #523 Aslak Hellesøy, Andrzej Śliwa)
1687
- - Ruby 1.9.2 fails to load features/support/env.rb (#549 Aslak Hellesøy)
1688
- - All features (except 4) pass on 1.9.2 (but not on 1.9.1) (Aslak Hellesøy)
1689
- - Add missing require statement in rerun formatter which broke RubyMine (Noah Sussman)
1690
-
1691
- ## [0.5.3](https://github.com/cucumber/cucumber-ruby/compare/v0.5.2...v0.5.3) (2009-12-22)
1692
-
1693
- Another small release today to please a sister project. This time Cuke4Nuke.
1694
-
1695
- ### New Features
1696
-
1697
- - Simplified wire protocol to mostly use success / fail responses (Matt Wynne)
1698
-
1699
- ## [0.5.2](https://github.com/cucumber/cucumber-ruby/compare/v0.5.1...v0.5.2) (2009-12-22)
1700
-
1701
- ### New Features
1702
-
1703
- - On JRuby/Cuke4Duke, --require DIR will put DIR on the $CLASSPATH, making it easier to load step def classes (Aslak Hellesøy)
1704
- - New --jars option that will load jar files. Only available on JRuby. Practical for Cuke4Duke. (Aslak Hellesøy)
1705
-
1706
- ### Bugfixes
1707
-
1708
- - Add #embed back to html formatter (#547 Brandon Faloona)
1709
- - Refactored wire protocol code and added configurable timeout to allow for long running step definitions. (#546 Matt Wynne)
1710
-
1711
- ## [0.5.1](https://github.com/cucumber/cucumber-ruby/compare/v0.5.0...v0.5.1) (2009-12-16)
1712
-
1713
- Small bugfix release.
1714
-
1715
- ### Bugfixes
1716
-
1717
- - Replaced dependency on json gem with an error message, so that the cucumber gem installs on JRuby. (Aslak Hellesøy)
1718
-
1719
- ## [0.5.0](https://github.com/cucumber/cucumber-ruby/compare/v0.4.4...v0.5.0) (2009-12-15)
1720
-
1721
- 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.
1722
- Please see History.txt in cucumber-rails for details about what's new on the Rails side.
1723
-
1724
- ### New features
1725
-
1726
- - "Given" in Dutch is now aliased to "Gegeven" or "Stel". (Iain Hecker)
1727
- - New --i18n option to list keywords in various languages. (Aslak Hellesøy)
1728
- - Added a Tcl example using Sam Stephenson's ruby-tcl (Aslak Hellesøy)
1729
- - Added\* as a synonym for Given/When/Then/And/But (for all i18n languages). (#462 Aslak Hellesøy)
1730
- - The HTML formatter produces a much nicer report, with TextMate link integration. (Rob Aldred)
1731
- - Wire protocol now supports table arguments, step definition source & regexp, snippets, pending, table diffing (Matt Wynne)
1732
-
1733
- ### Changed Features
1734
-
1735
- - Per-word trailing-space setting for step keywords using '<'. See 'fr' in languages.yml for example. (#525 Gregory Hnatiuk)
1736
- - Formatters will no longer be passed File objects. They must use ensure_io, ensure_file or ensure_dir. (Aslak Hellesøy)
1737
-
1738
- ### Bugfixes
1739
-
1740
- - Exception messages are properly escaped in the HTML report. (Aslak Hellesøy)
1741
- - Improved UTF-8 support for Windows. (Aslak Hellesøy)
1742
- - 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)
1743
- - JUnit formatter not handling multiline table steps inside Scenario Outlines (#538 Matt Wynne)
1744
- - Pending in scenario outline is red (#399 Matt Wynne)
1745
- - Allow optional step arguments to play happily with step transforms (Rob Holland)
1746
- - Regex escape the path when filtering the backtrace (Corey Donohoe & Simon Rozet)
1747
- - Add gem dependency on JSON gem, required by wire protocol (#533 Matt Wynne)
1748
-
1749
- ### Removed Features
1750
-
1751
- - All Rails-related code is in a separate gem: cucumber-rails. Install that if you're working with Rails. (#483 Aslak Hellesøy)
1752
- - --language is removed: http://wiki.github.com/aslakhellesoy/cucumber/spoken-languages (Aslak Hellesøy)
1753
-
1754
- ## [0.4.4](https://github.com/cucumber/cucumber-ruby/compare/v0.4.3...v0.4.4) (2009-11-13)
1755
-
1756
- What a bad day to make a release, but here goes.
1757
-
1758
- ### New features
1759
-
1760
- - Cucumber should use ActiveSupport::Callbacks for fixtures (#516 Adam Salter)
1761
- - Make 'I' optional in all webrat steps. (Gavin Hughes)
1762
- - Make generated cucumber.rake work with a vendored gem (Alex Rothenberg)
1763
- - Native support for ANSIColor on IronRuby via the iron-term-ansicolor gem (Will Green)
1764
- - Call a bunch of steps from step definitions - also with tables or pystrings. Copy-paste friendly (Bodaniel Jeanes, Jack Chen, Aslak Hellesøy)
1765
-
1766
- ### Bugfixes
1767
-
1768
- - Pretty printer fails when expanding scenario outlines with -x when the background includes a table (#515 Mike Sassak)
1769
- - Ensure tags used with Before/After hooks always get parsed (#520 Joseph Wilk)
1770
- - Define IRONRUBY correctly on Ruby 1.9 (Joe Van Dyk)
1771
- - RbStepDefinition#invoke calls #backtrace_line on self rather than @proc (#503 Mike Sassak)
1772
- - Avoid duplicate cucumber entries in database.yml (Daniel Hofstetter)
1773
- - Added respond_to? when checking config.cache_classes for older Rails versions (Jeremy Durham)
1774
-
1775
- ### Changed Features
1776
-
1777
- - Rails support has been moved to the cucumber-rails gem (Dennis Blöte, Aslak Hellesøy) TODO - WIKI DOCUMENTATION BEFORE RELEASE
1778
- - The code for Czech has changed from cz to cs. (deepj)
1779
- - $cucumber_interrupted is now Cucumber.wants_to_quit - avoid global variable, which gives warnings. (Aslak Hellesøy)
1780
- - Examples keyword without a colon is deprecated loudly. Gherkin will not recognize it at all. (Gherkin #30 Mike Sassak)
1781
-
1782
- ## [0.4.3](https://github.com/cucumber/cucumber-ruby/compare/v0.4.2...v0.4.3) (2009-10-27)
1783
-
1784
- The exciting thing about this release is that the wire protocol is starting to take shape. This means you can
1785
- now use Cucumber with .NET - writing step definitions in C#. And this is without having to use IronRuby at all!
1786
- See Cuke4Nuke (http://wiki.github.com/richardlawrence/Cuke4Nuke) for more information.
1787
-
1788
- As usual there are several small features and bug fixes.
1789
-
1790
- ### New Features
1791
-
1792
- - Add support for ORing tags which are passed in with seperate --tag arguments. Make comma seperated tags use AND (#368 Joseph Wilk)
1793
- - New Wire Protocol - allowing out of process execution of Cucumber scenarios. (#428 Matt Wynne)
1794
- - Added an example illustrating how to get screenshots in HTML reports (examples/watir) (Aslak Hellesøy)
1795
- - Added new #embed(file, mime_type) method to visitors and Ruby Worlds to make it easier to embed screenshots (Aslak Hellesøy)
1796
- - The #puts method available from Ruby Step Definitions will print*after* the step is executed. (#487 Zoltan Penzeli)
1797
- - Add support for rolling back transaction for all open database connections. (John Ferlito)
1798
- - Show scenario and step summary in HTML formatter (#285 Joseph Wilk)
1799
- - Ast::Table can now be constructed with an Array of Hash. (Aslak Hellesøy)
1800
-
1801
- ### Changed features
1802
-
1803
- - The #puts method will no longer escape HTML if the html formatter is used. Escaping must be done manually. (Aslak Hellesøy)
1804
-
1805
- ### Bugfixes
1806
-
1807
- - Fixed incorrect rendering of step arguments with UTF8 characters (Aslak Hellesøy)
1808
- - "--format rerun", with a Scenario Outline, kills cucumber (#492 Aslak Hellesøy)
1809
- - Usage formatter is not reporting time correctly. (Elliot Crosby-McCullough)
1810
- - JUnit formatter raises a more helpful error when run on a feature with no name. (#493 Matt Wynne)
1811
- - Better Danish translation (Thorbjørn Ravn Andersen)
1812
-
1813
- ## [0.4.2](https://github.com/cucumber/cucumber-ruby/compare/v0.4.1...v0.4.2) (2009-10-14)
1814
-
1815
- Bugfix release. The 0.4.1 release was hosed when switching from Hoe to Jeweler.
1816
-
1817
- ## [0.4.1](https://github.com/cucumber/cucumber-ruby/compare/v0.4.0...v0.4.1) (2009-10-14)
1818
-
1819
- This is mostly a bugfix release. Some of Cucumber's own features have been fixed so they pass on more platforms,
1820
- making it easier for people to contribute. The README.txt also describes how to get up and running with the
1821
- development environment.
1822
-
1823
- ### Bugfixes
1824
-
1825
- - 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)
1826
- - Ensure no errors are raised when limiting with tags which are not in the feature set (#464 Joseph Wilk)
1827
- - Missing Romanian keywords added for Examples, Scenario Outline and Background (to my best google translate knowledge) (Aslak Hellesøy)
1828
- - Make rerun and --drb work together again after formatter API changes (#485 Erik Hansson, John Ferlito)
1829
-
1830
- ### New Features
1831
-
1832
- - The Rails cucumber generator will only default to RSpec if installed. And print better help. (Aslak Hellesøy)
1833
- - Added 'but' variants to Japanese. (Kakutani Shintaro)
1834
- - README.txt explains people how to run all tests. Install gems with geminstaller. (Aslak Hellesøy)
1835
- - Added support for Serbian language, both Cyrillic and Latin with usage examples. (Dejan Dimic)
1836
- - Add new 'debug' formatter for debugging and visualising the calls to listeners. (Matt Wynne)
1837
-
1838
- ### Changed features
1839
-
1840
- - Use http://github.com/aslakhellesoy/wac instead of http://github.com/aslakhellesoy/ansicolor on Windows/JRuby (#456 Aslak Hellesøy)
1841
-
1842
- ### Internal changes
1843
-
1844
- - Ditched Hoe for Jeweler (Aslak Hellesøy)
1845
- - Added StepMother#invoke(step_name, multiline_argument=nil) - needed by cuke4duke ticket #26 (Aslak Hellesøy)
1846
- - StepDefinitionMethods is gone.
1847
-
1848
- ## [0.4.0](https://github.com/cucumber/cucumber-ruby/compare/v0.3.104...v0.4.0) (2009-10-09)
1849
-
1850
- 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
1851
- went nuts and a lot of great contributions came in. Some of those broke backwards compatibility, and we decided it would be
1852
- better to do this while still on 0.3.x.
1853
-
1854
- Rails users: you*must* run script/generate cucumber after installing this version.
1855
-
1856
- If something breaks for you, please please please read this file carefully. It's most likely something referenced here, and
1857
- that will give you more information so you can solve any problems. If not, just get in touch on IRC or the Google Group.
1858
-
1859
- ### New Features
1860
-
1861
- - Total feature parsing time is shown when run with --verbose. Useful for benchmarking with future Ragel parser (Aslak Hellesøy)
1862
- - Tables yielded to step definitions are no longer frozen, so you can edit their data without #dup'ing (Aslak Hellesøy)
1863
- - Transform can now transform tables, using /table:col1,col2,col3/ (#478 Corey Haines)
1864
- - cucumber.yml can also end in .yaml and be located in .config/ or config/ dirs (#447 trans)
1865
- - Turkish support. (Hakan Şenol Ensari)
1866
- - Upgrade Rails generator to set a dependency to Spork 0.7.3. (Aslak Hellesøy)
1867
- - Installation via rubygems will print a message telling people to read this file. (Aslak Hellesøy)
1868
- - Files generated by the Rails cucumber generator have information about the risks of editing. (Aslak Hellesøy)
1869
- - Rotten Cucumber alert on Rails if you upgrade your gem without regenerating with script/generate cucumber. (Aslak Hellesøy)
1870
- - Stop the confusion between "homepage" and "home page" by allowing both (Ryan Bigg & Bodaniel Jeanes)
1871
- - Make script/cucumber file generated by the Rails cucumber generator look for cucumber in vendored gems as well. (Tom ten Thij)
1872
-
1873
- ### Changed Features
1874
-
1875
- - Step tables now default empty table cells to empty strings and not nil (#470 Joseph Wilk)
1876
-
1877
- ### Removed Features
1878
-
1879
- - The feature_list, feature_pattern, step_list and step_pattern properties are removed from the Rake task. Use profiles instead. (Aslak Hellesøy)
1880
- - The FeatureTask is removed. Use profiles instead.
1881
-
1882
- ### Bugfixes
1883
-
1884
- - instance_exec get declared private (#477 Tim Galeckas)
1885
- - Transforms can return nil. (Thomas Marek)
1886
- - Generated rails rake tasks doesn't use the vendored version cucumber binary (#468 Josh Nichols)
1887
- - Incorrect diagnostics in case when Before raises in presence of Background (#465 Fedor Kocherga)
1888
- - Error on pystring in scenario outline with pretty formatter (#475 Aslak Hellesøy)
1889
- - Adding After('@allow-rescue') to set allow_rescue back to its former value. (Alf Mikula)
1890
- - Feature files are now sorted before they are executed, because different operating systems may list files differently. (Aslak Hellesøy)
1891
- - Fixed image loading for Windows in PDF formatter. Allow use of both png and jpg. (#461 Declan Whelan)
1892
- - 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)
1893
- - JUnit formatter not handling scenario outline tables (#472 Matt Wynne)
1894
- - Language help broken (#467 Matt Wynne)
1895
- - Language help formatter aligns output better on Ruby 1.8.6 (Aslak Hellesøy)
1896
- - Better backtraces for Ruby 1.8.7. (Jakob Skov-Pedersen)
1897
- - String step definitions ( Given 'I have $number cucumbers' ) are escaped before being turned into regular expressions. (David Waite)
1898
-
1899
- ## [0.3.104](https://github.com/cucumber/cucumber-ruby/compare/v0.3.103...v0.3.104) (2009-09-27)
1900
-
1901
- This release has some minor changes to the command line and formatters. The biggest change is internally, paving
1902
- the way for more programming language support in Cuke4Duke, which now supports step definitions written in Java, Scala,
1903
- Groovy, Clojure and Javascript!
1904
-
1905
- ### New Features
1906
-
1907
- - "usage" formatter should display progress (#437 Aslak Hellesøy)
1908
- - Added example for Ramaze. (Yutaka HARA)
1909
-
1910
- ### Bugfixes
1911
-
1912
- - Fixed regression in profile formatter from 0.3.102. (Aslak Hellesøy)
1913
- - Raise a proper error message if someone forgets @ for tags, example: --tags ~foo or --tags bar. (Aslak Hellesøy)
1914
- - lib/cucumber/formatter/html.rb requires xml (#458 Brent Snook)
1915
- - lib/cucumber/formatter/html.rb requires ruby-debug (#455 Assaf Arkin)
1916
- - Allow for STDOUT formatters to be defined in profiles. Addresses an Autotest plugin issue. (#375 Gabriel Medina)
1917
-
1918
- ### Removed features
1919
-
1920
- - The --dry-run option no longer implies --no-source and --no-snippets. It only implies --no-snippets. (Aslak Hellesøy)
1921
-
1922
- ### Changed features
1923
-
1924
- - 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)
1925
- - The steps formatter has been renamed to stepdefs formatter. (Aslak Hellesøy)
1926
- - The internal programming language API has changed, giving more power to the implementation. See #428. (Aslak Hellesøy)
1927
-
1928
- ## [0.3.103](https://github.com/cucumber/cucumber-ruby/compare/v0.3.102...v0.3.103) (2009-09-24)
1929
-
1930
- This release gives you back some of the control over the Rails environment that was accidentally taken away from you in the
1931
- previous release.
1932
-
1933
- Using this release on a Rails project requires a rerun of script/generate cucumber.
1934
-
1935
- ### New Features
1936
-
1937
- - Added a new @no-txn tag to selectively turn off transactions for a particlular scenario.
1938
- - Added back a way to globally turn off transactions.
1939
- - Renamed @allow_rescue tag to @allow-rescue.
1940
-
1941
- ### Bugfixes
1942
-
1943
- - Gracefully handle cases when optional regexp groups are not matched. Ex: /should( not)? be flashed '([^']\*?)'$/ (Aslak Hellesøy)
1944
-
1945
- ### Changed Features
1946
-
1947
- - The Formatter API has completely changed. Formatters are no longer a double-dispacth visitor - just a single-dispatch listener (#438 Matt Wynne)
1948
-
1949
- ## [0.3.102](https://github.com/cucumber/cucumber-ruby/compare/v0.3.101...v0.3.102) (2009-09-22)
1950
-
1951
- This release has some changes in the Rails support, so make sure you run "script/generate cucumber" after you upgrade.
1952
- Other noteworthy new features are improved Hook, tags and Transform support, and as always - several smaller bug fixes.
1953
-
1954
- ### New Features
1955
-
1956
- - Added new internal API for Regexp and groups, allowing other programming languages to leverage native regexps. (Aslak Hellesøy)
1957
- - 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)
1958
- - 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)
1959
- - Transform has current "World" scope (Larry Diehl)
1960
- - Other Transforms can be reused by calling Transform with a string inside of another Transform definition (Larry Diehl)
1961
- - Execute "After" hooks in reverse order of declaration for better behavior with dependent blocks and to mimic the behavior of at_exit (David Waite)
1962
-
1963
- ### Bugfixes
1964
-
1965
- - features/support/env.rb runs commands twice (bugfix cuts total time by almost 50% w00t) (#452 Jim Meyer)
1966
- - Problems adding custom formatters to features/support. (features/support is added to $LOAD_PATH) (#449 Aslak Hellesøy)
1967
- - Some options set in cucumber.yml profiles are ignored (#446 Leonard CHIN)
1968
- - Missing step_definition snippets not properly displayed (#433 Aslak Hellesøy)
1969
- - rspec-rails, :lib => false (#447 David Chelimsky)
1970
- - Cucumber with Spork breaks on OS X Snow Leopard (#431 David Chelimsky)
1971
-
1972
- ### Changed Features
1973
-
1974
- - 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)
1975
-
1976
- ### Removed features
1977
-
1978
- - The Cucumber::Rails.bypass_rescue no longer exists. Errors will always bubble up, unless you use the new @allow_rescue tag. (Aslak Hellesøy)
1979
- - The Cucumber::Rails.use_transactional_fixtures no longer exists. Transactional fixtures are always enabled for the cucumber environment. (Aslak Hellesøy)
1980
-
1981
- ## [0.3.101](https://github.com/cucumber/cucumber-ruby/compare/v0.3.100...v0.3.101)
1982
-
1983
- Two exciting things in this release. Step Argument Transforms and a PDF formatter you can use to send
1984
- your features to your customer for review!
1985
-
1986
- ### New Features
1987
-
1988
- - New pdf formatter (#425 Mads Buus)
1989
- - Step Argument Transforms: These let you use the Transform method to register regular expressions
1990
- to catch and transform/coerce arguments before they are yielded to step definitions:
1991
- http://wiki.github.com/aslakhellesoy/cucumber/step-argument-transforms (Larry Diehl & Dave Astels)
1992
- - Adding webrat steps for asserting content does or does not exist within a particular element
1993
- (using webrat's within method) (Kieran Pilkington)
1994
-
1995
- ## [0.3.100](https://github.com/cucumber/cucumber-ruby/compare/v0.3.99...v0.3.100) (2009-09-08)
1996
-
1997
- The JavaZone release!
1998
-
1999
- ### New Features
2000
-
2001
- - Added support for Uzbek (msarvar)
2002
- - The file argument on the cucumber command line will replace contents of file on cli if file is prefixed with @ (Tero Tilus)
2003
-
2004
- ### Bugfixes
2005
-
2006
- - Backtraces on JRuby are handled in a cleaner way when the exception comes from Java (NativeException). (Aslak Hellesøy)
2007
- - When exceptions occur in a Before block the rest of the scenario is now skipped (#331 Matt Wynne)
2008
-
2009
- ## [0.3.99](https://github.com/cucumber/cucumber-ruby/compare/v0.3.98...v0.3.99) (2009-09-02)
2010
-
2011
- ### New Features
2012
-
2013
- - Support for Croatian (Bkrsta)
2014
- - Make #feature available from scenario so you can do: Before{|scenario| scenario.feature}. (Aslak Hellesøy)
2015
- - cucumber.yml parsing supports ERB syntax (#427 Gregory Hnatiuk)
2016
- - New AfterConfiguration hook added; a block can be specified that takes Cucumber::Cli::Configuration (#423 Brent Snook)
2017
- - Cucumber::Cli::Configuration#feature_dirs and #out_stream exposed as public attributes so that they may be used in AfterConfiguration hook (#423 Brent Snook)
2018
-
2019
- ## [0.3.98](https://github.com/cucumber/cucumber-ruby/compare/v0.3.97...v0.3.98) (2009-08-25)
2020
-
2021
- Just a small release to help Cuke4Duke, which will be presented at Agile2009
2022
- in 2 days.
2023
-
2024
- ### New Features
2025
-
2026
- - Backtrace filtering now happens in StepInvocation class, meaning other languages (Cuke4Duke) can get backtraces stripped. (Aslak Hellesøy)
2027
- - Cucumber::Ast::Table#map_headers now allows for a block that will convert all the headers. See docs for details. (Ben Mabey)
2028
-
2029
- ## [0.3.97](https://github.com/cucumber/cucumber-ruby/compare/v0.3.96...v0.3.97) (2009-08-23)
2030
-
2031
- The AA-FTT release. Creating a release for the AA-FTT meeting in Chicago so that we can play
2032
- with the new language API and maybe knock out some better .NET support.
2033
-
2034
- ### Bugfixes
2035
-
2036
- - Allow comments on examples sections underneath scenario outlines (#420 Mike Sassak)
2037
- - Table.map_headers! will fail with a decent error message when 0 or 2+ headers are matched. (Aslak Hellesøy)
2038
- - Fixed an issue with comments with preceding spaces after a background causing a parse error (#401 Joseph Wilk)
2039
-
2040
- ### New Features
2041
-
2042
- - The public API is documented and there is a new :sdoc task to generate nice searchable API docs.
2043
- - Add :default => :cucumber when setting up Rake tasks for Cucumber in Rails (Aslak Hellesøy)
2044
- - New When /^I fill in "([^\"]_)" for "([^\"]_)"$/ Webrat step for Rails (Aslak Hellesøy)
2045
-
2046
- ### Changed Features
2047
-
2048
- - Changed the Programming Language API to support languages without "bleed through" (e.g. rubypython can't invoke ruby objs) (Aslak Hellesøy)
2049
- - The Programming Language API manages hooks on the language level instead of on the step mother level (Aslak Hellesøy)
2050
-
2051
- ## [0.3.96](https://github.com/cucumber/cucumber-ruby/compare/v0.3.95...v0.3.96) (2009-08-15)
2052
-
2053
- This release doesn't have any significant new features or bug fixes, but there are big
2054
- internal changes. This release has a new API for plugging in other programming languages.
2055
- You can read more about that here: http://groups.google.com/group/cukes/browse_thread/thread/b9db8bf1f3ec9708
2056
-
2057
- This might break other tools that are using Cucumber's internal APIs. For example Spork broke and had to
2058
- be patched. Please upgrade to Spork 0.5.9 if you are using Spork.
2059
-
2060
- ### New Features
2061
-
2062
- - Ability to preload natural language in Spork's prefork. Rerun script/generate cucumber --spork to see how. (Aslak Hellesøy)
2063
- - Ability to control which DRb port is used via the --port flag or by setting CUCUMBER_DRB environment variable. (Chris Flipse)
2064
- - Upgrade Rails generator to use webrat 0.5.0. (Aslak Hellesøy)
2065
- - Upgrade Sinatra example to work with rack-test 0.4.1 and webrat 0.5.0. (Aslak Hellesøy)
2066
-
2067
- ### Changed Features
2068
-
2069
- - --strict will cause an exit code 1 for missing and pending (used to be for missing only). (Mads Buus)
2070
- - junit formatter doesn't report pending steps unless --strict is used. (Mads Buus)
2071
-
2072
- ## [0.3.95](https://github.com/cucumber/cucumber-ruby/compare/v0.3.94...v0.3.95) (2009-08-13)
2073
-
2074
- This release improves Webrat support for table-like HTML markup. Now you can easily turn the HTML
2075
- elements table, dl, ol and ul elements into a 2D array. This is particularly useful for comparing
2076
- data in your HTML with a Cucumber table using Cucumber::Ast::Table#diff!
2077
-
2078
- This release also fixes several bugs related to --drb (Spork) and profiles (cucumber.yml)
2079
-
2080
- ### Bug Fixes
2081
-
2082
- - --guess will always prefer the longest regexp with no groups if they exist.
2083
- - Prevent delays if a NoMethodError is raise in a step definition. Define a light #inspect in World. (#374 Aslak Hellesøy)
2084
- - Restore 'features' as the default feature running path. (#412 Ben Mabey)
2085
- - --drb degrades gracefully when no drb server is running and no formatter is provided. (#410 Ben Mabey)
2086
- - --language picked up from profiles again. (#409 Ben Mabey)
2087
- - Resolved infinite loop problem when --drb was defined in a profile. (#408 Ben Mabey)
2088
-
2089
- ### New Features
2090
-
2091
- - Cucumber::World#table has been overloaded to work with 2D Array in addition to a table String to be parsed.
2092
- - New When /^I fill in the following:$/ step definition for Webrat. Useful for filling out a form with a Table. (Aslak Hellesøy)
2093
- - The object returned by element_at (Webrat::Element) has a #to_table that works for table, dl, ol and ul. (Aslak Hellesøy)
2094
- - An explanation of why failures are ok is printed when --wip is used. (Aslak Hellesøy)
2095
- - Added cucumber alias for cucumber:ok in Rails Rake tasks. (Aslak Hellesøy)
2096
-
2097
- ### Changed features
2098
-
2099
- - 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)
2100
- - 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)
2101
-
2102
- ## [0.3.94](https://github.com/cucumber/cucumber-ruby/compare/v0.3.93...v0.3.94) (2009-08-06)
2103
-
2104
- Kanban take II.
2105
-
2106
- Release 0.3.6 introduced a new --wip switch that can be used to limit work in progress
2107
- (WIP). Limiting WIP is central for Kanban Software Development (http://www.infoq.com/articles/hiranabe-lean-agile-kanban).
2108
-
2109
- However, this feature went mostly unnoticed, and because we think it's so great we have decided
2110
- to make it the default for Rails projects. When you bootstrap your Rails project for Cucumber
2111
- you will now get 2 Cucumber Rake tasks for Kanban development:
2112
-
2113
- cucumber:ok : Run features that should pass. This runs your "good,old" features
2114
- cucumber:wip : Run the features you're working on that don't pass yet. Tag them with @wip. Max 2!
2115
-
2116
- So upgrade today and get into the habit of tagging new features with @wip (or invent your own tags).
2117
- You'll achieve better flow this way.
2118
-
2119
- ### New features
2120
-
2121
- - Support limiting the number of feature elements with certain tags (#353 Joseph Wilk)
2122
- - script/generate cucumber sets up 'cucumber:ok' and 'cucumber:wip' tasks and deprecates 'features'. More Kanban love. (#344 Aslak Hellesøy)
2123
- - Better JUnit formatter: feature->testsuite, scenario->testcase. Better timing and support for background and scenario outline. (Mads Buus Westmark)
2124
- - Added examples/python that uses rubypython. (Aslak Hellesøy)
2125
- - Checks the number of available colors on the terminal with ruby-terminfo if ruby-terminfo is installed.
2126
- This prevents Apple's Terminal.app from stalling (Yugui - Yuki Sonoda).
2127
- - Set 'xterm-256color' to TERM if your terminal supports grey.
2128
- - ruby-terminfo is available as genki-ruby-terminfo gem from github.
2129
- - Document builtin formatters with --help. (#406 Aslak Hellesøy)
2130
- - Added support for using regular expressions when mapping table headers. (Peter Williams)
2131
-
2132
- ## [0.3.93](https://github.com/cucumber/cucumber-ruby/compare/v0.3.92...v0.3.93) (2009-08-03)
2133
-
2134
- Highlights in this release: Improved profile handling (cucumber.yml) and a fix for cucumber hanging.
2135
-
2136
- ### New features
2137
-
2138
- - script/generate cucumber --spork now sets up a spork gem dependency in the cucumber.rb environment. (Aslak Hellesøy)
2139
- - Feature files defined on the command line override any that are present in profiles. (#344 Ben Mabey)
2140
- - Default (STDOUT) formatter defined in profile can be overridden from the command line. (#344 Ben Mabey)
2141
- - Displays which profile, if any, is being used. (Ben Mabey)
2142
- - click_link_within(parent, link) webrat step (Joakim Kolsjö)
2143
-
2144
- ### Bugfixes
2145
-
2146
- - script/cucumber correctly loads the gem's binary if the plugin isn't installed.
2147
- - Cucumber hangs waiting for Ctrl+C if an Error is raised. (#374 Aslak Hellesøy)
2148
-
2149
- ## [0.3.92](https://github.com/cucumber/cucumber-ruby/compare/v0.3.91...v0.3.92) (2009-07-29)
2150
-
2151
- This release has some minor improvements to the new Table.diff! functionality. For example,
2152
- if you're using Webrat and you want to compare a feature table with a HTML table containing
2153
- links in one of the columns, you can do:
2154
-
2155
- actual = Cucumber::Ast::Table.new(table_at('table').to_a)
2156
- actual.map_column!('Name') { |text| text.strip.match(/>(.*)</)[1] }
2157
- table.diff!(actual)
2158
-
2159
- ### New features
2160
-
2161
- - Allow Step Definitions to accept mix of required & optional args (Niels Ganser)
2162
- - table_a.diff!(table_b) now uses column conversions from both tables (Table#map_column!) (Aslak Hellesøy)
2163
-
2164
- ### Bugfixes
2165
-
2166
- - Upgrade Sinatra example to work with rack-test 0.3.0 and aslakhellesoy-webrat 0.4.4.1 (Aslak Hellesøy)
2167
- - require 'cucumber/webrat/table_locator' added to Spork environment for Rails (Anders Furseth)
2168
-
2169
- ### Changed Features
2170
-
2171
- - The 'default' profile is now ALWAYS used unless you specify another profile or use the -P or --no-profile flag. (#344 Ben Mabey)
2172
-
2173
- ## [0.3.91](https://github.com/cucumber/cucumber-ruby/compare/v0.3.90...v0.3.91) (2009-07-27)
2174
-
2175
- ### New Features
2176
-
2177
- - CTRL-C will exit immediately instead of carrying on until all features are run. (Aslak Hellesøy)
2178
- - Run can be stopped programmatically by setting $cucumber_interrupted = true, for example in an After block. (Aslak Hellesøy)
2179
- - Support limiting the number of feature elements with certain tags (#353 Joseph Wilk)
2180
- - Table support for cuke4duke
2181
-
2182
- ## [0.3.90](https://github.com/cucumber/cucumber-ruby/compare/v0.3.11...v0.3.90) (2009-07-21)
2183
-
2184
- The Hot summer release
2185
-
2186
- This is a hot summer in Norway, and Cucumbers are growing in abundance. To celebrate this we give you
2187
- a new release with lots of new features and bugfixes. This is also one of the last releases in the 0.3 series
2188
- (hence the 0.3.90 number), so 0.4 (or maybe 1.0!) will be coming up soon. The highlights of this release are:
2189
-
2190
- ### Egality
2191
-
2192
- English is not the world's most spoken language, so why should Cucumber force non-English speakers to use the
2193
- --language flag? As of this release you're no longer forced to do that. Instead, you can add a comment header
2194
- to your .feature files:
2195
-
2196
- # language: fr
2197
- # Cucumber understands that this is French
2198
- Fonctionnalité: Trou de boulette
2199
-
2200
- If you don't have that header, Cucumber will work as before - using whatever you specified with --language,
2201
- or default to English if no --language option was specified. A nice side effect of this is that you can now
2202
- have features in several languages side by side and run them in the same cucumber. (Not recommended unless
2203
- you want to take polyglot programming to an extreme level).
2204
-
2205
- ### Table diffing (experimental)
2206
-
2207
- When you pass a table as an argument to your Then steps you often want to compare that table
2208
- to some actual values. In previous releases you had to iterate over the table's values and manually
2209
- compare each row using cell.should equal('foo') or assert_equal('foo', cell). If a discrepancy was found
2210
- you'd get an error, but it was hard to see how the entire expected data set was different from the actual one.
2211
-
2212
- With this release you have a much more powerful way to compare expected tables with actual data. An
2213
- Ast::Table object now has a new #diff!(table) method that you can invoke in your step definitions
2214
- that take table arguments. If the table you pass in is different from the expected table (from your
2215
- plain text step), Cucumber will print the difference for each of the row or column and fail your step.
2216
-
2217
- The Table#diff! method expects an Array of Array, Array of Hash (similar to what you'd get from table#hashes)
2218
- or simply another Ast::Table object. Here is a simple example:
2219
-
2220
- Then /^I should see the following cukes:$/ do |expected_cukes_table|
2221
- actual_table = ... # For example [['Latin', 'English'], ['Cucumis sativus', 'Cucumber'], ['Cucumis anguria', 'Burr Gherkin']]
2222
- expected_cukes_table.diff!(actual_table)
2223
- end
2224
-
2225
- As an extra bonus we provide Webrat users with a new #table_at(selector) method that you can use to transform
2226
- an HTML table into an Array of Array, so that you can easily compare the contents of your HTML table to
2227
- expected data passed to a step. Here is an example:
2228
-
2229
- Then /^I should see the following cukes:$/ do |expected_cukes_table|
2230
- expected_cukes_table.diff!(table_at('#cuke_table').to_a)
2231
- end
2232
-
2233
- You can do the same trick to compare data from a Rails ActiveRecord table (although this is not a
2234
- recommended practice - your Then steps should compare against what users*see*, not what's in the
2235
- database):
2236
-
2237
- # This requires that you use the column names in the header of the plain text expected table
2238
- Then /^I should have the following cukes in the database:$/ do |expected_cukes_table|
2239
- expected_cukes_table.diff!(Cuke.find(:all).map(&attributes))
2240
- end
2241
-
2242
- ### Environment variables
2243
-
2244
- Another useful new feature is the ability to define environment variables on Cucumber's command line (just
2245
- like you can with Rake). Example:
2246
-
2247
- cucumber FOO=BAR --format progress features
2248
-
2249
- You can now pick up ENV['FOO'] in ruby (for example in env.rb) and take actions according to the value,
2250
- for example enabling your super hack that validates all HTTP responses for XHTML validity.
2251
-
2252
- This release also has several bugfixes related to --format and Before/After hooks.
2253
-
2254
- ### Bugfixes
2255
-
2256
- - Fix some misspellings which affect test fail for Korean example (#373 Dongju Kim)
2257
- - Make it possible to write non-localized step definitions (#377 Aslak Hellesøy)
2258
- - Table cells containing unicode are rendered incorrectly (#386 Stefan Kanev)
2259
- - Before and After hooks run after everything is finished when there are 2+ --format options (#371 Aslak Hellesøy)
2260
- - When using --out and two --format the first is not delivered inline with execution of features (#361 Aslak Hellesøy)
2261
- - Profile Formatter broken (#370 Aslak Hellesøy)
2262
- - Default profile usage with --drb flag degrades gracefully with no server. (#367 Ben Mabey)
2263
- - JUnit formatter uses original file name instead of narrative to avoid accidental duplicate XML files (Aslak Hellesøy)
2264
- - rake gems no longer lists cucumber as a [F]ramework gem (David Chelimsky)
2265
- - CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey)
2266
- - Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière)
2267
- - Fixed bug with rake task raising errors with feature files with spaces (#380 Joseph Wilk)
2268
-
2269
- ### New Features
2270
-
2271
- - I should see should support regexes (#382 John Ferlito)
2272
- - Access to scenario outline name from After hook scenario parameter (#342 Aslak Hellesøy)
2273
- - Allow multiple --tags switches to be passed
2274
- - Load step definitions from vendored gems and plugins (#388 Mike Burns)
2275
- - New --format steps formatter. Variant of the usage formatter that lists available step definitions (Demetrius Nunes)
2276
- - Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy)
2277
- - Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp)
2278
- - Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg)
2279
-
2280
- ### Changed Features
2281
-
2282
- - When using --tags, positive tags are &&'ed while negative tags are ||'ed (John Wilger)
2283
- - The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy)
2284
- - Visitor.visit_table_cell_value(value, col_width, status) is now visitor.visit_table_cell_value(value, status)
2285
-
2286
- ## [0.3.11](https://github.com/cucumber/cucumber-ruby/compare/v0.3.10...v0.3.11) (2009-06-05)
2287
-
2288
- This release just fixes a tiny bug in the formatter to fix an incompatibility
2289
- with the latest RedMine release. It should have been included in 0.3.10, but
2290
- was forgotten.
2291
-
2292
- ### Bugfixes
2293
-
2294
- - Formatter API was broken in 0.3.9 (Roman Chernyatchik)
2295
-
2296
- ## [0.3.10](https://github.com/cucumber/cucumber-ruby/compare/v0.3.9...v0.3.10) (2009-06-05)
2297
-
2298
- The Spork Release!
2299
-
2300
- This release has an exciting new feature - a new --drb switch! This magic switch lets you run your
2301
- features much faster than before, because you can eliminate the startup time for your code. This is
2302
- thanks to a brand new gem called Spork by Tim Harper and Ben Mabey. (You can find out more about Spork
2303
- here: http://github.com/timcharper/spork/tree/master). You can start Spork and have it preload your
2304
- application in a separate process. Spork listens for DRb connections, and when you run cucumber with
2305
- --drb the features will run inside the Spork server instead. Spork provides two simple hooks for preloading
2306
- your application - one for framework/stable code (Spork.prefork) and one for the code that*you* write and
2307
- change often (Spork.each_run). Keep in mind that all World, Before, and other Cucumber hooks need to be
2308
- in the Spork.each_run block. Using Spork works great for Ruby on Rails, which can take a while to load,
2309
- but --drb and Spork aren't tied to Rails at all. The new --drb switch also works great alongside autotest
2310
- (just add --drb to your autotest profile in cucumber.yml), so now you can get even faster feedback.
2311
-
2312
- Cucumber's built-in cucumber generator now has a new --spork switch, so when you bootstrap your Rails
2313
- application for cucumber, you can have spork configuration set up out of the box. (It's just a
2314
- slightly different env.rb.)
2315
-
2316
- Although Spork was in mind when the --drb switch was added it is important to realize that all that was added
2317
- to Cucumber was a DRb client. Any DRb server that adheres to this protocol can be used with Cucumber's --drb
2318
- switch. While Spork is geared towards removing the load time to give you a faster feedback loop you could
2319
- just as easily use this client with a server that distributes your features to run in parallel. Someone just
2320
- needs to write such a server. ;)
2321
-
2322
- This release also has some minor bugfixes related to RSpec and Rails interop.
2323
-
2324
- ### Bugfixes
2325
-
2326
- - RSpec's be\_\* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
2327
- - The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy)
2328
- - The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy)
2329
-
2330
- ### New features
2331
-
2332
- - Spork support via --drb. (Ben Mabey)
2333
- - Added a Ast::Feature#name method for convenience. (Aslak Hellesøy)
2334
-
2335
- ### Changed features
2336
-
2337
- - The HTML formatter wraps examples in a div, and distinguishes between Scenario and Scenario Outline. (Aslak Hellesøy)
2338
-
2339
- ## [0.3.9](https://github.com/cucumber/cucumber-ruby/compare/v0.3.8...v0.3.9) (2009-05-27)
2340
-
2341
- Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber
2342
- generator which is fixed in 0.3.9.
2343
-
2344
- ### Bugfixes
2345
-
2346
- - Fix broken Rails cucumber generator (Tim Glen)
2347
- - The Cucumber Rake task in non-fork mode will properly cause Rake to exit with 1 when Cucumber fails. (Aslak Hellesøy)
2348
-
2349
- ## [0.3.8](https://github.com/cucumber/cucumber-ruby/compare/v0.3.7...v0.3.8) (2009-05-27)
2350
-
2351
- This Cucumber version fixes several bugs related to Ruby on Rails and RSpec. If you
2352
- use Cucumber with a Rails app we*strongly* recommend you bootstrap Cucumber again:
2353
-
2354
- ruby script/generate cucumber
2355
-
2356
- ### New Features
2357
-
2358
- - Rails cucumber generator sets up default gem dependencies in cucumber environment.
2359
- - The duration of a run is reported by formatters - same format as the Linux time command (#228 Aslak Hellesøy)
2360
- - Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy)
2361
- - Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey)
2362
- - HTML formatter renders @tags (but the CSS is still ugly)
2363
-
2364
- ### Removed/changed features
2365
-
2366
- - The Cucumber Rake task will again fork by default (as 0.3.3 and earlier). Forking must be turned off explicitly. (Aslak Hellesøy)
2367
-
2368
- ### Bugfixes
2369
-
2370
- - Better coexistence with RSpec - Cucumber now*neuters* the part of RSpec that tries to parse ARGV.
2371
- - The differ= exception is gone (#325, #340 Aslak Hellesøy)
2372
-
2373
- ## [0.3.7](https://github.com/cucumber/cucumber-ruby/compare/v0.3.6...v0.3.7) (2009-05-22)
2374
-
2375
- This is the "Help JetBrains RubyMine" release!
2376
-
2377
- ### New Features
2378
-
2379
- - Added new Given alias for Catalan: Donat|Donada (Lleïr Borràs Metje)
2380
- - New --expand option. This will print Scenario Outlines once for each Example row - with values expanded. (#327 Aslak Hellesøy)
2381
- - You can override the formatter in Rails-generated rake tasks with the CUCUMBER_FORMAT environment variable (#335 Aslak Hellesøy)
2382
-
2383
- ### Bugfixes
2384
-
2385
- - 'specs' folder needs to be renamed back to 'spec' (#339 Aslak Hellesøy)
2386
- - CUCUMBER_OPTS doesn't work for cucumber rake tasks (#336 Aslak Hellesøy)
2387
-
2388
- ## [0.3.6](https://github.com/cucumber/cucumber-ruby/compare/v0.3.5...v0.3.6) (2009-05-20)
2389
-
2390
- Kanban! With this release you can tag features or scenarios that are work in progress
2391
- with a tag and use the new --wip switch.
2392
-
2393
- Another handy feature in this release is that you can package your own formatters in RubyGems.
2394
-
2395
- ### New features
2396
-
2397
- - New --wip switch. See http://www.jroller.com/perryn/entry/bdd_on_a_multi_disciplined (Perryn Fowler)
2398
- - Added a AfterStep hook (Luke Melia)
2399
- - New aliases for Vietnamese (Ngoc Dao)
2400
- - Automatic require of custom formatters. --require is no longer needed to load them, and they can be in Ruby gems. (Aslak Hellesøy)
2401
- - Lazy loading of built-in formatters. Should improve startup time a little bit.
2402
-
2403
- ### Bugfixes
2404
-
2405
- - Gracefully handle exceptions in After block (#330 Matt Wynne)
2406
- - Feature with only Background doesn't run hooks (#314, #329 Aslak Hellesøy)
2407
-
2408
- ## [0.3.5](https://github.com/cucumber/cucumber-ruby/compare/v0.3.4...v0.3.5) (2009-05-15)
2409
-
2410
- Let's make a new release today because two annoying bugs are fixed.
2411
-
2412
- ### Bugfixes
2413
-
2414
- - Allow feature element names to contain Gherkin keywords as long as they are not the first word on a newline (#319, #307 Joseph Wilk)
2415
-
2416
- ## [0.3.4](https://github.com/cucumber/cucumber-ruby/compare/v0.3.3...v0.3.4) (2009-05-14)
2417
-
2418
- A couple of great new features in this release. Running with Rake is faster than before,
2419
- and there is a brand new JUnit formatter - great for Continuous Integration reports!
2420
-
2421
- This release was made especially for the Oslo XP Meetup today.
2422
-
2423
- ** IMPORTANT UPGRADE NOTES FOR RAILS USERS**
2424
-
2425
- Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work,
2426
- so you have to explicitly tell the task to fork (like it was doing by default in prior
2427
- versions). In lib/tasks/cucumber.rake:
2428
-
2429
- Cucumber::Rake::Task.new(:features) do |t|
2430
- t.fork = true # Explicitly fork
2431
- t.cucumber_opts = %w{--format pretty}
2432
- end
2433
-
2434
- (If you run script/generate cucumber this will be done for you).
2435
- Alternatively you can omit forking and run features like this:
2436
-
2437
- RAILS_ENV=test rake cucumber
2438
-
2439
- However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this.
2440
-
2441
- ### Bugfixes
2442
-
2443
- - Hooks (World, Before, After) are no longer executed when --dry-run (Aslak Hellesøy)
2444
- - Proper UTF8 use in HTML formatter (Herminio Torres)
2445
- - Problem with multiple terms in languages.yml (#321 Aslak Hellesøy)
2446
-
2447
- ### New features
2448
-
2449
- - New JUnit formatter (Gareth Jones)
2450
- - Support for Vietnamese (Ngoc Dao)
2451
- - Added aliases for Feature and But in Japanese (Leonard Chin)
2452
- - Support for Catalan (Francesc Esplugas)
2453
-
2454
- ### Changed features
2455
-
2456
- - --exclude flag now works on ruby files in addition to feature files (#312 Ben Mabey)
2457
- - The Java example under examples/java uses Ant instead of Rake - and the new JUnit formatter.
2458
- - Rake task should not shell out (#297 Aslak Hellesøy)
2459
- The Cucumber Rake task will run Cucumber in the same Ruby interpreter as Rake itself
2460
- unless explicitly told to fork a new interpreter. This is to increase speed. You can
2461
- force a new interpreter by setting fork=true or rcov=true in the task.
2462
-
2463
- ## [0.3.3](https://github.com/cucumber/cucumber-ruby/compare/v0.3.2...v0.3.3) (2009-05-10)
2464
-
2465
- Minor bugfix release, made specially for EuRuKo!
2466
-
2467
- ### Bugfixes
2468
-
2469
- - Summaries are no longer printed in an empty () if there are no scenarios/steps (Aslak Hellesøy)
2470
- - Background, Scenario Outline, Before Hook interaction (#309 Aslak Hellesøy)
2471
- - Multiline String snippets no longer give misleading info. It's a String, not a PyString that's sent to step def.
2472
-
2473
- ### Removed/changed features
2474
-
2475
- - New aliases: --no-source/-s, --name/-n (#317 Lonnon Foster)
2476
-
2477
- ## [0.3.2](https://github.com/cucumber/cucumber-ruby/compare/v0.3.1...v0.3.2) (2009-05-03)
2478
-
2479
- This release has some minor bug fixes and new features.
2480
- Nothing major, but we need a release for RailsConf'09 in Las Vegas!
2481
-
2482
- ### Bugfixes
2483
-
2484
- - rake tasks with profiles not respecting --require flags (#311 Ben Mabey)
2485
- - Step table with blank cell fails (#308 JohnnyT)
2486
- - Fixed error where unused table cells in Examples where raising exceptions due to having no status (#302 Joseph Wilk)
2487
-
2488
- ### New features
2489
-
2490
- - Support for Hebrew (Ido Kanner)
2491
- - Summary should report scenarios (#32 Aslak Hellesøy)
2492
- - Examples and the associated tables are indented one level deeper than Scenario Outline. (Aslak Hellesøy)
2493
- - Added support for Examples selection when using --name. (#295 Joseph Wilk)
2494
-
2495
- ## [0.3.1](https://github.com/cucumber/cucumber-ruby/compare/v0.3.0...v0.3.1) (2009-04-26)
2496
-
2497
- This release has several minor bug fixes and new features. With the addition of Latvian and Hungarian Cucumber
2498
- now supports 32(!!) languages.
2499
-
2500
- ### New features
2501
-
2502
- - Support multiline names for Scenarios, Scenario Outlines, Backgrounds, Examples (#231 Joseph Wilk)
2503
- - Added #headers to Cucumber::Ast::Table (Ben Mabey)
2504
- - New translation for Latvian (Vitauts Stočka)
2505
- - New translation for Hungarian (#287 Bence Golda)
2506
- - Pick up failure on after hook (#272 Aslak Hellesøy)
2507
-
2508
- ### Bugfixes
2509
-
2510
- - Pretty formatter not colouring Examples tables correctly (#304 Aslak Hellesøy)
2511
- - Problem using --scenario and Scenario Outline (#298 Aslak Hellesøy)
2512
- - Tag Hook gets executed always there is a background (#301 Aslak Hellesøy)
2513
- - Feature which only has a Background with steps causes an exception (#306 Aslak Hellesøy)
2514
- - Gem no longer depends on Hoe (Aslak Hellesøy)
2515
- - Span html tags appear on HTML results with 0.3.0 (#299 Aslak Hellesøy)
2516
- - Fixed incorrect colours in pretty formatter's table headers for outline tables (Aslak Hellesøy)
2517
- - Exceptions from steps called within hooks are now reraised. (#294 Ben Mabey)
2518
-
2519
- ### Removed/changed features
2520
-
2521
- - --scenario handle has been removed and replaced with --name which supports partial matches, regexp special characters, running named backgrounds (#295 Joseph Wilk)
2522
-
2523
- ## [0.3.0](https://github.com/cucumber/cucumber-ruby/compare/v0.2.3...v0.3.0) (2009-04-14)
2524
-
2525
- This release has some minor changes to the APIs, but big enough that a new major release is in order.
2526
- The biggest change is the new semantics of the #World method. Previously you would call this method
2527
- several times, passing a Proc and extending the world object of the previous one with a Ruby module.
2528
- The problem was that there was no nice way to ensure the order in which these procs were called, which
2529
- led to some unexpected situations. In this release you can only register a single World proc. If you
2530
- want to extend a world with certain modules, you simply call the #World method with the module(s)
2531
- you wish to extend the World with. The Sinatra example illustrates how to do this. Also check out
2532
- the RDoc for Cucumber::StepMother#World.
2533
-
2534
- The Visitor API (which is used for formatters) has also changed slightly. However, we have tried to
2535
- do this in a backwards compatible way, so if you have custom formatters for Cucumber 0.2 they should
2536
- still work.
2537
-
2538
- One of the most significant new features is Tagged Hooks: http://wiki.github.com/aslakhellesoy/cucumber/hooks
2539
- This lets you associate Before and After blocks with specific scenarios.
2540
-
2541
- We are also deprecating the step_list, step_pattern, feature_list, and feature_pattern accessors on
2542
- Cucumber::Rake::Task. These accessors will be completely removed in version 0.4. For complex settings
2543
- please rely on cucumber profiles in your rake tasks:
2544
- http://wiki.github.com/aslakhellesoy/cucumber/using-rake#profiles
2545
-
2546
- ### New features
2547
-
2548
- - Use Hooks with @tags (#229 Aslak Hellesøy)
2549
- - Rake task supports cucumber.yml profiles (#187 Ben Mabey)
2550
- - Field value steps for Webrat (Jack Chen)
2551
- - Added translation for Bulgarian (Krasimir Angelov)
2552
- - Updated translation for Polish (#273 Grzegorz Marszałek)
2553
- - Only a single World proc can be registered. World extension now happens by calling #World with ruby modules.
2554
- - Portuguese uses Funcionalidade in stead of Característica and accented words are aliased with unaccented ones (Alexandre da Silva and Felipe Coury).
2555
- - The usage formatter also prints unused step definitions (Aslak Hellesøy)
2556
- - Better exception if a World proc returns nil. (Aslak Hellesøy)
2557
- - Allow Step Definitions to use |\*varargs|, but only on Ruby 1.9. (Aslak Hellesøy)
2558
- - Snippets for steps that use Step Tables or PyStrings include block param and object type hint comment (#247 Joseph Wilk)
2559
- - Support description string for Backgrounds (#271 Joseph Wilk)
2560
-
2561
- ### Bugfixes
2562
-
2563
- - After methods not being executed when Background fails (#288 Luismi Cavallé)
2564
- - Fixed dependency on internal files in rspec breaks cucumber w/ rspec-1.2.4 (#291 Aslak Hellesøy)
2565
- - Fix color use when using autotest on Linux. (Hans de Graaff)
2566
- - Fixed incorrect calculation of pystring indentation (#279 Eugene Naydanov)
2567
- - Fixed --format html leads to an error (#252 Aslak Hellesøy)
2568
- - Fixed Background runs twice (#255 Aslak Hellesøy)
2569
- - Fixed Background Transactions and :xx (#270 Aslak Hellesøy)
2570
- - Fixed Autospec failing with cucumber 0.2 (#254 Aslak Hellesøy)
2571
- - Sibling file detecting not working (#278 Aslak Hellesøy)
2572
-
2573
- ### Removed/changed features
2574
-
2575
- - The visitor API has changed slightly:
2576
- - \#visit_step_name, #visit_multiline_arg and \#visit_exception are no longer official API methods.
2577
- - \#visit_step_result replaces those 3 methods.
2578
- - Table and PyString no longer hold status information. Each visitor subclass should store state in @state if needed.
2579
- - \#visit_py_string no longer takes a status argument.
2580
-
2581
- ## [0.2.3](https://github.com/cucumber/cucumber-ruby/compare/v0.2.2...v0.2.3) (2009-03-30)
2582
-
2583
- This release sports 4 updated languages, slightly better help with snippets if you "quote" arguments
2584
- in your steps. Windows/JRuby users can enjoy colours and you get some more sugar with Tables.
2585
-
2586
- ### New features
2587
-
2588
- - Added new Then /^I should be on (.+)$/ do |page_name| step (Grant Hollingworth)
2589
- - Use skipped_param color for examples table header (#266 Eugene Naydanov)
2590
- - Added new Cucumber::Ast::Table#rows_hash method (Torbjørn Vatn)
2591
- - Windows/JRuby users can now enjoy colourful output (via http://github.com/aslakhellesoy/ansicolor) (#166 Aslak Hellesøy)
2592
- - Ambiguous step errors hint about --guess (unless --guess already on) (Aslak Hellesøy)
2593
- - Added translation for Slovak (Ahmed Al Hafoudh)
2594
- - Updated translation for Dutch (Bart Zonneveld)
2595
- - Updated translation for Italian (Alessandro Baroni)
2596
- - Updated translation for Japanese (KAKUTANI Shintaro)
2597
-
2598
- ### Bugfixes
2599
-
2600
- - Fixed step name after step keyword without space (#265 Aslak Hellesøy)
2601
- - Backtrace is back in HTML reports (Aslak Hellesøy)
2602
-
2603
- ## [0.2.2](https://github.com/cucumber/cucumber-ruby/compare/v0.2.1...v0.2.2) (2009-03-25)
2604
-
2605
- This release includes some minor changes to make Cucumber work with pure Java. Cucumber
2606
- has already worked with Java for a while (using JRuby and step definitions in Ruby),
2607
- but now you can write step definitions in pure Java!
2608
-
2609
- Check out the Cucumber Java project for more details:
2610
- http://github.com/aslakhellesoy/cucumber_java/tree/master
2611
-
2612
- ## [0.2.1](https://github.com/cucumber/cucumber-ruby/compare/v0.2.0...v0.2.1) (2009-03-25)
2613
-
2614
- This release fixes a few minor bugs and adds a couple of new features.
2615
-
2616
- ### Bugfixes
2617
-
2618
- - Fixed Cucumber, and rails controller error handling (#49 Matt Patterson)
2619
- - HTML Formatter doesn't work correctly with scenario Outlines. (#260 Aslak Hellesøy)
2620
- - After blocks are run in reverse order of registration. (#113 Aslak Hellesøy)
2621
- - Snippets are showing 'Ands' (#249 Aslak Hellesøy)
2622
-
2623
- ### New features
2624
-
2625
- - Snippets use a regexp and block arguments if the step name has "quoted" arguments. (Aslak Hellesøy)
2626
- - Cucumber::Ast::Feature#to_sexp includes the file name. (Aslak Hellesøy)
2627
- - support/env.rb is not loaded when --dry-run is specified. This is to increase performance. (Aslak Hellesøy)
2628
- - New usage formatter. This is the foundation for editor autocompletion and navigation between steps and step definitions. (#209 Aslak Hellesøy)
2629
-
2630
- ### Removed features
2631
-
2632
- - -S/--step-definitions option introduced in 0.2.0 is removed. Use --format usage [--dry-run] [--no-color].
2633
-
2634
- ## [0.2.0](https://github.com/cucumber/cucumber-ruby/compare/v0.1.16...v0.2.0) (2009-03-18)
2635
-
2636
- This release sports a bunch of new and exciting features, as well a major rewrite of Cucumber's internals.
2637
- The rewrite was done to address technical debt and to have a code base that is easier to evolve and maintain.
2638
-
2639
- There are some changes to the Gherkin language that breaks backwards compatible with the 0.1.x series.
2640
- Most importantly, "GivenScenario" and "More Examples" no longer exist. See the "Removed features" section
2641
- below for more details on how to use alternatives.
2642
-
2643
- Since the grammar has changed, there are some new keywords. We have to rely on the community
2644
- to provide updated translations. This is much easier than before - just update languages.yml.
2645
- There is no static code generation anymore. To list all languages:
2646
-
2647
- cucumber --lang help
2648
-
2649
- And to list the keywords for a particular language:
2650
-
2651
- cucumber --lang en-lol help
2652
-
2653
- There are some really awesome new features in this release: Tagging, Autoformatting, automatic
2654
- aliasing of keywords in all languages, full Ruby 1.9 support and improved output
2655
- for multiline arguments are some of the highlights.
2656
-
2657
- ### Bugfixes
2658
-
2659
- - New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford)
2660
- - Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk)
2661
- - Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk)
2662
- - Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk)
2663
- - Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)\*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk)
2664
- - --strict always exits with status 1 (#230 Tim Cuthbertson)
2665
- - Fix error with nil values in tables raising an exception (#227 Joseph Wilk)
2666
- - Add support for using << in formatters to ensure the html formatter works (#210 Joseph Wilk)
2667
- - Explicitly require env.rb files first to avoid potential load order problems. (#213, Ben Mabey, Randy Harmon)
2668
- - Depend on polyglot version (0.2.4) to avoid masking require errors. (Aslak Hellesøy).
2669
- - -n option does not suppress the line info for a Scenario Outline (#175 Aslak Hellesøy)
2670
- - Errors with rspec-rails matchers in cucumber 0.1.99 (#173 David Chelimsky)
2671
- - Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy)
2672
- - Really skip skipped steps (#90 Aslak Hellesøy)
2673
- - No output for multi-line strings (#71 Aslak Hellesøy)
2674
- - Fix cucumber/formatter/unicode flaws on Windows (#145 Michael)
2675
- - Autotest-related Bugs: YAML missing (#136 Tobias Pape)
2676
- - Overeager "rescue LoadError" hides lots of errors (#137 Jonathan del Strother)
2677
- - Nested steps don't show mismatch (#116 Aslak Hellesøy)
2678
- - Pending steps in > steps called from steps (#65 Aslak Hellesøy)
2679
-
2680
- ### New features
2681
-
2682
- - Australian translation (Josh Graham)
2683
- - Added World#puts(announcment) which lets you output text to the formatted output (#222 Rob Kaufmann)
2684
- - Added Table#transpose to to allow use of vertically aligned table keys (Torbjørn Vatn, Aslak Hellesøy)
2685
- - Added Table#map_headers to to allow use of more readable headers (Rob Holland)
2686
- - New -S/--step-definitions option. Useful (among other things) for tools that implement automcompletion. (#208 Aslak Hellesøy).
2687
- - The cucumber.rake file defines a dummy :features task if Cucumber is not installed (#225 Josh Nichols)
2688
- - Added Table#map_column! to ease casting of cell values into relevant types (#223 Rob Holland)
2689
- - New --no-diff option (#218 Bryan Ash)
2690
- - Rails generators supports testunit and rspec option, defaulting to rspec (#217 Josh Nichols)
2691
- - Sinatra Example (#204 Rob Holland)
2692
- - Keywords can be aliased in languages.yml. See English for an example (examples: Examples|Scenarios)
2693
- - Adding support for Background (#153 Joseph Wilk)
2694
- - Added Česky/Czech (Vojtech Salbaba)
2695
- - New --no-multiline option to reduce noise in output. Useful if lots of features are failing. (Aslak Hellesøy)
2696
- - Added ability to pass URIs to cucumber in addition to files and directories. Useful for troubleshooting! (Aslak Hellesøy)
2697
- - Groups of tabular scenarios (#57 Aslak Hellesøy)
2698
- - Tagging scenarios and features. Pick the ones to run with --tags (#54 Aslak Hellesøy)
2699
- - Make the current scenario available to the steps. (#44 Aslak Hellesøy)
2700
- - Step definition snippets contain a 'pending' call (#84 Aslak Hellesøy)
2701
- - Call multiline steps from other steps (#144 Aslak Hellesøy)
2702
- - Run cucumber with --autoformat DIR to reformat (pretty print) all of your feature files. (Aslak Hellesøy)
2703
- - New --strict option exits with an error code if there are undefined steps. (#52 Aslak Hellesøy)
2704
- - Given, When, Then methods (used in step definitions) are automatically aliased to current language. Use $KCODE='u' in env.rb if needed.
2705
- - Run cucumber --language help to see all supported languages. (Aslak Hellesøy)
2706
- - Run cucumber --language LANG help to see keywords for a given language. (Aslak Hellesøy)
2707
- - Multiline arguments (tables and """ strings) are printed in the output. (Aslak Hellesøy)
2708
- - It's no longer necessary to compile the Treetop grammar when adding a new language. Localised parser is generated at runtime. (Aslak Hellesøy)
2709
- - New --guess option tries to guess the best step definition match instead of raising Cucumber::Multiple. (Jake Howerton)
2710
-
2711
- ### Removed features
2712
-
2713
- - "GivenScenario" is gone. Instead you can call Steps from Step Definitions, or use the new Background feature (#153)
2714
- - "More Examples" is gone. "Scenario" + "More Examples" is no longer supported. Use "Scenario Outline" + "Examples" instead.
2715
- - Pure Ruby features are no longer supported.
2716
- - Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier)
2717
-
2718
- ## 0.1.16.4 (2009-01-22)
2719
-
2720
- Bugfix release.
2721
-
2722
- IMPORTANT NOTE FOR RAILS USERS.
2723
- The template used to generate your features/support/env.rb has changed. You have to apply a minor change
2724
- manually for existing Rails projects when you upgrade to this version. Change this:
2725
-
2726
- require 'webrat/rspec-rails'
2727
-
2728
- to this:
2729
-
2730
- require 'webrat/core/matchers'
2731
-
2732
- ### New features
2733
-
2734
- - Finnish translation (Tero Tilus)
2735
- - Use Webrat's #contain matcher in generated "I should (not) see" step definitions (Bryan Helmkamp)
2736
-
2737
- == Bugfixes
2738
-
2739
- - Escaped quotes - \" - inside multiline strings will be unescaped.
2740
- - Flush output in HTML formatter since JRuby doesnt do it automatically (Diego Carrion)
2741
- - Better handling of ARGV (#169 David Chelimsky, Ben Mabey)
2742
- - Compatibility with ruby-debug (do ARGV.dup in bin/cucumber so it can restart ruby with same args) (Aslak Hellesøy)
2743
-
2744
- ## [0.1.16](https://github.com/cucumber/cucumber-ruby/compare/v0.1.15...v0.1.16) (2009-01-18)
2745
-
2746
- This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should
2747
- upgrade both Cucumber and Webrat gems.
2748
-
2749
- ### New features
2750
-
2751
- - Allow argument placeholders in step tables and multiline comments (#121 Joseph Wilk)
2752
- - Scenario Outline can be followed by several named Examples sections (#123 Aslak Hellesøy)
2753
- - 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)
2754
- - Added a /^When I go to (.+)$/ step definition to webrat_steps.rb and a simple page name to path mapping method (Bryan Helmkamp)
2755
-
2756
- ### Bugfixes
2757
-
2758
- - 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é)
2759
-
2760
- ### Removed features
2761
-
2762
- ## [0.1.15](https://github.com/cucumber/cucumber-ruby/compare/v0.1.14...v0.1.15) (2009-01-07)
2763
-
2764
- Bugfix release
2765
-
2766
- ### New features
2767
-
2768
- - 한국어! (Korean!) (John Hwang)
2769
-
2770
- ### Bugfixes
2771
-
2772
- - --dry-run skips running before/after/steps (#147 Ian Dees)
2773
- - Fix a minor bug in the console formatter's summary (David Chelimsky)
2774
- - Better quoting of Scenario names in Autotest (Peter Jaros)
2775
- - Added some small workarounds for unicode handling on Windows (Aslak Hellesøy)
2776
-
2777
- ## [0.1.14](https://github.com/cucumber/cucumber-ruby/compare/v0.1.13...v0.1.14) (2009-01-04)
2778
-
2779
- This is the first release of Cucumber that runs on Ruby 1.9. There are still some encoding-related issues
2780
- with Arabic (ar), Japanese (ja) and Simplified Chinese (zh-CN). Patches are welcome. Other than that -
2781
- a couple of minor bug fixes and polishing.
2782
-
2783
- ### New features
2784
-
2785
- - Pretty formatter shows number of scenarios (#139 Joseph Wilk)
2786
- - Rudimentary support for Ruby 1.9. Now it's ok to file Ruby 1.9-related bugs.
2787
-
2788
- ### Bugfixes
2789
-
2790
- - Fixed "No such file or directory -- cucumber (LoadError)" bug with AutoTest (Aslak Hellesøy)
2791
- - Fixed `load_missing_constant': uninitialized constant Dispatcher error with Rails (Aslak Hellesøy)
2792
-
2793
- ### Removed features
2794
-
2795
- - The #binary= method is gone from the Rake task. It will always point to the binary in the current gem. (Aslak Hellesøy)
2796
-
2797
- ## [0.1.13](https://github.com/cucumber/cucumber-ruby/compare/v0.1.12...v0.1.13) (2008-12-20)
2798
-
2799
- It's time for some new features again. Output is now much better since you can use diffing, tweak
2800
- the output colours and get the full --backtrace if you want. Managing your support/\* files became
2801
- a little easier since they are now always loaded before the step definitions. Life became easier
2802
- for Windows users in Norway (and other countries using unicode in the features). Plus several other
2803
- bug fixes.
2804
-
2805
- Enjoy!
2806
-
2807
- ### New features
2808
-
2809
- - Console output is no longer bold, but regular. Step arguments are bold instead of blold+underlined. (Aslak Hellesøy)
2810
- - Console output can be configured with CUCUMBER_COLORS in your shell. (Aslak Hellesøy)
2811
- - Added new --backtrace option to show full backtrace (Aslak Hellesøy)
2812
- - Enable RSpec's diffing automatically if RSpec is loaded (Aslak Hellesøy)
2813
- - Files in support directories are loaded before any other file (i.e. step definitions.) (#120, Ben Mabey)
2814
- - The Rails features generator got some love and is now tested: http://github.com/aslakhellesoy/cucumber_rails (Aslak Hellesøy)
2815
- - --language is aliased to -l instead of -a (-l became available when --line was refactored) (Aslak Hellesøy)
2816
- - Scenario Outlines which through placeholders in the steps allow control of how scenario table values are used. (#57 Joseph Wilk)
2817
- - Scenario Outlines are now usable in pure ruby (Joseph Wilk)
2818
- - Add support for calling 'pending' from step definitions. (#112 Joseph Wilk)
2819
-
2820
- ### Bugfixes
2821
-
2822
- - Make rails before filters work correctly (#122, #129 Guillermo Álvarez Fernández)
2823
- - Proper Unicode support for Windows command shells: Just require cucumber/formatter/unicode in env.rb (Aslak Hellesøy)
2824
- - Fixed disappearing "a" on Windows (#81 Aslak Hellesøy)
2825
- - Fixed a bug where row step outlines were loosing step tables. (#121 Joseph Wilk, Ben Mabey)
2826
- - The Cucumber Autotest plugin now launches JRuby if autotest is run with JRuby (Aslak Hellesøy)
2827
- - Provide helpful and non-confusing error message when specified profile is blank. (#118, Ben Mabey)
2828
- - Improve handling and error messages for malformed cucumber.yml files. (#117, Ben Mabey)
2829
- - document :x run option in command line help (#114, Aslak Hellesøy)
2830
- - Change 'visits' to 'visit' in features generator to comply with new Webrat API (Darius Roberts)
2831
-
2832
- ### Removed features
2833
-
2834
- ## [0.1.12](https://github.com/cucumber/cucumber-ruby/compare/v0.1.11...v0.1.12) (2008-12-04)
2835
-
2836
- This is the "getting serious with IronRuby release" - largely based on
2837
- "Patrick Gannon":http://www.patrickgannon.net/archive/2008/10/23/bdd-style-feature-tests-using-ironruby-and-rspeccucumber.aspx's
2838
- blog entry.
2839
-
2840
- ### New features
2841
-
2842
- - Cucumber works with IronRuby/.NET - http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net (Aslak Hellesøy)
2843
-
2844
- ### Bugfixes
2845
-
2846
- - Fixed bug which was preventing coloring under Autotest (#111, Alan Larkin)
2847
-
2848
- ### Removed features
2849
-
2850
- None
2851
-
2852
- ## [0.1.11](https://github.com/cucumber/cucumber-ruby/compare/v0.1.10...v0.1.11) (2008-12-02)
2853
-
2854
- Bugfix release with a couple of minor additional features to the command line options.
2855
-
2856
- ### New features
2857
-
2858
- - Capture output from cucumber in Autotest (Alan Larkin)
2859
- - Update cucumber generator to work with latest Webrat (Bryan Helkamp)
2860
- - CUCUMBR LIKEZ 2 SPEEK WIF KATS. KTHXBAI (Aimee Daniells)
2861
- - Support for dynamically pluggable formatters (#99 Joseph Wilk)
2862
- - --verbose mode to see ruby files and feature files loaded by Cucumber (#106 Joseph Wilk)
2863
-
2864
- ### Bugfixes
2865
-
2866
- - The jcode library is not loaded on JRuby/Rails. Workaround for http://tinyurl.com/55uu3u. (Aslak Hellesøy)
2867
- - Support including modules for class passed to --format (#109 Joseph Wilk)
2868
-
2869
- ### Removed features
2870
-
2871
- - The cucumber gem no longer depends on the rspec gem. It must be downloaded manually if RSpec is used. (Jeff Rafter)
2872
-
2873
- ## [0.1.10](https://github.com/cucumber/cucumber-ruby/compare/v0.1.9...v0.1.10) (2008-11-25)
2874
-
2875
- This release mostly has smaller bugfixes. The most significant new feature is how
2876
- line numbers are specified. You can now run multiple features at specific lines numbers like this:
2877
-
2878
- cucumber foo.feature:15 bar.feature:6:45:111
2879
-
2880
- This will run foo.feature at line 15 and bar.feature at line 6, 45 and 111.
2881
-
2882
- ### New features
2883
-
2884
- - Added example showing how to use Cucumber with Test::Unit + Matchy instead of RSpec (Aslak Hellesøy)
2885
- - Yield existing world object to World block (#87 Aslak Hellesøy)
2886
- - AUTOFEATURE=tRue works (case insensitive) (Aslak Hellesøy)
2887
- - Initial support for .NET via IronRuby. (Aslak Hellesøy)
2888
- - Lithuanian translation (sauliusgrigaitis)
2889
- - New webrat step defintions to wrap the new selects_time, selects_date, and selects_datetime methods. (Ben Mabey)
2890
- - Try to load webrat gem if it's not installed as a plugin (Aslak Hellesøy)
2891
- - Support example.feature:20 or example.feature:10:20:30 syntax for running features at specific line number(s). (#88 Joseph Wilk)
2892
-
2893
- ### Bugfixes
2894
-
2895
- - Windows - all the 'a' characters in the output have gone on strike (#81 Luis Lavena, Joseph Wilk, Aslak Hellesøy)
2896
- - Raise a nice error when encountering step definition without block (#95 Aslak Hellesøy)
2897
- - Features written using Ruby where breaking due to missing a line number (#91 Joseph Wilk)
2898
- - Directly creating a Table meant the scenario table header was never set which was causing a formatter error (#91 Joseph Wilk)
2899
-
2900
- ### Removed features
2901
-
2902
- - $KCODE='u' is no longer done automatically. Developers should do that explicitly when needed in step definitions or env.rb.
2903
- - Step definition without a block being treated as pending (#64 Joseph Wilk)
2904
- - The --line option has been removed. Use the new file.feature:line format instead.
2905
-
2906
- ## [0.1.9](https://github.com/cucumber/cucumber-ruby/compare/v0.1.8...v0.1.9) (2008-11-12)
2907
-
2908
- With this release Cucumber supports 19 (!) natural languages:
2909
-
2910
- - Arabic
2911
- - Chinese Simplified
2912
- - Danish
2913
- - Dutch
2914
- - Estonian
2915
- - French
2916
- - German
2917
- - Italian
2918
- - Japanese
2919
- - Malay
2920
- - Norwegian
2921
- - Polish
2922
- - Portuguese
2923
- - Romanian
2924
- - Russian
2925
- - Spanish
2926
- - Swedish
2927
- - Texan
2928
- - Welsh
2929
-
2930
- Thanks a lot to everyone who has contributed translations. If you don't see your language here, please
2931
- add it: http://github.com/aslakhellesoy/cucumber/wikis/spoken-languages
2932
-
2933
- Main functional changes in this release is "Autotest":http://github.com/aslakhellesoy/cucumber/wikis/autotest-integration
2934
- support and how multiline strings work in feature files:
2935
-
2936
- # In your .feature file
2937
- Then I should see
2938
- """
2939
- A string
2940
- that "indents"
2941
- and spans
2942
- several lines
2943
-
2944
- """
2945
-
2946
- # In your steps.rb file
2947
- Then 'I should see' do |text|
2948
- text.should == "A string\n that \"indents\"\nand spans\nseveral lines\n"
2949
- end
2950
-
2951
- The triple quotes are used to define the start and end of a string, and it also defines what gets stripped away
2952
- in the inside string. If the triple quotes are indented 4 spaces, then the text within will have the 4 first
2953
- spaces removed too.
2954
-
2955
- ### New features
2956
-
2957
- - Added --[no-]color option to force color on or off (Peter Jaros)
2958
- - Step definition without a block will be treated as pending (#64 Joseph Wilk)
2959
- - Added support for Welsh (improvements welcome) (Joseph Wilk)
2960
- - Added --quiet option to hide all development aid output when using Pretty formatter (#69 Joseph Wilk)
2961
- - Added --no-snippets option to hide snippets for pending steps when using Pretty formatter (#69 Joseph Wilk)
2962
- - Added error messages concerning cucumber.yml. (#70 Ben Mabey)
2963
- - Added Autotest support - work in progress... (Peter Jaros)
2964
- - Added new --exclude option (Bryan Helkamp)
2965
- - Added new --scenario option (Peter Jaros)
2966
- - Renamed common_webrat.rb to webrat_steps.rb (Ben Mabey, Aslak Hellesøy)
2967
- - Added new feature[:feature_path] task (Roman Gonzalez)
2968
- - Added support for Polish (Joseph Wilk)
2969
- - Support specifying multiple formatters and multiple outputs (#47 Joseph Wilk)
2970
- - Added support for Japanese. (Kakutani Shintaro)
2971
- - Added support for Texan (improvements welcome). (Aslak Hellesøy)
2972
-
2973
- ### Bugfixes
2974
-
2975
- - Pending step snippets should escape special Regexp characters (#82 Joseph Wilk)
2976
- - Scenario without a body shouldn't show up as complete (#63 Josh Knowles)
2977
- - Fixed bug where utf-8 strings where breaking comment alighments. (#79 Joseph Wilk)
2978
- - Fixed next_column_index not resetting after large tables (#60, Barry Mitchelson)
2979
- - The HTML formatter was rendering everything twice. Cannot invoke visit_feature on formatters in executor (#72 Joseph Wilk)
2980
- - Row Scenarios need to support pending? in order for the Profile formatter to work (Joseph Wilk)
2981
- - Snippets are not shown for steps which already have a step definition (#65 Joseph Wilk)
2982
- - Prevent feature/scenario/pending step comments from containing '//' when running features by specifying a directory with a trailing '/' (Joseph Wilk)
2983
- - Scenario tables need spacing after them (#59 Joseph Wilk)
2984
- - Support running scenario table rows when using --line argument (#55 Joseph Wilk)
2985
- - Don't load cucumber.yml unless it exists (Aslak Hellesøy)
2986
- - 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)
2987
-
2988
- ### Removed features
2989
-
2990
- ## [0.1.8](https://github.com/cucumber/cucumber-ruby/compare/v0.1.7...v0.1.8) (2008-10-18)
2991
-
2992
- This release extends the support for tables. PLEASE NOTE THAT TABLES ARE STILL EXPERIMENTAL.
2993
- In previous releases it has been possible to use tables to define "more examples" of a scenario in
2994
- a FIT-style column fixture kind of way. Now you can also use tables as arguments to steps.
2995
-
2996
- Tables used to define more examples after a scenario must now be prefixed. In English it looks like this:
2997
-
2998
- Feature: Addition
2999
- In order to avoid silly mistakes
3000
- As a math idiot
3001
- I want to be told the sum of two numbers
3002
-
3003
- Scenario: Add two numbers
3004
- Given I have entered 50 into the calculator
3005
- And I have entered 70 into the calculator
3006
- When I press add
3007
- Then the result should be 120 on the screen
3008
-
3009
- More Examples:
3010
- | input_1 | input_2 | button | output |
3011
- | 20 | 30 | add | 50 |
3012
- | 2 | 5 | add | 7 |
3013
- | 0 | 40 | add | 40 |
3014
-
3015
- Languages that are not updated yet will have to use "More Examples" until we get the translations.
3016
-
3017
- Tables can also be used as arguments to individual steps. In fact, steps now support a single argument
3018
- that can span several lines. This can be a table or a string.
3019
-
3020
- Example:
3021
-
3022
- Given the following people exist:
3023
- | name | email | phone |
3024
- | Aslak | aslak@email.com | 123 |
3025
- | Joe | joe@email.com | 234 |
3026
- | Bryan | bryan@email.org | 456 |
3027
- When I search for email.com
3028
- Then I should see:
3029
- | name | email | phone |
3030
- | Aslak | aslak@email.com | 123 |
3031
- | Joe | joe@email.com | 234 |
3032
- And I should see:
3033
- "Some text
3034
- on several lines"
3035
-
3036
- The step definitions for such multiline steps must define an extra block argument for the argument:
3037
-
3038
- Given /the following people exist:/ do |people_table|
3039
- # people_table is of type Cucumber::Model::Table
3040
- # See RDoc for more info
3041
- end
3042
-
3043
- Then /I should see:/ do |string|
3044
- # string is a plain old ruby String with leading spaces on each line removed
3045
- end
3046
-
3047
- ### New features
3048
-
3049
- - Added profile formatter. (#35, Joseph Wilk)
3050
- - Added support for Chinese Simplified. (Liming Lian)
3051
- - Added support for Dutch. (Sjoerd Tieleman)
3052
- - Multiline steps are now supported. (#4, Aslak Hellesøy)
3053
- - Tables used to define more examples for a scenario must be prefixed "More Examples" (see languages.yml for other languages)
3054
- - Show the file and line number for scenarios as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
3055
- - Show the file for the feature as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
3056
- - Show the feature file and line for pending steps as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
3057
-
3058
- ### Bugfixes
3059
-
3060
- - Fixed speling errors in Spanish (Daniel Cadenas)
3061
- - ActionMailer delivery_method should not be set to test (#41, Luke Melia)
3062
- - Reverse incorrectly ordered args in webrat select step (#43, David Chelimsky)
3063
- - Support comments above the first scenario (#31, Aslak Hellesøy)
3064
- - Fixed the HTML Formatter to use actual values for FIT table headers (#30, Joseph Wilk)
3065
-
3066
- ### Removed features
3067
-
3068
- - Removed the /^I go to (.\*)$/ step from common_webrat.rb - it's not language agnostic and provides little value.
3069
-
3070
- ### New features
3071
-
3072
- - Added new --out option to make it easier to specify output from Rake and cucumber.yml
3073
-
3074
- ## [0.1.7](https://github.com/cucumber/cucumber-ruby/compare/v0.1.6...v0.1.7) (2008-10-05)
3075
-
3076
- This release fixes a few bugs and adds some new features. The most notable features are:
3077
-
3078
- ### Calling steps from steps
3079
-
3080
- Step definitions are a little bit closer to having regular method semantics.
3081
- You define them, but now you can also call them from other steps. Here is an
3082
- example:
3083
-
3084
- Given /I am logged in as an (.*) named (.*)$/ do |role, name|
3085
- Given "I am registered as #{role}, #{name}, secret"
3086
- When "I log in with #{name}, secret"
3087
- end
3088
-
3089
- Given /I am registered as (.*), (.*), (.*)/ do |role, name, password|
3090
- # (Code removed for brevity)
3091
- end
3092
-
3093
- When /I log in with (.*), (.*)/ do |name, password|
3094
- # (Code removed for brevity)
3095
- end
3096
-
3097
- This means that steps can be reused in other steps. The GivenScenario feature achieves a similar
3098
- effect (on the scenario level), but this feature is something we're not very happy with, mostly
3099
- because it's not parameterisable. Calling steps from steps is.
3100
-
3101
- GivenScenario will still be working several releases, but the plan is to remove it completely in
3102
- the 0.3.0 release.
3103
-
3104
- ### Seeing where a step is defined
3105
-
3106
- Prior to this release it could be hard to find out where the ruby step definition matching
3107
- a plain text step is defined. Not anymore! Cucumber will now output this:
3108
-
3109
- Scenario: Regular numbers
3110
- Given I have entered 3 into the calculator # features/steps/calculator_steps.rb:12
3111
- And I have entered 2 into the calculator # features/steps/calculator_steps.rb:12
3112
- When I press divide # features/steps/calculator_steps.rb:16
3113
- Then the result should be 1.5 on the screen # features/steps/calculator_steps.rb:20
3114
- And the result class should be Float # features/steps/calculator_steps.rb:24
3115
-
3116
- ### Bugfixes
3117
-
3118
- - Fixed a bug in the command line args being lost when using --profile (#27, Joseph Wilk)
3119
- - Fixed a bug in Webrat selects (Tim Glen)
3120
- - Fixed parsing of DOS line endings (#2, #28, Aslak Hellesøy)
3121
-
3122
- ### New features
3123
-
3124
- - Steps can be called from other steps (#3, Bryan Helmkamp, Aslak Hellesøy)
3125
- - Added But keyword to all languages (#21, Aslak Hellesøy)
3126
- - Added --no-source option to display step definition location next to step text (#26, Joseph Wilk, Aslak Hellesøy)
3127
- - Added more Webrat steps (#25, Tim Glen)
3128
-
3129
- ## [0.1.6](https://github.com/cucumber/cucumber-ruby/compare/f3292f4023a707099d02602b2bd6c4ca3cec6820...v0.1.6) (2008-10-01)
3130
-
3131
- First gem release!