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