cucumber 5.1.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -91,7 +91,7 @@ module Cucumber
|
|
91
91
|
step_definition
|
92
92
|
rescue Cucumber::CucumberExpressions::UndefinedParameterTypeError => e
|
93
93
|
# TODO: add a way to extract the parameter type directly from the error.
|
94
|
-
type_name = e.message.match(/^Undefined parameter type
|
94
|
+
type_name = e.message.match(/^Undefined parameter type ['|\{](.*)['|\}].?$/)[1]
|
95
95
|
|
96
96
|
@configuration.notify :undefined_parameter_type, type_name, string_or_regexp
|
97
97
|
end
|
data/lib/cucumber/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6.0.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: builder
|
@@ -38,140 +38,140 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '9.0'
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
44
|
+
version: 9.0.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
47
|
version_requirements: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - "~>"
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '9.0'
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 9.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: cucumber-create-meta
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '4.0'
|
62
62
|
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
64
|
+
version: 4.0.0
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
71
|
+
version: '4.0'
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 4.0.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: cucumber-cucumber-expressions
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '12.1'
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version:
|
84
|
+
version: 12.1.1
|
85
85
|
type: :runtime
|
86
86
|
prerelease: false
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
91
|
+
version: '12.1'
|
92
92
|
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
94
|
+
version: 12.1.1
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: cucumber-gherkin
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
101
|
+
version: '18.1'
|
102
102
|
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
104
|
+
version: 18.1.0
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
111
|
+
version: '18.1'
|
112
112
|
- - ">="
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version:
|
114
|
+
version: 18.1.0
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: cucumber-html-formatter
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
119
|
- - "~>"
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version: '
|
121
|
+
version: '13.0'
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 13.0.0
|
125
125
|
type: :runtime
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '13.0'
|
132
132
|
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: 13.0.0
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: cucumber-messages
|
137
137
|
requirement: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
139
|
- - "~>"
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version: '
|
141
|
+
version: '15.0'
|
142
142
|
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
144
|
+
version: 15.0.0
|
145
145
|
type: :runtime
|
146
146
|
prerelease: false
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
151
|
+
version: '15.0'
|
152
152
|
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version:
|
154
|
+
version: 15.0.0
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
156
|
name: cucumber-wire
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
159
|
- - "~>"
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: '
|
161
|
+
version: '5.0'
|
162
162
|
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
164
|
+
version: 5.0.0
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
169
|
- - "~>"
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
171
|
+
version: '5.0'
|
172
172
|
- - ">="
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
174
|
+
version: 5.0.0
|
175
175
|
- !ruby/object:Gem::Dependency
|
176
176
|
name: diff-lcs
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +192,26 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 1.4.4
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: mime-types
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '3.3'
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: 3.3.1
|
205
|
+
type: :runtime
|
206
|
+
prerelease: false
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - "~>"
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '3.3'
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 3.3.1
|
195
215
|
- !ruby/object:Gem::Dependency
|
196
216
|
name: multi_test
|
197
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,7 +241,7 @@ dependencies:
|
|
221
241
|
version: '1.2'
|
222
242
|
- - ">="
|
223
243
|
- !ruby/object:Gem::Version
|
224
|
-
version: 1.2.
|
244
|
+
version: 1.2.2
|
225
245
|
type: :runtime
|
226
246
|
prerelease: false
|
227
247
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -231,47 +251,47 @@ dependencies:
|
|
231
251
|
version: '1.2'
|
232
252
|
- - ">="
|
233
253
|
- !ruby/object:Gem::Version
|
234
|
-
version: 1.2.
|
254
|
+
version: 1.2.2
|
235
255
|
- !ruby/object:Gem::Dependency
|
236
256
|
name: nokogiri
|
237
257
|
requirement: !ruby/object:Gem::Requirement
|
238
258
|
requirements:
|
239
259
|
- - "~>"
|
240
260
|
- !ruby/object:Gem::Version
|
241
|
-
version: '1.
|
261
|
+
version: '1.11'
|
242
262
|
- - ">="
|
243
263
|
- !ruby/object:Gem::Version
|
244
|
-
version: 1.
|
264
|
+
version: 1.11.3
|
245
265
|
type: :development
|
246
266
|
prerelease: false
|
247
267
|
version_requirements: !ruby/object:Gem::Requirement
|
248
268
|
requirements:
|
249
269
|
- - "~>"
|
250
270
|
- !ruby/object:Gem::Version
|
251
|
-
version: '1.
|
271
|
+
version: '1.11'
|
252
272
|
- - ">="
|
253
273
|
- !ruby/object:Gem::Version
|
254
|
-
version: 1.
|
274
|
+
version: 1.11.3
|
255
275
|
- !ruby/object:Gem::Dependency
|
256
276
|
name: pry
|
257
277
|
requirement: !ruby/object:Gem::Requirement
|
258
278
|
requirements:
|
259
279
|
- - "~>"
|
260
280
|
- !ruby/object:Gem::Version
|
261
|
-
version: '0.
|
281
|
+
version: '0.14'
|
262
282
|
- - ">="
|
263
283
|
- !ruby/object:Gem::Version
|
264
|
-
version: 0.
|
284
|
+
version: 0.14.1
|
265
285
|
type: :development
|
266
286
|
prerelease: false
|
267
287
|
version_requirements: !ruby/object:Gem::Requirement
|
268
288
|
requirements:
|
269
289
|
- - "~>"
|
270
290
|
- !ruby/object:Gem::Version
|
271
|
-
version: '0.
|
291
|
+
version: '0.14'
|
272
292
|
- - ">="
|
273
293
|
- !ruby/object:Gem::Version
|
274
|
-
version: 0.
|
294
|
+
version: 0.14.1
|
275
295
|
- !ruby/object:Gem::Dependency
|
276
296
|
name: rake
|
277
297
|
requirement: !ruby/object:Gem::Requirement
|
@@ -281,7 +301,7 @@ dependencies:
|
|
281
301
|
version: '13.0'
|
282
302
|
- - ">="
|
283
303
|
- !ruby/object:Gem::Version
|
284
|
-
version: 13.0.
|
304
|
+
version: 13.0.3
|
285
305
|
type: :development
|
286
306
|
prerelease: false
|
287
307
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -291,47 +311,47 @@ dependencies:
|
|
291
311
|
version: '13.0'
|
292
312
|
- - ">="
|
293
313
|
- !ruby/object:Gem::Version
|
294
|
-
version: 13.0.
|
314
|
+
version: 13.0.3
|
295
315
|
- !ruby/object:Gem::Dependency
|
296
316
|
name: rspec
|
297
317
|
requirement: !ruby/object:Gem::Requirement
|
298
318
|
requirements:
|
299
319
|
- - "~>"
|
300
320
|
- !ruby/object:Gem::Version
|
301
|
-
version: '3.
|
321
|
+
version: '3.10'
|
302
322
|
- - ">="
|
303
323
|
- !ruby/object:Gem::Version
|
304
|
-
version: 3.
|
324
|
+
version: 3.10.0
|
305
325
|
type: :development
|
306
326
|
prerelease: false
|
307
327
|
version_requirements: !ruby/object:Gem::Requirement
|
308
328
|
requirements:
|
309
329
|
- - "~>"
|
310
330
|
- !ruby/object:Gem::Version
|
311
|
-
version: '3.
|
331
|
+
version: '3.10'
|
312
332
|
- - ">="
|
313
333
|
- !ruby/object:Gem::Version
|
314
|
-
version: 3.
|
334
|
+
version: 3.10.0
|
315
335
|
- !ruby/object:Gem::Dependency
|
316
336
|
name: simplecov
|
317
337
|
requirement: !ruby/object:Gem::Requirement
|
318
338
|
requirements:
|
319
339
|
- - "~>"
|
320
340
|
- !ruby/object:Gem::Version
|
321
|
-
version: '0.
|
341
|
+
version: '0.21'
|
322
342
|
- - ">="
|
323
343
|
- !ruby/object:Gem::Version
|
324
|
-
version: 0.
|
344
|
+
version: 0.21.2
|
325
345
|
type: :development
|
326
346
|
prerelease: false
|
327
347
|
version_requirements: !ruby/object:Gem::Requirement
|
328
348
|
requirements:
|
329
349
|
- - "~>"
|
330
350
|
- !ruby/object:Gem::Version
|
331
|
-
version: '0.
|
351
|
+
version: '0.21'
|
332
352
|
- - ">="
|
333
353
|
- !ruby/object:Gem::Version
|
334
|
-
version: 0.
|
354
|
+
version: 0.21.2
|
335
355
|
- !ruby/object:Gem::Dependency
|
336
356
|
name: syntax
|
337
357
|
requirement: !ruby/object:Gem::Requirement
|
@@ -358,60 +378,60 @@ dependencies:
|
|
358
378
|
requirements:
|
359
379
|
- - "~>"
|
360
380
|
- !ruby/object:Gem::Version
|
361
|
-
version: '3.
|
381
|
+
version: '3.4'
|
362
382
|
- - ">="
|
363
383
|
- !ruby/object:Gem::Version
|
364
|
-
version: 3.
|
384
|
+
version: 3.4.0
|
365
385
|
type: :development
|
366
386
|
prerelease: false
|
367
387
|
version_requirements: !ruby/object:Gem::Requirement
|
368
388
|
requirements:
|
369
389
|
- - "~>"
|
370
390
|
- !ruby/object:Gem::Version
|
371
|
-
version: '3.
|
391
|
+
version: '3.4'
|
372
392
|
- - ">="
|
373
393
|
- !ruby/object:Gem::Version
|
374
|
-
version: 3.
|
394
|
+
version: 3.4.0
|
375
395
|
- !ruby/object:Gem::Dependency
|
376
396
|
name: webrick
|
377
397
|
requirement: !ruby/object:Gem::Requirement
|
378
398
|
requirements:
|
379
399
|
- - "~>"
|
380
400
|
- !ruby/object:Gem::Version
|
381
|
-
version: '1.
|
401
|
+
version: '1.7'
|
382
402
|
- - ">="
|
383
403
|
- !ruby/object:Gem::Version
|
384
|
-
version: 1.
|
404
|
+
version: 1.7.0
|
385
405
|
type: :development
|
386
406
|
prerelease: false
|
387
407
|
version_requirements: !ruby/object:Gem::Requirement
|
388
408
|
requirements:
|
389
409
|
- - "~>"
|
390
410
|
- !ruby/object:Gem::Version
|
391
|
-
version: '1.
|
411
|
+
version: '1.7'
|
392
412
|
- - ">="
|
393
413
|
- !ruby/object:Gem::Version
|
394
|
-
version: 1.
|
414
|
+
version: 1.7.0
|
395
415
|
- !ruby/object:Gem::Dependency
|
396
416
|
name: octokit
|
397
417
|
requirement: !ruby/object:Gem::Requirement
|
398
418
|
requirements:
|
399
419
|
- - "~>"
|
400
420
|
- !ruby/object:Gem::Version
|
401
|
-
version: '4.
|
421
|
+
version: '4.20'
|
402
422
|
- - ">="
|
403
423
|
- !ruby/object:Gem::Version
|
404
|
-
version: 4.
|
424
|
+
version: 4.20.0
|
405
425
|
type: :development
|
406
426
|
prerelease: false
|
407
427
|
version_requirements: !ruby/object:Gem::Requirement
|
408
428
|
requirements:
|
409
429
|
- - "~>"
|
410
430
|
- !ruby/object:Gem::Version
|
411
|
-
version: '4.
|
431
|
+
version: '4.20'
|
412
432
|
- - ">="
|
413
433
|
- !ruby/object:Gem::Version
|
414
|
-
version: 4.
|
434
|
+
version: 4.20.0
|
415
435
|
- !ruby/object:Gem::Dependency
|
416
436
|
name: rack-test
|
417
437
|
requirement: !ruby/object:Gem::Requirement
|
@@ -438,40 +458,40 @@ dependencies:
|
|
438
458
|
requirements:
|
439
459
|
- - "~>"
|
440
460
|
- !ruby/object:Gem::Version
|
441
|
-
version: '2.
|
461
|
+
version: '2.1'
|
442
462
|
- - ">="
|
443
463
|
- !ruby/object:Gem::Version
|
444
|
-
version: 2.0
|
464
|
+
version: 2.1.0
|
445
465
|
type: :development
|
446
466
|
prerelease: false
|
447
467
|
version_requirements: !ruby/object:Gem::Requirement
|
448
468
|
requirements:
|
449
469
|
- - "~>"
|
450
470
|
- !ruby/object:Gem::Version
|
451
|
-
version: '2.
|
471
|
+
version: '2.1'
|
452
472
|
- - ">="
|
453
473
|
- !ruby/object:Gem::Version
|
454
|
-
version: 2.0
|
474
|
+
version: 2.1.0
|
455
475
|
- !ruby/object:Gem::Dependency
|
456
476
|
name: capybara
|
457
477
|
requirement: !ruby/object:Gem::Requirement
|
458
478
|
requirements:
|
459
479
|
- - "~>"
|
460
480
|
- !ruby/object:Gem::Version
|
461
|
-
version: '3.
|
481
|
+
version: '3.35'
|
462
482
|
- - ">="
|
463
483
|
- !ruby/object:Gem::Version
|
464
|
-
version: 3.
|
484
|
+
version: 3.35.3
|
465
485
|
type: :development
|
466
486
|
prerelease: false
|
467
487
|
version_requirements: !ruby/object:Gem::Requirement
|
468
488
|
requirements:
|
469
489
|
- - "~>"
|
470
490
|
- !ruby/object:Gem::Version
|
471
|
-
version: '3.
|
491
|
+
version: '3.35'
|
472
492
|
- - ">="
|
473
493
|
- !ruby/object:Gem::Version
|
474
|
-
version: 3.
|
494
|
+
version: 3.35.3
|
475
495
|
description: Behaviour Driven Development with elegance and joy
|
476
496
|
email: cukes@googlegroups.com
|
477
497
|
executables:
|
@@ -642,5 +662,5 @@ requirements: []
|
|
642
662
|
rubygems_version: 3.1.2
|
643
663
|
signing_key:
|
644
664
|
specification_version: 4
|
645
|
-
summary: cucumber-
|
665
|
+
summary: cucumber-6.0.0
|
646
666
|
test_files: []
|