cucumber 1.1.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +9 -0
- data/History.md +20 -3
- data/README.md +1 -2
- data/cucumber.gemspec +10 -13
- data/cucumber.yml +2 -2
- data/features/.cucumber/stepdefs.json +13 -391
- data/features/backtraces.feature +36 -0
- data/features/{issue_117.feature → drb_server_integration.feature} +3 -3
- data/features/formatter_step_file_colon_line.feature +46 -0
- data/features/{issue_57.feature → rerun_formatter.feature} +2 -2
- data/features/run_specific_scenarios.feature +47 -0
- data/gem_tasks/cucumber.rake +15 -8
- data/legacy_features/cucumber_cli.feature +0 -7
- data/legacy_features/junit_formatter.feature +60 -10
- data/legacy_features/language_help.feature +1 -0
- data/lib/cucumber.rb +2 -1
- data/lib/cucumber/ast/step.rb +1 -1
- data/lib/cucumber/ast/step_invocation.rb +2 -15
- data/lib/cucumber/ast/table.rb +16 -6
- data/lib/cucumber/ast/tree_walker.rb +5 -5
- data/lib/cucumber/cli/options.rb +5 -8
- data/lib/cucumber/formatter/ansicolor.rb +7 -12
- data/lib/cucumber/formatter/cucumber.css +7 -1
- data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +1 -1
- data/lib/cucumber/formatter/html.rb +5 -5
- data/lib/cucumber/formatter/interceptor.rb +62 -0
- data/lib/cucumber/formatter/junit.rb +30 -14
- data/lib/cucumber/formatter/pretty.rb +3 -3
- data/lib/cucumber/formatter/progress.rb +1 -1
- data/lib/cucumber/formatter/rerun.rb +1 -1
- data/lib/cucumber/formatter/usage.rb +1 -1
- data/lib/cucumber/js_support/js_snippets.rb +1 -1
- data/lib/cucumber/platform.rb +1 -1
- data/lib/cucumber/rb_support/rb_dsl.rb +15 -8
- data/lib/cucumber/rb_support/rb_language.rb +3 -3
- data/lib/cucumber/rb_support/rb_step_definition.rb +17 -5
- data/lib/cucumber/term/ansicolor.rb +118 -0
- data/spec/cucumber/ast/table_spec.rb +9 -0
- data/spec/cucumber/cli/configuration_spec.rb +12 -6
- data/spec/cucumber/cli/options_spec.rb +9 -3
- data/spec/cucumber/constantize_spec.rb +5 -1
- data/spec/cucumber/formatter/ansicolor_spec.rb +1 -1
- data/spec/cucumber/formatter/interceptor_spec.rb +111 -0
- data/spec/cucumber/formatter/junit_spec.rb +36 -20
- data/spec/cucumber/formatter/progress_spec.rb +2 -2
- data/spec/cucumber/rb_support/rb_language_spec.rb +5 -5
- data/spec/cucumber/rb_support/rb_step_definition_spec.rb +17 -1
- data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +6 -2
- data/spec/cucumber/step_match_spec.rb +8 -4
- data/spec/spec_helper.rb +15 -1
- metadata +215 -82
- data/.gitmodules +0 -3
- data/lib/cucumber/formatter/pdf.rb +0 -244
data/.travis.yml
CHANGED
data/History.md
CHANGED
@@ -1,14 +1,31 @@
|
|
1
|
+
## [v1.2.0](https://github.com/cucumber/cucumber/compare/v1.1.9...v1.2.0)
|
2
|
+
|
3
|
+
### Bugfixes
|
4
|
+
* Fix backtraces in JRuby (#266 Andrew Kiellor)
|
5
|
+
|
6
|
+
### New Features
|
7
|
+
* Extracted the PDF formatter into a separate gem. (#241 Matt Wynne)
|
8
|
+
* Remove dependency on term/ansicolor (#43 Joe Fiorini)
|
9
|
+
* Methods for Step Definitions (#168 Giles Alexander)
|
10
|
+
* Add file:line to step events in formatter API (#181 Roman Chernyatchik)
|
11
|
+
* Collapsible backgrounds in HTML formatter (#182 Niklas H)
|
12
|
+
* Slightly cleaner regexp suggestions (#237 meyering)
|
13
|
+
* Allow for --no-drb command-line option (#252 Chase Stubblefield)
|
14
|
+
* Add misplaced_col option when diffing tables (#212 Steve Richert)
|
15
|
+
* JUnit formatter, classname contains only the feature's name (#193 @litvinok)
|
16
|
+
* Include the output $stderr and $stdout in JUnit formatted XML (#259 R. Tyler Croy)
|
17
|
+
|
1
18
|
## [v1.1.9](https://github.com/cucumber/cucumber/compare/v1.1.8...v1.1.9)
|
2
19
|
|
3
|
-
|
20
|
+
### Bugfixes
|
4
21
|
* Removed deprecation warning for `source_tag_names`. It's not deprecated anymore. (Aslak Hellesøy)
|
5
22
|
|
6
23
|
## [v1.1.8](https://github.com/cucumber/cucumber/compare/v1.1.7...v1.1.8)
|
7
24
|
|
8
|
-
|
25
|
+
### Bugfixes
|
9
26
|
* Column mapping dangerously applied twice to the same cell! ([#202](https://github.com/cucumber/cucumber/issues/202), [#208](https://github.com/cucumber/cucumber/pull/208) Brian Dunn)
|
10
27
|
|
11
|
-
|
28
|
+
### New Features
|
12
29
|
* Don't pollute RbWorld with the AnsiEscapes methods ([#219](https://github.com/cucumber/cucumber/issues/219), [#221](https://github.com/cucumber/cucumber/pull/221) Ben Woosley)
|
13
30
|
|
14
31
|
## [v1.1.7](https://github.com/cucumber/cucumber/compare/v1.1.6...v1.1.7)
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ The main website is at http://cukes.info/
|
|
4
4
|
The documentation is at https://wiki.github.com/cucumber/cucumber/
|
5
5
|
|
6
6
|
## Note on Patches/Pull Requests
|
7
|
-
|
7
|
+
|
8
8
|
* Fork the project.
|
9
9
|
* Make your feature addition or bug fix.
|
10
10
|
* Add tests for it. This is important so I don't break it in a
|
@@ -18,7 +18,6 @@ The documentation is at https://wiki.github.com/cucumber/cucumber/
|
|
18
18
|
|
19
19
|
gem install bundler
|
20
20
|
bundle install
|
21
|
-
git submodule update --init --recursive
|
22
21
|
rake
|
23
22
|
|
24
23
|
## Release Process
|
data/cucumber.gemspec
CHANGED
@@ -23,33 +23,30 @@ for important information about this release. Happy cuking!
|
|
23
23
|
|
24
24
|
}
|
25
25
|
|
26
|
-
s.add_runtime_dependency 'gherkin', '~> 2.
|
27
|
-
s.add_runtime_dependency 'term-ansicolor', '>= 1.0.6'
|
26
|
+
s.add_runtime_dependency 'gherkin', '~> 2.10.0'
|
28
27
|
s.add_runtime_dependency 'builder', '>= 2.1.2'
|
29
|
-
s.add_runtime_dependency 'diff-lcs', '>= 1.1.
|
28
|
+
s.add_runtime_dependency 'diff-lcs', '>= 1.1.3'
|
30
29
|
s.add_runtime_dependency 'json', '>= 1.4.6'
|
31
30
|
|
32
31
|
s.add_development_dependency 'aruba', '~> 0.4.11'
|
33
32
|
s.add_development_dependency 'rake', '>= 0.9.2'
|
34
|
-
s.add_development_dependency 'rspec', '~> 2.
|
35
|
-
s.add_development_dependency 'nokogiri', '>= 1.5.
|
36
|
-
s.add_development_dependency 'prawn', '~> 0.8.4'
|
37
|
-
s.add_development_dependency 'prawn-layout', '~> 0.8.4'
|
33
|
+
s.add_development_dependency 'rspec', '~> 2.9.0'
|
34
|
+
s.add_development_dependency 'nokogiri', '>= 1.5.2'
|
38
35
|
s.add_development_dependency 'syntax', '>= 1.0.0'
|
39
|
-
s.add_development_dependency 'spork', '>= 0.
|
40
|
-
s.add_development_dependency 'simplecov', '>= 0.
|
36
|
+
s.add_development_dependency 'spork', '>= 1.0.0.rc2'
|
37
|
+
s.add_development_dependency 'simplecov', '>= 0.6.2'
|
41
38
|
|
42
39
|
# For Documentation:
|
43
|
-
s.add_development_dependency('yard', '~> 0.
|
44
|
-
s.add_development_dependency('rdiscount', '~> 1.6.8')
|
40
|
+
s.add_development_dependency('yard', '~> 0.8.0')
|
41
|
+
s.add_development_dependency('rdiscount', '~> 1.6.8') unless defined?(JRUBY_VERSION)
|
45
42
|
s.add_development_dependency('bcat', '~> 0.6.2')
|
46
43
|
|
47
44
|
# Needed for examples (rake examples)
|
48
45
|
s.add_development_dependency 'ramaze'
|
49
46
|
s.add_development_dependency 'rack-test', '>= 0.6.1'
|
50
47
|
s.add_development_dependency 'webrat', '>= 0.7.3'
|
51
|
-
s.add_development_dependency 'sinatra', '>= 1.3.
|
52
|
-
s.add_development_dependency 'capybara', '>= 1.1.
|
48
|
+
s.add_development_dependency 'sinatra', '>= 1.3.2'
|
49
|
+
s.add_development_dependency 'capybara', '>= 1.1.2'
|
53
50
|
|
54
51
|
s.rubygems_version = ">= 1.6.1"
|
55
52
|
s.files = `git ls-files`.split("\n").reject {|path| path =~ /\.gitignore$/ }
|
data/cucumber.yml
CHANGED
@@ -13,8 +13,8 @@ end
|
|
13
13
|
default: <%= std_opts %> --dotcucumber features/.cucumber
|
14
14
|
jruby: <%= std_opts %> --tags ~@spork --tags ~@wire
|
15
15
|
jruby_win: <%= std_opts %> --tags ~@spork --tags ~@wire CUCUMBER_FORWARD_SLASH_PATHS=true
|
16
|
-
windows_mri: <%= std_opts %> --tags ~@spork --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
|
17
|
-
ruby_1_9: <%= std_opts %> --tags ~@fails_on_1_9
|
16
|
+
windows_mri: <%= std_opts %> --tags ~@jruby --tags ~@spork --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
|
17
|
+
ruby_1_9: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
|
18
18
|
wip: --tags @wip:3 --wip features
|
19
19
|
none: --format pretty
|
20
20
|
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
@@ -21,83 +21,11 @@
|
|
21
21
|
"file_colon_line": "aruba-0.4.11/lib/aruba/cucumber.rb:15",
|
22
22
|
"steps": [
|
23
23
|
{
|
24
|
-
"name": "a file named \"features/
|
24
|
+
"name": "a file named \"features/test.feature\" with:",
|
25
25
|
"args": [
|
26
26
|
{
|
27
27
|
"offset": 14,
|
28
|
-
"val": "features/
|
29
|
-
}
|
30
|
-
]
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"name": "a file named \"features/f.feature\" with:",
|
34
|
-
"args": [
|
35
|
-
{
|
36
|
-
"offset": 14,
|
37
|
-
"val": "features/f.feature"
|
38
|
-
}
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"name": "a file named \"features/only_background_and_hooks.feature\" with:",
|
43
|
-
"args": [
|
44
|
-
{
|
45
|
-
"offset": 14,
|
46
|
-
"val": "features/only_background_and_hooks.feature"
|
47
|
-
}
|
48
|
-
]
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "a file named \"features/only_background_and_hooks_steps.rb\" with:",
|
52
|
-
"args": [
|
53
|
-
{
|
54
|
-
"offset": 14,
|
55
|
-
"val": "features/only_background_and_hooks_steps.rb"
|
56
|
-
}
|
57
|
-
]
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"name": "a file named \"features/step_definitions/doc_string_steps.rb\" with:",
|
61
|
-
"args": [
|
62
|
-
{
|
63
|
-
"offset": 14,
|
64
|
-
"val": "features/step_definitions/doc_string_steps.rb"
|
65
|
-
}
|
66
|
-
]
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "a file named \"features/step_definitions/multiline_steps.rb\" with:",
|
70
|
-
"args": [
|
71
|
-
{
|
72
|
-
"offset": 14,
|
73
|
-
"val": "features/step_definitions/multiline_steps.rb"
|
74
|
-
}
|
75
|
-
]
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"name": "a file named \"features/step_definitions/steps.rb\" with:",
|
79
|
-
"args": [
|
80
|
-
{
|
81
|
-
"offset": 14,
|
82
|
-
"val": "features/step_definitions/steps.rb"
|
83
|
-
}
|
84
|
-
]
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"name": "a file named \"features/support/hooks.rb\" with:",
|
88
|
-
"args": [
|
89
|
-
{
|
90
|
-
"offset": 14,
|
91
|
-
"val": "features/support/hooks.rb"
|
92
|
-
}
|
93
|
-
]
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"name": "a file named \"features/support/ze/formator.rb\" with:",
|
97
|
-
"args": [
|
98
|
-
{
|
99
|
-
"offset": 14,
|
100
|
-
"val": "features/support/ze/formator.rb"
|
28
|
+
"val": "features/test.feature"
|
101
29
|
}
|
102
30
|
]
|
103
31
|
}
|
@@ -181,164 +109,20 @@
|
|
181
109
|
"file_colon_line": "aruba-0.4.11/lib/aruba/cucumber.rb:56",
|
182
110
|
"steps": [
|
183
111
|
{
|
184
|
-
"name": "I run `cucumber -f
|
185
|
-
"args": [
|
186
|
-
{
|
187
|
-
"offset": 7,
|
188
|
-
"val": "cucumber -f stepdefs --dry-run"
|
189
|
-
}
|
190
|
-
]
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "I run `cucumber -f usage --dry-run`",
|
194
|
-
"args": [
|
195
|
-
{
|
196
|
-
"offset": 7,
|
197
|
-
"val": "cucumber -f usage --dry-run"
|
198
|
-
}
|
199
|
-
]
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"name": "I run `cucumber -q -t @one -t @three features/tagulicious.feature`",
|
203
|
-
"args": [
|
204
|
-
{
|
205
|
-
"offset": 7,
|
206
|
-
"val": "cucumber -q -t @one -t @three features/tagulicious.feature"
|
207
|
-
}
|
208
|
-
]
|
209
|
-
},
|
210
|
-
{
|
211
|
-
"name": "I run `cucumber -q -t @one,@three features/tagulicious.feature`",
|
212
|
-
"args": [
|
213
|
-
{
|
214
|
-
"offset": 7,
|
215
|
-
"val": "cucumber -q -t @one,@three features/tagulicious.feature"
|
216
|
-
}
|
217
|
-
]
|
218
|
-
},
|
219
|
-
{
|
220
|
-
"name": "I run `cucumber -q features/background_tagged_before_on_outline.feature`",
|
221
|
-
"args": [
|
222
|
-
{
|
223
|
-
"offset": 7,
|
224
|
-
"val": "cucumber -q features/background_tagged_before_on_outline.feature"
|
225
|
-
}
|
226
|
-
]
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"name": "I run `cucumber -q features/failing_background.feature`",
|
230
|
-
"args": [
|
231
|
-
{
|
232
|
-
"offset": 7,
|
233
|
-
"val": "cucumber -q features/failing_background.feature"
|
234
|
-
}
|
235
|
-
]
|
236
|
-
},
|
237
|
-
{
|
238
|
-
"name": "I run `cucumber -q features/failing_background_after_success.feature`",
|
112
|
+
"name": "I run `cucumber features/test.feature:5 -f progress`",
|
239
113
|
"args": [
|
240
114
|
{
|
241
115
|
"offset": 7,
|
242
|
-
"val": "cucumber
|
116
|
+
"val": "cucumber features/test.feature:5 -f progress"
|
243
117
|
}
|
244
118
|
]
|
245
119
|
},
|
246
120
|
{
|
247
|
-
"name": "I run `cucumber
|
121
|
+
"name": "I run `cucumber features/test.feature:8 -f progress`",
|
248
122
|
"args": [
|
249
123
|
{
|
250
124
|
"offset": 7,
|
251
|
-
"val": "cucumber
|
252
|
-
}
|
253
|
-
]
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"name": "I run `cucumber -q features/passing_background.feature:9`",
|
257
|
-
"args": [
|
258
|
-
{
|
259
|
-
"offset": 7,
|
260
|
-
"val": "cucumber -q features/passing_background.feature:9"
|
261
|
-
}
|
262
|
-
]
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"name": "I run `cucumber -q features/passing_background.feature`",
|
266
|
-
"args": [
|
267
|
-
{
|
268
|
-
"offset": 7,
|
269
|
-
"val": "cucumber -q features/passing_background.feature"
|
270
|
-
}
|
271
|
-
]
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"name": "I run `cucumber -q features/pending_background.feature`",
|
275
|
-
"args": [
|
276
|
-
{
|
277
|
-
"offset": 7,
|
278
|
-
"val": "cucumber -q features/pending_background.feature"
|
279
|
-
}
|
280
|
-
]
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"name": "I run `cucumber -q features/scenario_outline_failing_background.feature`",
|
284
|
-
"args": [
|
285
|
-
{
|
286
|
-
"offset": 7,
|
287
|
-
"val": "cucumber -q features/scenario_outline_failing_background.feature"
|
288
|
-
}
|
289
|
-
]
|
290
|
-
},
|
291
|
-
{
|
292
|
-
"name": "I run `cucumber -q features/scenario_outline_passing_background.feature`",
|
293
|
-
"args": [
|
294
|
-
{
|
295
|
-
"offset": 7,
|
296
|
-
"val": "cucumber -q features/scenario_outline_passing_background.feature"
|
297
|
-
}
|
298
|
-
]
|
299
|
-
},
|
300
|
-
{
|
301
|
-
"name": "I run `cucumber -q features/tagulicious.feature`",
|
302
|
-
"args": [
|
303
|
-
{
|
304
|
-
"offset": 7,
|
305
|
-
"val": "cucumber -q features/tagulicious.feature"
|
306
|
-
}
|
307
|
-
]
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"name": "I run `cucumber features/f.feature:2`",
|
311
|
-
"args": [
|
312
|
-
{
|
313
|
-
"offset": 7,
|
314
|
-
"val": "cucumber features/f.feature:2"
|
315
|
-
}
|
316
|
-
]
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"name": "I run `cucumber features/f.feature:6`",
|
320
|
-
"args": [
|
321
|
-
{
|
322
|
-
"offset": 7,
|
323
|
-
"val": "cucumber features/f.feature:6"
|
324
|
-
}
|
325
|
-
]
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"name": "I run `cucumber features/only_background_and_hooks.feature`",
|
329
|
-
"args": [
|
330
|
-
{
|
331
|
-
"offset": 7,
|
332
|
-
"val": "cucumber features/only_background_and_hooks.feature"
|
333
|
-
}
|
334
|
-
]
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"name": "I run `cucumber`",
|
338
|
-
"args": [
|
339
|
-
{
|
340
|
-
"offset": 7,
|
341
|
-
"val": "cucumber"
|
125
|
+
"val": "cucumber features/test.feature:8 -f progress"
|
342
126
|
}
|
343
127
|
]
|
344
128
|
}
|
@@ -389,15 +173,7 @@
|
|
389
173
|
"flags": "",
|
390
174
|
"file_colon_line": "aruba-0.4.11/lib/aruba/cucumber.rb:82",
|
391
175
|
"steps": [
|
392
|
-
|
393
|
-
"name": "the output should contain \"WARNING\"",
|
394
|
-
"args": [
|
395
|
-
{
|
396
|
-
"offset": 27,
|
397
|
-
"val": "WARNING"
|
398
|
-
}
|
399
|
-
]
|
400
|
-
}
|
176
|
+
|
401
177
|
]
|
402
178
|
},
|
403
179
|
{
|
@@ -429,12 +205,7 @@
|
|
429
205
|
"flags": "",
|
430
206
|
"file_colon_line": "aruba-0.4.11/lib/aruba/cucumber.rb:98",
|
431
207
|
"steps": [
|
432
|
-
{
|
433
|
-
"name": "the output should contain:",
|
434
|
-
"args": [
|
435
208
|
|
436
|
-
]
|
437
|
-
}
|
438
209
|
]
|
439
210
|
},
|
440
211
|
{
|
@@ -523,24 +294,7 @@
|
|
523
294
|
"flags": "",
|
524
295
|
"file_colon_line": "aruba-0.4.11/lib/aruba/cucumber.rb:138",
|
525
296
|
"steps": [
|
526
|
-
|
527
|
-
"name": "it should fail with exactly:",
|
528
|
-
"args": [
|
529
|
-
{
|
530
|
-
"offset": 10,
|
531
|
-
"val": "fail"
|
532
|
-
}
|
533
|
-
]
|
534
|
-
},
|
535
|
-
{
|
536
|
-
"name": "it should pass with exactly:",
|
537
|
-
"args": [
|
538
|
-
{
|
539
|
-
"offset": 10,
|
540
|
-
"val": "pass"
|
541
|
-
}
|
542
|
-
]
|
543
|
-
}
|
297
|
+
|
544
298
|
]
|
545
299
|
},
|
546
300
|
{
|
@@ -788,78 +542,7 @@
|
|
788
542
|
"flags": "",
|
789
543
|
"file_colon_line": "features/step_definitions/cucumber_steps.rb:1",
|
790
544
|
"steps": [
|
791
|
-
|
792
|
-
"name": "I run cucumber \"--format json features/doc_string.feature\"",
|
793
|
-
"args": [
|
794
|
-
{
|
795
|
-
"offset": 16,
|
796
|
-
"val": "--format json features/doc_string.feature"
|
797
|
-
}
|
798
|
-
]
|
799
|
-
},
|
800
|
-
{
|
801
|
-
"name": "I run cucumber \"--format json features/one_passing_one_failing.feature\"",
|
802
|
-
"args": [
|
803
|
-
{
|
804
|
-
"offset": 16,
|
805
|
-
"val": "--format json features/one_passing_one_failing.feature"
|
806
|
-
}
|
807
|
-
]
|
808
|
-
},
|
809
|
-
{
|
810
|
-
"name": "I run cucumber \"-b --format json features/embed.feature\"",
|
811
|
-
"args": [
|
812
|
-
{
|
813
|
-
"offset": 16,
|
814
|
-
"val": "-b --format json features/embed.feature"
|
815
|
-
}
|
816
|
-
]
|
817
|
-
},
|
818
|
-
{
|
819
|
-
"name": "I run cucumber \"features/f.feature --format Ze::Formator\"",
|
820
|
-
"args": [
|
821
|
-
{
|
822
|
-
"offset": 16,
|
823
|
-
"val": "features/f.feature --format Ze::Formator"
|
824
|
-
}
|
825
|
-
]
|
826
|
-
},
|
827
|
-
{
|
828
|
-
"name": "I run cucumber \"features/foo.feature\"",
|
829
|
-
"args": [
|
830
|
-
{
|
831
|
-
"offset": 16,
|
832
|
-
"val": "features/foo.feature"
|
833
|
-
}
|
834
|
-
]
|
835
|
-
},
|
836
|
-
{
|
837
|
-
"name": "I run cucumber \"features/one_passing_one_failing.feature -r features -f rerun\"",
|
838
|
-
"args": [
|
839
|
-
{
|
840
|
-
"offset": 16,
|
841
|
-
"val": "features/one_passing_one_failing.feature -r features -f rerun"
|
842
|
-
}
|
843
|
-
]
|
844
|
-
},
|
845
|
-
{
|
846
|
-
"name": "I run cucumber \"features/sample.feature --tags ~@wip\"",
|
847
|
-
"args": [
|
848
|
-
{
|
849
|
-
"offset": 16,
|
850
|
-
"val": "features/sample.feature --tags ~@wip"
|
851
|
-
}
|
852
|
-
]
|
853
|
-
},
|
854
|
-
{
|
855
|
-
"name": "I run cucumber \"features/sample.feature -r features --tags ~@wip\"",
|
856
|
-
"args": [
|
857
|
-
{
|
858
|
-
"offset": 16,
|
859
|
-
"val": "features/sample.feature -r features --tags ~@wip"
|
860
|
-
}
|
861
|
-
]
|
862
|
-
}
|
545
|
+
|
863
546
|
]
|
864
547
|
},
|
865
548
|
{
|
@@ -867,24 +550,7 @@
|
|
867
550
|
"flags": "",
|
868
551
|
"file_colon_line": "features/step_definitions/cucumber_steps.rb:5",
|
869
552
|
"steps": [
|
870
|
-
|
871
|
-
"name": "it should fail with JSON:",
|
872
|
-
"args": [
|
873
|
-
{
|
874
|
-
"offset": 10,
|
875
|
-
"val": "fail"
|
876
|
-
}
|
877
|
-
]
|
878
|
-
},
|
879
|
-
{
|
880
|
-
"name": "it should pass with JSON:",
|
881
|
-
"args": [
|
882
|
-
{
|
883
|
-
"offset": 10,
|
884
|
-
"val": "pass"
|
885
|
-
}
|
886
|
-
]
|
887
|
-
}
|
553
|
+
|
888
554
|
]
|
889
555
|
},
|
890
556
|
{
|
@@ -892,12 +558,7 @@
|
|
892
558
|
"flags": "",
|
893
559
|
"file_colon_line": "features/step_definitions/cucumber_steps.rb:19",
|
894
560
|
"steps": [
|
895
|
-
{
|
896
|
-
"name": "a directory without standard Cucumber project directory structure",
|
897
|
-
"args": [
|
898
561
|
|
899
|
-
]
|
900
|
-
}
|
901
562
|
]
|
902
563
|
},
|
903
564
|
{
|
@@ -905,12 +566,7 @@
|
|
905
566
|
"flags": "",
|
906
567
|
"file_colon_line": "features/step_definitions/cucumber_steps.rb:25",
|
907
568
|
"steps": [
|
908
|
-
{
|
909
|
-
"name": "a scenario with a step that looks like this:",
|
910
|
-
"args": [
|
911
569
|
|
912
|
-
]
|
913
|
-
}
|
914
570
|
]
|
915
571
|
},
|
916
572
|
{
|
@@ -918,12 +574,7 @@
|
|
918
574
|
"flags": "",
|
919
575
|
"file_colon_line": "features/step_definitions/cucumber_steps.rb:31",
|
920
576
|
"steps": [
|
921
|
-
{
|
922
|
-
"name": "a step definition that looks like this:",
|
923
|
-
"args": [
|
924
577
|
|
925
|
-
]
|
926
|
-
}
|
927
578
|
]
|
928
579
|
},
|
929
580
|
{
|
@@ -931,15 +582,7 @@
|
|
931
582
|
"flags": "",
|
932
583
|
"file_colon_line": "features/step_definitions/cucumber_steps.rb:35",
|
933
584
|
"steps": [
|
934
|
-
|
935
|
-
"name": "I run the feature with the progress formatter",
|
936
|
-
"args": [
|
937
|
-
{
|
938
|
-
"offset": 27,
|
939
|
-
"val": "progress"
|
940
|
-
}
|
941
|
-
]
|
942
|
-
}
|
585
|
+
|
943
586
|
]
|
944
587
|
},
|
945
588
|
{
|
@@ -947,12 +590,7 @@
|
|
947
590
|
"flags": "",
|
948
591
|
"file_colon_line": "features/step_definitions/drb_steps.rb:1",
|
949
592
|
"steps": [
|
950
|
-
{
|
951
|
-
"name": "I am running spork in the background",
|
952
|
-
"args": [
|
953
593
|
|
954
|
-
]
|
955
|
-
}
|
956
594
|
]
|
957
595
|
},
|
958
596
|
{
|
@@ -960,15 +598,7 @@
|
|
960
598
|
"flags": "",
|
961
599
|
"file_colon_line": "features/step_definitions/iso-8859-1_steps.rb:6",
|
962
600
|
"steps": [
|
963
|
-
|
964
|
-
"name": "jeg drikker en \"øl\"",
|
965
|
-
"args": [
|
966
|
-
{
|
967
|
-
"offset": 16,
|
968
|
-
"val": "øl"
|
969
|
-
}
|
970
|
-
]
|
971
|
-
}
|
601
|
+
|
972
602
|
]
|
973
603
|
},
|
974
604
|
{
|
@@ -976,15 +606,7 @@
|
|
976
606
|
"flags": "",
|
977
607
|
"file_colon_line": "features/step_definitions/iso-8859-1_steps.rb:10",
|
978
608
|
"steps": [
|
979
|
-
|
980
|
-
"name": "skal de andre si \"skål\"",
|
981
|
-
"args": [
|
982
|
-
{
|
983
|
-
"offset": 18,
|
984
|
-
"val": "skål"
|
985
|
-
}
|
986
|
-
]
|
987
|
-
}
|
609
|
+
|
988
610
|
]
|
989
611
|
}
|
990
612
|
]
|