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