cucumber 1.3.12 → 1.3.13

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.
data/History.md CHANGED
@@ -1,7 +1,15 @@
1
- ## [v1.3.13](https://github.com/cucumber/cucumber/compare/v1.3.11...v1.3.12)
1
+ ## [v1.3.13](https://github.com/cucumber/cucumber/compare/v1.3.12...v1.3.13)
2
+
3
+ * Rerun formatter includes all scenarios when the background fails
4
+ ([654](https://github.com/cucumber/cucumber/pull/654) @brasmusson)
5
+
6
+ ## [v1.3.12](https://github.com/cucumber/cucumber/compare/v1.3.11...v1.3.12)
7
+
2
8
  * Use MultiTest to handle assertions library selection (@tooky)
3
9
  * Adds full support for rails 4.1 / Minitest
10
+
4
11
  ## [v1.3.11](https://github.com/cucumber/cucumber/compare/v1.3.10...v1.3.11)
12
+
5
13
  * Add Ruby 2.1 Support ([#644](https://github.com/cucumber/cucumber/pull/644) @tooky, @chrismdp)
6
14
 
7
15
  ## [v1.3.10](https://github.com/cucumber/cucumber/compare/v1.3.9...v1.3.10)
data/cucumber.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency 'aruba', '~> 0.5.2'
23
23
  s.add_development_dependency 'json', '~> 1.7'
24
24
  s.add_development_dependency 'nokogiri', '~> 1.5.2'
25
- s.add_development_dependency 'rake', '>= 0.9.2'
25
+ s.add_development_dependency 'rake', '>= 0.9.2', '< 10.2'
26
26
  s.add_development_dependency 'rspec', '>= 2.13'
27
27
  s.add_development_dependency 'simplecov', '>= 0.6.2'
28
28
  s.add_development_dependency 'spork', '>= 1.0.0.rc2'
@@ -2,7 +2,7 @@
2
2
  {
3
3
  "source": "The default aruba timeout is (\\d+) seconds",
4
4
  "flags": "",
5
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:7",
5
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:7",
6
6
  "steps": [
7
7
 
8
8
  ]
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "source": "^I'm using a clean gemset \"([^\"]*)\"$",
12
12
  "flags": "",
13
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:11",
13
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:11",
14
14
  "steps": [
15
15
 
16
16
  ]
@@ -18,7 +18,15 @@
18
18
  {
19
19
  "source": "^a directory named \"([^\"]*)\"$",
20
20
  "flags": "",
21
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:15",
21
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:15",
22
+ "steps": [
23
+
24
+ ]
25
+ },
26
+ {
27
+ "source": "^a directory named \"([^\"]*)\" with mode \"([^\"]*)\"$",
28
+ "flags": "",
29
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:19",
22
30
  "steps": [
23
31
 
24
32
  ]
@@ -26,32 +34,23 @@
26
34
  {
27
35
  "source": "^a file named \"([^\"]*)\" with:$",
28
36
  "flags": "",
29
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:19",
37
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:24",
30
38
  "steps": [
31
- {
32
- "name": "a file named \"features/f.feature\" with:",
33
- "args": [
34
- {
35
- "offset": 14,
36
- "val": "features/f.feature"
37
- }
38
- ]
39
- },
40
- {
41
- "name": "a file named \"features/step_definitions/steps.rb\" with:",
42
- "args": [
43
- {
44
- "offset": 14,
45
- "val": "features/step_definitions/steps.rb"
46
- }
47
- ]
48
- }
39
+
40
+ ]
41
+ },
42
+ {
43
+ "source": "^a file named \"([^\"]*)\" with mode \"([^\"]*)\" and with:$",
44
+ "flags": "",
45
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:28",
46
+ "steps": [
47
+
49
48
  ]
50
49
  },
51
50
  {
52
51
  "source": "^a (\\d+) byte file named \"([^\"]*)\"$",
53
52
  "flags": "",
54
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:23",
53
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:33",
55
54
  "steps": [
56
55
 
57
56
  ]
@@ -59,7 +58,15 @@
59
58
  {
60
59
  "source": "^an empty file named \"([^\"]*)\"$",
61
60
  "flags": "",
62
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:27",
61
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:37",
62
+ "steps": [
63
+
64
+ ]
65
+ },
66
+ {
67
+ "source": "^an empty file named \"([^\"]*)\" with mode \"([^\"]*)\"$",
68
+ "flags": "",
69
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:41",
63
70
  "steps": [
64
71
 
65
72
  ]
@@ -67,7 +74,7 @@
67
74
  {
68
75
  "source": "^I write to \"([^\"]*)\" with:$",
69
76
  "flags": "",
70
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:31",
77
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:46",
71
78
  "steps": [
72
79
 
73
80
  ]
@@ -75,7 +82,7 @@
75
82
  {
76
83
  "source": "^I overwrite \"([^\"]*)\" with:$",
77
84
  "flags": "",
78
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:35",
85
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:50",
79
86
  "steps": [
80
87
 
81
88
  ]
@@ -83,7 +90,7 @@
83
90
  {
84
91
  "source": "^I append to \"([^\"]*)\" with:$",
85
92
  "flags": "",
86
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:39",
93
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:54",
87
94
  "steps": [
88
95
 
89
96
  ]
@@ -91,7 +98,7 @@
91
98
  {
92
99
  "source": "^I append to \"([^\"]*)\" with \"([^\"]*)\"$",
93
100
  "flags": "",
94
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:43",
101
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:58",
95
102
  "steps": [
96
103
 
97
104
  ]
@@ -99,7 +106,7 @@
99
106
  {
100
107
  "source": "^I remove the file \"([^\"]*)\"$",
101
108
  "flags": "",
102
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:47",
109
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:62",
103
110
  "steps": [
104
111
 
105
112
  ]
@@ -107,7 +114,15 @@
107
114
  {
108
115
  "source": "^I cd to \"([^\"]*)\"$",
109
116
  "flags": "",
110
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:51",
117
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:66",
118
+ "steps": [
119
+
120
+ ]
121
+ },
122
+ {
123
+ "source": "^I set the environment variables to:",
124
+ "flags": "",
125
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:70",
111
126
  "steps": [
112
127
 
113
128
  ]
@@ -115,7 +130,7 @@
115
130
  {
116
131
  "source": "^I run \"(.*)\"$",
117
132
  "flags": "",
118
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:55",
133
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:79",
119
134
  "steps": [
120
135
 
121
136
  ]
@@ -123,14 +138,23 @@
123
138
  {
124
139
  "source": "^I run `([^`]*)`$",
125
140
  "flags": "",
126
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:60",
141
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:84",
127
142
  "steps": [
128
143
  {
129
- "name": "I run `cucumber features/f.feature`",
144
+ "name": "I run `cucumber features/failing_background.feature -r features -f rerun`",
145
+ "args": [
146
+ {
147
+ "offset": 7,
148
+ "val": "cucumber features/failing_background.feature -r features -f rerun"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "name": "I run `cucumber features/one_passing_one_failing.feature -r features -f rerun`",
130
154
  "args": [
131
155
  {
132
156
  "offset": 7,
133
- "val": "cucumber features/f.feature"
157
+ "val": "cucumber features/one_passing_one_failing.feature -r features -f rerun"
134
158
  }
135
159
  ]
136
160
  }
@@ -139,7 +163,7 @@
139
163
  {
140
164
  "source": "^I successfully run \"(.*)\"$",
141
165
  "flags": "",
142
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:64",
166
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:88",
143
167
  "steps": [
144
168
 
145
169
  ]
@@ -147,7 +171,7 @@
147
171
  {
148
172
  "source": "^I successfully run `(.*?)`(?: for up to (\\d+) seconds)?$",
149
173
  "flags": "",
150
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:71",
174
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:95",
151
175
  "steps": [
152
176
 
153
177
  ]
@@ -155,7 +179,7 @@
155
179
  {
156
180
  "source": "^I run \"([^\"]*)\" interactively$",
157
181
  "flags": "",
158
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:75",
182
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:99",
159
183
  "steps": [
160
184
 
161
185
  ]
@@ -163,7 +187,7 @@
163
187
  {
164
188
  "source": "^I run `([^`]*)` interactively$",
165
189
  "flags": "",
166
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:80",
190
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:104",
167
191
  "steps": [
168
192
 
169
193
  ]
@@ -171,7 +195,23 @@
171
195
  {
172
196
  "source": "^I type \"([^\"]*)\"$",
173
197
  "flags": "",
174
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:84",
198
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:108",
199
+ "steps": [
200
+
201
+ ]
202
+ },
203
+ {
204
+ "source": "^I close the stdin stream$",
205
+ "flags": "",
206
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:112",
207
+ "steps": [
208
+
209
+ ]
210
+ },
211
+ {
212
+ "source": "^I pipe in the file \"([^\"]*)\"$",
213
+ "flags": "",
214
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:116",
175
215
  "steps": [
176
216
 
177
217
  ]
@@ -179,7 +219,7 @@
179
219
  {
180
220
  "source": "^I wait for (?:output|stdout) to contain \"([^\"]*)\"$",
181
221
  "flags": "",
182
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:88",
222
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:122",
183
223
  "steps": [
184
224
 
185
225
  ]
@@ -187,7 +227,7 @@
187
227
  {
188
228
  "source": "^the output should contain \"([^\"]*)\"$",
189
229
  "flags": "",
190
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:97",
230
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:131",
191
231
  "steps": [
192
232
 
193
233
  ]
@@ -195,7 +235,7 @@
195
235
  {
196
236
  "source": "^the output from \"([^\"]*)\" should contain \"([^\"]*)\"$",
197
237
  "flags": "",
198
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:101",
238
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:135",
199
239
  "steps": [
200
240
 
201
241
  ]
@@ -203,7 +243,7 @@
203
243
  {
204
244
  "source": "^the output from \"([^\"]*)\" should not contain \"([^\"]*)\"$",
205
245
  "flags": "",
206
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:105",
246
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:139",
207
247
  "steps": [
208
248
 
209
249
  ]
@@ -211,7 +251,7 @@
211
251
  {
212
252
  "source": "^the output should not contain \"([^\"]*)\"$",
213
253
  "flags": "",
214
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:109",
254
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:143",
215
255
  "steps": [
216
256
 
217
257
  ]
@@ -219,7 +259,7 @@
219
259
  {
220
260
  "source": "^the output should contain:$",
221
261
  "flags": "",
222
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:113",
262
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:147",
223
263
  "steps": [
224
264
 
225
265
  ]
@@ -227,7 +267,7 @@
227
267
  {
228
268
  "source": "^the output should not contain:$",
229
269
  "flags": "",
230
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:117",
270
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:151",
231
271
  "steps": [
232
272
 
233
273
  ]
@@ -235,7 +275,7 @@
235
275
  {
236
276
  "source": "^the output(?: from \"(.*?)\")? should contain exactly \"(.*?)\"$",
237
277
  "flags": "",
238
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:123",
278
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:157",
239
279
  "steps": [
240
280
 
241
281
  ]
@@ -243,7 +283,7 @@
243
283
  {
244
284
  "source": "^the output(?: from \"(.*?)\")? should contain exactly:$",
245
285
  "flags": "",
246
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:129",
286
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:163",
247
287
  "steps": [
248
288
 
249
289
  ]
@@ -251,7 +291,7 @@
251
291
  {
252
292
  "source": "^the output should match \\/([^\\/]*)\\/$",
253
293
  "flags": "",
254
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:137",
294
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:171",
255
295
  "steps": [
256
296
 
257
297
  ]
@@ -259,7 +299,7 @@
259
299
  {
260
300
  "source": "^the output should match:$",
261
301
  "flags": "",
262
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:141",
302
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:175",
263
303
  "steps": [
264
304
 
265
305
  ]
@@ -267,7 +307,7 @@
267
307
  {
268
308
  "source": "^the output should not match \\/([^\\/]*)\\/$",
269
309
  "flags": "",
270
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:146",
310
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:180",
271
311
  "steps": [
272
312
 
273
313
  ]
@@ -275,7 +315,7 @@
275
315
  {
276
316
  "source": "^the output should not match:$",
277
317
  "flags": "",
278
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:150",
318
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:184",
279
319
  "steps": [
280
320
 
281
321
  ]
@@ -283,7 +323,7 @@
283
323
  {
284
324
  "source": "^the exit status should be (\\d+)$",
285
325
  "flags": "",
286
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:154",
326
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:188",
287
327
  "steps": [
288
328
 
289
329
  ]
@@ -291,7 +331,7 @@
291
331
  {
292
332
  "source": "^the exit status should not be (\\d+)$",
293
333
  "flags": "",
294
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:158",
334
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:192",
295
335
  "steps": [
296
336
 
297
337
  ]
@@ -299,7 +339,7 @@
299
339
  {
300
340
  "source": "^it should (pass|fail) with:$",
301
341
  "flags": "",
302
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:162",
342
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:196",
303
343
  "steps": [
304
344
  {
305
345
  "name": "it should fail with:",
@@ -315,7 +355,7 @@
315
355
  {
316
356
  "source": "^it should (pass|fail) with exactly:$",
317
357
  "flags": "",
318
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:166",
358
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:200",
319
359
  "steps": [
320
360
 
321
361
  ]
@@ -323,7 +363,7 @@
323
363
  {
324
364
  "source": "^it should (pass|fail) with regexp?:$",
325
365
  "flags": "",
326
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:170",
366
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:204",
327
367
  "steps": [
328
368
 
329
369
  ]
@@ -331,7 +371,7 @@
331
371
  {
332
372
  "source": "^the stderr(?: from \"(.*?)\")? should contain( exactly)? \"(.*?)\"$",
333
373
  "flags": "",
334
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:179",
374
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:213",
335
375
  "steps": [
336
376
 
337
377
  ]
@@ -339,7 +379,7 @@
339
379
  {
340
380
  "source": "^the stderr(?: from \"(.*?)\")? should contain( exactly)?:$",
341
381
  "flags": "",
342
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:191",
382
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:225",
343
383
  "steps": [
344
384
 
345
385
  ]
@@ -347,7 +387,7 @@
347
387
  {
348
388
  "source": "^the stdout(?: from \"(.*?)\")? should contain( exactly)? \"(.*?)\"$",
349
389
  "flags": "",
350
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:203",
390
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:237",
351
391
  "steps": [
352
392
 
353
393
  ]
@@ -355,7 +395,7 @@
355
395
  {
356
396
  "source": "^the stdout(?: from \"(.*?)\")? should contain( exactly)?:$",
357
397
  "flags": "",
358
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:215",
398
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:249",
359
399
  "steps": [
360
400
 
361
401
  ]
@@ -363,7 +403,7 @@
363
403
  {
364
404
  "source": "^the stderr should not contain \"([^\"]*)\"$",
365
405
  "flags": "",
366
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:223",
406
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:257",
367
407
  "steps": [
368
408
 
369
409
  ]
@@ -371,7 +411,7 @@
371
411
  {
372
412
  "source": "^the stderr should not contain:$",
373
413
  "flags": "",
374
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:227",
414
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:261",
375
415
  "steps": [
376
416
 
377
417
  ]
@@ -379,7 +419,7 @@
379
419
  {
380
420
  "source": "^the (stderr|stdout) should not contain anything$",
381
421
  "flags": "",
382
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:231",
422
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:265",
383
423
  "steps": [
384
424
 
385
425
  ]
@@ -387,7 +427,7 @@
387
427
  {
388
428
  "source": "^the stdout should not contain \"([^\"]*)\"$",
389
429
  "flags": "",
390
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:236",
430
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:270",
391
431
  "steps": [
392
432
 
393
433
  ]
@@ -395,7 +435,7 @@
395
435
  {
396
436
  "source": "^the stdout should not contain:$",
397
437
  "flags": "",
398
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:240",
438
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:274",
399
439
  "steps": [
400
440
 
401
441
  ]
@@ -403,7 +443,7 @@
403
443
  {
404
444
  "source": "^the stdout from \"([^\"]*)\" should not contain \"([^\"]*)\"$",
405
445
  "flags": "",
406
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:244",
446
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:278",
407
447
  "steps": [
408
448
 
409
449
  ]
@@ -411,7 +451,7 @@
411
451
  {
412
452
  "source": "^the stderr from \"([^\"]*)\" should not contain \"([^\"]*)\"$",
413
453
  "flags": "",
414
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:248",
454
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:282",
415
455
  "steps": [
416
456
 
417
457
  ]
@@ -419,7 +459,7 @@
419
459
  {
420
460
  "source": "^the file \"([^\"]*)\" should not exist$",
421
461
  "flags": "",
422
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:252",
462
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:286",
423
463
  "steps": [
424
464
 
425
465
  ]
@@ -427,7 +467,7 @@
427
467
  {
428
468
  "source": "^the following files should exist:$",
429
469
  "flags": "",
430
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:256",
470
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:290",
431
471
  "steps": [
432
472
 
433
473
  ]
@@ -435,7 +475,7 @@
435
475
  {
436
476
  "source": "^the following files should not exist:$",
437
477
  "flags": "",
438
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:260",
478
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:294",
439
479
  "steps": [
440
480
 
441
481
  ]
@@ -443,7 +483,7 @@
443
483
  {
444
484
  "source": "^a file named \"([^\"]*)\" should exist$",
445
485
  "flags": "",
446
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:264",
486
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:298",
447
487
  "steps": [
448
488
 
449
489
  ]
@@ -451,7 +491,23 @@
451
491
  {
452
492
  "source": "^a file named \"([^\"]*)\" should not exist$",
453
493
  "flags": "",
454
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:268",
494
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:302",
495
+ "steps": [
496
+
497
+ ]
498
+ },
499
+ {
500
+ "source": "^a file matching %r<(.*?)> should exist$",
501
+ "flags": "",
502
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:306",
503
+ "steps": [
504
+
505
+ ]
506
+ },
507
+ {
508
+ "source": "^a file matching %r<(.*?)> should not exist$",
509
+ "flags": "",
510
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:310",
455
511
  "steps": [
456
512
 
457
513
  ]
@@ -459,7 +515,7 @@
459
515
  {
460
516
  "source": "^a (\\d+) byte file named \"([^\"]*)\" should exist$",
461
517
  "flags": "",
462
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:272",
518
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:314",
463
519
  "steps": [
464
520
 
465
521
  ]
@@ -467,7 +523,7 @@
467
523
  {
468
524
  "source": "^the following directories should exist:$",
469
525
  "flags": "",
470
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:276",
526
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:318",
471
527
  "steps": [
472
528
 
473
529
  ]
@@ -475,7 +531,7 @@
475
531
  {
476
532
  "source": "^the following directories should not exist:$",
477
533
  "flags": "",
478
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:280",
534
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:322",
479
535
  "steps": [
480
536
 
481
537
  ]
@@ -483,7 +539,7 @@
483
539
  {
484
540
  "source": "^a directory named \"([^\"]*)\" should exist$",
485
541
  "flags": "",
486
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:284",
542
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:326",
487
543
  "steps": [
488
544
 
489
545
  ]
@@ -491,7 +547,7 @@
491
547
  {
492
548
  "source": "^a directory named \"([^\"]*)\" should not exist$",
493
549
  "flags": "",
494
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:288",
550
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:330",
495
551
  "steps": [
496
552
 
497
553
  ]
@@ -499,7 +555,7 @@
499
555
  {
500
556
  "source": "^the file \"([^\"]*)\" should contain \"([^\"]*)\"$",
501
557
  "flags": "",
502
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:292",
558
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:334",
503
559
  "steps": [
504
560
 
505
561
  ]
@@ -507,7 +563,7 @@
507
563
  {
508
564
  "source": "^the file \"([^\"]*)\" should not contain \"([^\"]*)\"$",
509
565
  "flags": "",
510
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:296",
566
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:338",
511
567
  "steps": [
512
568
 
513
569
  ]
@@ -515,7 +571,7 @@
515
571
  {
516
572
  "source": "^the file \"([^\"]*)\" should contain:$",
517
573
  "flags": "",
518
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:300",
574
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:342",
519
575
  "steps": [
520
576
 
521
577
  ]
@@ -523,7 +579,7 @@
523
579
  {
524
580
  "source": "^the file \"([^\"]*)\" should contain exactly:$",
525
581
  "flags": "",
526
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:304",
582
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:346",
527
583
  "steps": [
528
584
 
529
585
  ]
@@ -531,7 +587,7 @@
531
587
  {
532
588
  "source": "^the file \"([^\"]*)\" should match \\/([^\\/]*)\\/$",
533
589
  "flags": "",
534
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:308",
590
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:350",
535
591
  "steps": [
536
592
 
537
593
  ]
@@ -539,7 +595,23 @@
539
595
  {
540
596
  "source": "^the file \"([^\"]*)\" should not match \\/([^\\/]*)\\/$",
541
597
  "flags": "",
542
- "file_colon_line": "aruba-0.5.2/lib/aruba/cucumber.rb:312",
598
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:354",
599
+ "steps": [
600
+
601
+ ]
602
+ },
603
+ {
604
+ "source": "^the mode of filesystem object \"([^\"]*)\" should match \"([^\"]*)\"$",
605
+ "flags": "",
606
+ "file_colon_line": "aruba-0.5.4/lib/aruba/cucumber.rb:358",
607
+ "steps": [
608
+
609
+ ]
610
+ },
611
+ {
612
+ "source": "^cucumber lists all the supported languages$",
613
+ "flags": "",
614
+ "file_colon_line": "features/lib/step_definitions/language_steps.rb:3",
543
615
  "steps": [
544
616
 
545
617
  ]
@@ -15,6 +15,19 @@ Feature: Rerun formatter
15
15
  |failing|
16
16
 
17
17
  """
18
+ And a file named "features/failing_background.feature" with:
19
+ """
20
+ Feature: Failing background sample
21
+
22
+ Background:
23
+ Given a failing step
24
+
25
+ Scenario: failing background
26
+ Then a passing step
27
+
28
+ Scenario: another failing background
29
+ Then a passing step
30
+ """
18
31
  And a file named "features/step_definitions/steps.rb" with:
19
32
  """
20
33
  Given /a passing step/ do
@@ -33,3 +46,9 @@ Feature: Rerun formatter
33
46
  features/one_passing_one_failing.feature:9
34
47
  """
35
48
 
49
+ Scenario: Failing background
50
+ When I run `cucumber features/failing_background.feature -r features -f rerun`
51
+ Then it should fail with:
52
+ """
53
+ features/failing_background.feature:6:9
54
+ """
@@ -46,7 +46,7 @@ module Cucumber
46
46
  end
47
47
 
48
48
  def after_feature_element(feature_element)
49
- if (@rerun || feature_element.failed?) && !(Ast::ScenarioOutline === feature_element)
49
+ if (@rerun || feature_element.failed? || feature_element.status == :skipped) && !(Ast::ScenarioOutline === feature_element)
50
50
  @lines << feature_element.line
51
51
  end
52
52
  end
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '1.3.12'
7
+ VERSION = '1.3.13'
8
8
  BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
9
9
  LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
10
10
  JRUBY = defined?(JRUBY_VERSION)
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: 1.3.12
4
+ version: 1.3.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-16 00:00:00.000000000 Z
12
+ date: 2014-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -153,6 +153,9 @@ dependencies:
153
153
  - - ! '>='
154
154
  - !ruby/object:Gem::Version
155
155
  version: 0.9.2
156
+ - - <
157
+ - !ruby/object:Gem::Version
158
+ version: '10.2'
156
159
  type: :development
157
160
  prerelease: false
158
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -161,6 +164,9 @@ dependencies:
161
164
  - - ! '>='
162
165
  - !ruby/object:Gem::Version
163
166
  version: 0.9.2
167
+ - - <
168
+ - !ruby/object:Gem::Version
169
+ version: '10.2'
164
170
  - !ruby/object:Gem::Dependency
165
171
  name: rspec
166
172
  requirement: !ruby/object:Gem::Requirement
@@ -1002,7 +1008,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1002
1008
  version: '0'
1003
1009
  segments:
1004
1010
  - 0
1005
- hash: -4582240401117440396
1011
+ hash: -2172003806326300934
1006
1012
  required_rubygems_version: !ruby/object:Gem::Requirement
1007
1013
  none: false
1008
1014
  requirements:
@@ -1011,13 +1017,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1011
1017
  version: '0'
1012
1018
  segments:
1013
1019
  - 0
1014
- hash: -4582240401117440396
1020
+ hash: -2172003806326300934
1015
1021
  requirements: []
1016
1022
  rubyforge_project:
1017
- rubygems_version: 1.8.23
1023
+ rubygems_version: 1.8.23.2
1018
1024
  signing_key:
1019
1025
  specification_version: 3
1020
- summary: cucumber-1.3.12
1026
+ summary: cucumber-1.3.13
1021
1027
  test_files:
1022
1028
  - features/assertions.feature
1023
1029
  - features/autoformat_profile_output.feature