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