cucumber 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +7 -9
  3. data/History.md +295 -265
  4. data/README.md +9 -7
  5. data/cucumber.gemspec +2 -2
  6. data/features/docs/cli/dry_run.feature +0 -3
  7. data/features/docs/cli/finding_steps.feature +28 -0
  8. data/features/docs/cli/run_specific_scenarios.feature +3 -1
  9. data/features/docs/cli/specifying_multiple_formatters.feature +22 -1
  10. data/features/docs/defining_steps/nested_steps.feature +0 -1
  11. data/features/docs/defining_steps/printing_messages.feature +4 -4
  12. data/features/docs/defining_steps/skip_scenario.feature +0 -2
  13. data/features/docs/exception_in_around_hook.feature +1 -3
  14. data/features/docs/formatters/html_formatter.feature +1 -0
  15. data/features/docs/formatters/json_formatter.feature +73 -62
  16. data/features/docs/formatters/junit_formatter.feature +130 -38
  17. data/features/docs/formatters/rerun_formatter.feature +60 -8
  18. data/features/docs/formatters/usage_formatter.feature +3 -7
  19. data/features/docs/getting_started.feature +1 -1
  20. data/features/docs/gherkin/background.feature +0 -11
  21. data/features/docs/gherkin/language_help.feature +5 -0
  22. data/features/docs/gherkin/outlines.feature +1 -3
  23. data/features/docs/gherkin/using_descriptions.feature +0 -1
  24. data/features/docs/raketask.feature +1 -1
  25. data/features/docs/writing_support_code/after_hooks.feature +22 -0
  26. data/features/lib/step_definitions/aruba_steps.rb +4 -0
  27. data/features/lib/step_definitions/junit_steps.rb +1 -1
  28. data/features/lib/support/normalise_output.rb +21 -4
  29. data/lib/cucumber/cli/configuration.rb +16 -13
  30. data/lib/cucumber/cli/main.rb +35 -10
  31. data/lib/cucumber/cli/options.rb +33 -9
  32. data/lib/cucumber/cli/rerun_file.rb +29 -0
  33. data/lib/cucumber/filters/prepare_world.rb +2 -3
  34. data/lib/cucumber/formatter/backtrace_filter.rb +40 -0
  35. data/lib/cucumber/formatter/console.rb +2 -3
  36. data/lib/cucumber/formatter/cucumber.css +1 -0
  37. data/lib/cucumber/formatter/duration_extractor.rb +28 -0
  38. data/lib/cucumber/formatter/hook_query_visitor.rb +40 -0
  39. data/lib/cucumber/formatter/html.rb +16 -1
  40. data/lib/cucumber/formatter/json.rb +287 -8
  41. data/lib/cucumber/formatter/junit.rb +92 -143
  42. data/lib/cucumber/formatter/legacy_api/adapter.rb +18 -54
  43. data/lib/cucumber/formatter/legacy_api/ast.rb +13 -0
  44. data/lib/cucumber/formatter/legacy_api/runtime_facade.rb +4 -0
  45. data/lib/cucumber/formatter/pretty.rb +2 -1
  46. data/lib/cucumber/formatter/progress.rb +20 -53
  47. data/lib/cucumber/formatter/rerun.rb +2 -1
  48. data/lib/cucumber/formatter/usage.rb +16 -22
  49. data/lib/cucumber/hooks.rb +18 -9
  50. data/lib/cucumber/multiline_argument/data_table.rb +40 -28
  51. data/lib/cucumber/platform.rb +1 -1
  52. data/lib/cucumber/rb_support/rb_hook.rb +4 -0
  53. data/lib/cucumber/running_test_case.rb +13 -4
  54. data/lib/cucumber/runtime/after_hooks.rb +7 -6
  55. data/lib/cucumber/runtime/before_hooks.rb +8 -4
  56. data/lib/cucumber/runtime/step_hooks.rb +5 -4
  57. data/lib/cucumber/runtime/support_code.rb +6 -15
  58. data/lib/cucumber/step_match.rb +1 -1
  59. data/spec/cucumber/cli/configuration_spec.rb +32 -5
  60. data/spec/cucumber/cli/main_spec.rb +3 -3
  61. data/spec/cucumber/cli/options_spec.rb +60 -1
  62. data/spec/cucumber/cli/rerun_spec.rb +89 -0
  63. data/spec/cucumber/formatter/html_spec.rb +84 -5
  64. data/spec/cucumber/formatter/json_spec.rb +757 -0
  65. data/spec/cucumber/formatter/junit_spec.rb +5 -5
  66. data/spec/cucumber/formatter/legacy_api/adapter_spec.rb +69 -8
  67. data/spec/cucumber/formatter/pretty_spec.rb +96 -0
  68. data/spec/cucumber/formatter/progress_spec.rb +85 -1
  69. data/spec/cucumber/formatter/rerun_spec.rb +3 -3
  70. data/spec/cucumber/multiline_argument/data_table_spec.rb +89 -0
  71. data/spec/cucumber/running_test_case_spec.rb +57 -1
  72. metadata +70 -60
  73. data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +0 -204
  74. data/lib/cucumber/formatter/gpretty.rb +0 -24
@@ -44,7 +44,7 @@ module Cucumber::Formatter
44
44
  end
45
45
  end
46
46
  io = StringIO.new
47
- report = Rerun.new(double, io, double)
47
+ report = Rerun.new(double, io, {})
48
48
 
49
49
  execute [gherkin], report, [WithSteps.new]
50
50
 
@@ -79,7 +79,7 @@ module Cucumber::Formatter
79
79
  end
80
80
 
81
81
  io = StringIO.new
82
- report = Rerun.new(double, io, double)
82
+ report = Rerun.new(double, io, {})
83
83
 
84
84
  execute [foo, bar], report, [WithSteps.new]
85
85
 
@@ -98,7 +98,7 @@ module Cucumber::Formatter
98
98
  end
99
99
 
100
100
  io = StringIO.new
101
- report = Rerun.new(double, io, double)
101
+ report = Rerun.new(double, io, {})
102
102
 
103
103
  execute [gherkin], report, [WithSteps.new]
104
104
  end
@@ -39,6 +39,21 @@ module Cucumber
39
39
  expect( @table.rows.first ).to eq %w{4444 55555 666666}
40
40
  end
41
41
 
42
+ describe '#symbolic_hashes' do
43
+
44
+ it 'should covert data table to an array of hashes with symbols as keys' do
45
+ ast_table = Cucumber::Core::Ast::DataTable.new([['foo', 'Bar', 'Foo Bar'], %w{1 22 333}], nil)
46
+ data_table = DataTable.new(ast_table)
47
+ expect(data_table.symbolic_hashes).to eq([{:foo => '1', :bar => '22', :foo_bar => '333'}])
48
+ end
49
+
50
+ it 'should be able to be accessed multiple times' do
51
+ @table.symbolic_hashes
52
+ expect{@table.symbolic_hashes}.to_not raise_error
53
+ end
54
+
55
+ end
56
+
42
57
  describe '#map_column!' do
43
58
  it "should allow mapping columns" do
44
59
  @table.map_column!('one') { |v| v.to_i }
@@ -316,6 +331,80 @@ module Cucumber
316
331
  }
317
332
  end
318
333
 
334
+ context "in case of duplicate header values" do
335
+ it "raises no error for two identical tables" do
336
+ t = DataTable.from(%{
337
+ |a|a|c|
338
+ |d|e|f|
339
+ |g|h|i|
340
+ })
341
+ t.diff!(t.dup)
342
+ expect( t.to_s(:indent => 12, :color => false) ).to eq %{
343
+ | a | a | c |
344
+ | d | e | f |
345
+ | g | h | i |
346
+ }
347
+ end
348
+
349
+ it "detects a diff in one cell" do
350
+ t1 = DataTable.from(%{
351
+ |a|a|c|
352
+ |d|e|f|
353
+ |g|h|i|
354
+ })
355
+ t2 = DataTable.from(%{
356
+ |a|a|c|
357
+ |d|oops|f|
358
+ |g|h|i|
359
+ })
360
+ expect{ t1.diff!(t2) }.to raise_error
361
+ expect( t1.to_s(:indent => 12, :color => false) ).to eq %{
362
+ | a | a | c |
363
+ | (-) d | (-) e | (-) f |
364
+ | (+) d | (+) oops | (+) f |
365
+ | g | h | i |
366
+ }
367
+ end
368
+
369
+ it "detects missing columns" do
370
+ t1 = DataTable.from(%{
371
+ |a|a|b|c|
372
+ |d|d|e|f|
373
+ |g|g|h|i|
374
+ })
375
+ t2 = DataTable.from(%{
376
+ |a|b|c|
377
+ |d|e|f|
378
+ |g|h|i|
379
+ })
380
+ expect{ t1.diff!(t2) }.to raise_error
381
+ expect( t1.to_s(:indent => 12, :color => false) ).to eq %{
382
+ | a | (-) a | b | c |
383
+ | d | (-) d | e | f |
384
+ | g | (-) g | h | i |
385
+ }
386
+ end
387
+
388
+ it "detects surplus columns" do
389
+ t1 = DataTable.from(%{
390
+ |a|b|c|
391
+ |d|e|f|
392
+ |g|h|i|
393
+ })
394
+ t2 = DataTable.from(%{
395
+ |a|b|a|c|
396
+ |d|e|d|f|
397
+ |g|h|g|i|
398
+ })
399
+ expect{ t1.diff!(t2, :surplus_col => true) }.to raise_error
400
+ expect( t1.to_s(:indent => 12, :color => false) ).to eq %{
401
+ | a | b | c | (+) a |
402
+ | d | e | f | (+) d |
403
+ | g | h | i | (+) g |
404
+ }
405
+ end
406
+ end
407
+
319
408
  it "should inspect missing and surplus cells" do
320
409
  t1 = DataTable.from([
321
410
  ['name', 'male', 'lastname', 'swedish'],
@@ -9,11 +9,13 @@ module Cucumber
9
9
 
10
10
  attr_accessor :wrapped_test_case, :core_test_case
11
11
 
12
+ let(:result) { double(:result, to_sym: :status_symbol) }
13
+
12
14
  before do
13
15
  receiver = double.as_null_object
14
16
  allow(receiver).to receive(:test_case) { |core_test_case|
15
17
  self.core_test_case = core_test_case
16
- self.wrapped_test_case = RunningTestCase.new(core_test_case)
18
+ self.wrapped_test_case = RunningTestCase.new(core_test_case).with_result(result)
17
19
  }
18
20
  compile [gherkin_doc], receiver
19
21
  end
@@ -42,6 +44,60 @@ module Cucumber
42
44
  expect(wrapped_test_case.source).to eq core_test_case.source
43
45
  expect(wrapped_test_case.keyword).to eq core_test_case.keyword
44
46
  end
47
+
48
+ it "exposes properties of the result" do
49
+ expect(wrapped_test_case.status).to eq result.to_sym
50
+ end
51
+ end
52
+
53
+ context "for a failed scenario" do
54
+ let(:gherkin_doc) do
55
+ gherkin do
56
+ feature "feature name" do
57
+ scenario "scenario name" do
58
+ step "failed"
59
+ end
60
+ end
61
+ end
62
+ end
63
+
64
+ let(:exception) { StandardError.new }
65
+
66
+ before do
67
+ self.wrapped_test_case = self.wrapped_test_case.with_result(Core::Test::Result::Failed.new(0, exception))
68
+ end
69
+
70
+ it "is failed?" do
71
+ expect(wrapped_test_case.failed?).to be_truthy
72
+ end
73
+
74
+ it "exposes the exception" do
75
+ expect(wrapped_test_case.exception).to eq exception
76
+ end
77
+ end
78
+
79
+ context "for a passing scenario" do
80
+ let(:gherkin_doc) do
81
+ gherkin do
82
+ feature "feature name" do
83
+ scenario "scenario name" do
84
+ step "passing"
85
+ end
86
+ end
87
+ end
88
+ end
89
+
90
+ before do
91
+ self.wrapped_test_case = self.wrapped_test_case.with_result(Core::Test::Result::Passed.new(0))
92
+ end
93
+
94
+ it "is not failed?" do
95
+ expect(wrapped_test_case.failed?).to be_falsey
96
+ end
97
+
98
+ it "#exception is nil" do
99
+ expect(wrapped_test_case.exception).to be_nil
100
+ end
45
101
  end
46
102
 
47
103
  context "for a scenario outline" do
metadata CHANGED
@@ -1,313 +1,315 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
8
+ - Matt Wynne
9
+ - Steve Tooke
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
13
+ date: 2015-07-08 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: cucumber-core
15
17
  requirement: !ruby/object:Gem::Requirement
16
18
  requirements:
17
- - - ~>
19
+ - - "~>"
18
20
  - !ruby/object:Gem::Version
19
- version: 1.1.3
21
+ version: 1.2.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
- - - ~>
26
+ - - "~>"
25
27
  - !ruby/object:Gem::Version
26
- version: 1.1.3
28
+ version: 1.2.0
27
29
  - !ruby/object:Gem::Dependency
28
30
  name: builder
29
31
  requirement: !ruby/object:Gem::Requirement
30
32
  requirements:
31
- - - '>='
33
+ - - ">="
32
34
  - !ruby/object:Gem::Version
33
35
  version: 2.1.2
34
36
  type: :runtime
35
37
  prerelease: false
36
38
  version_requirements: !ruby/object:Gem::Requirement
37
39
  requirements:
38
- - - '>='
40
+ - - ">="
39
41
  - !ruby/object:Gem::Version
40
42
  version: 2.1.2
41
43
  - !ruby/object:Gem::Dependency
42
44
  name: diff-lcs
43
45
  requirement: !ruby/object:Gem::Requirement
44
46
  requirements:
45
- - - '>='
47
+ - - ">="
46
48
  - !ruby/object:Gem::Version
47
49
  version: 1.1.3
48
50
  type: :runtime
49
51
  prerelease: false
50
52
  version_requirements: !ruby/object:Gem::Requirement
51
53
  requirements:
52
- - - '>='
54
+ - - ">="
53
55
  - !ruby/object:Gem::Version
54
56
  version: 1.1.3
55
57
  - !ruby/object:Gem::Dependency
56
58
  name: gherkin
57
59
  requirement: !ruby/object:Gem::Requirement
58
60
  requirements:
59
- - - ~>
61
+ - - "~>"
60
62
  - !ruby/object:Gem::Version
61
63
  version: '2.12'
62
64
  type: :runtime
63
65
  prerelease: false
64
66
  version_requirements: !ruby/object:Gem::Requirement
65
67
  requirements:
66
- - - ~>
68
+ - - "~>"
67
69
  - !ruby/object:Gem::Version
68
70
  version: '2.12'
69
71
  - !ruby/object:Gem::Dependency
70
72
  name: multi_json
71
73
  requirement: !ruby/object:Gem::Requirement
72
74
  requirements:
73
- - - '>='
75
+ - - ">="
74
76
  - !ruby/object:Gem::Version
75
77
  version: 1.7.5
76
- - - <
78
+ - - "<"
77
79
  - !ruby/object:Gem::Version
78
80
  version: '2.0'
79
81
  type: :runtime
80
82
  prerelease: false
81
83
  version_requirements: !ruby/object:Gem::Requirement
82
84
  requirements:
83
- - - '>='
85
+ - - ">="
84
86
  - !ruby/object:Gem::Version
85
87
  version: 1.7.5
86
- - - <
88
+ - - "<"
87
89
  - !ruby/object:Gem::Version
88
90
  version: '2.0'
89
91
  - !ruby/object:Gem::Dependency
90
92
  name: multi_test
91
93
  requirement: !ruby/object:Gem::Requirement
92
94
  requirements:
93
- - - '>='
95
+ - - ">="
94
96
  - !ruby/object:Gem::Version
95
97
  version: 0.1.2
96
98
  type: :runtime
97
99
  prerelease: false
98
100
  version_requirements: !ruby/object:Gem::Requirement
99
101
  requirements:
100
- - - '>='
102
+ - - ">="
101
103
  - !ruby/object:Gem::Version
102
104
  version: 0.1.2
103
105
  - !ruby/object:Gem::Dependency
104
106
  name: aruba
105
107
  requirement: !ruby/object:Gem::Requirement
106
108
  requirements:
107
- - - ~>
109
+ - - "~>"
108
110
  - !ruby/object:Gem::Version
109
111
  version: 0.6.1
110
112
  type: :development
111
113
  prerelease: false
112
114
  version_requirements: !ruby/object:Gem::Requirement
113
115
  requirements:
114
- - - ~>
116
+ - - "~>"
115
117
  - !ruby/object:Gem::Version
116
118
  version: 0.6.1
117
119
  - !ruby/object:Gem::Dependency
118
120
  name: json
119
121
  requirement: !ruby/object:Gem::Requirement
120
122
  requirements:
121
- - - ~>
123
+ - - "~>"
122
124
  - !ruby/object:Gem::Version
123
125
  version: '1.7'
124
126
  type: :development
125
127
  prerelease: false
126
128
  version_requirements: !ruby/object:Gem::Requirement
127
129
  requirements:
128
- - - ~>
130
+ - - "~>"
129
131
  - !ruby/object:Gem::Version
130
132
  version: '1.7'
131
133
  - !ruby/object:Gem::Dependency
132
134
  name: nokogiri
133
135
  requirement: !ruby/object:Gem::Requirement
134
136
  requirements:
135
- - - ~>
137
+ - - "~>"
136
138
  - !ruby/object:Gem::Version
137
139
  version: '1.5'
138
140
  type: :development
139
141
  prerelease: false
140
142
  version_requirements: !ruby/object:Gem::Requirement
141
143
  requirements:
142
- - - ~>
144
+ - - "~>"
143
145
  - !ruby/object:Gem::Version
144
146
  version: '1.5'
145
147
  - !ruby/object:Gem::Dependency
146
148
  name: rake
147
149
  requirement: !ruby/object:Gem::Requirement
148
150
  requirements:
149
- - - '>='
151
+ - - ">="
150
152
  - !ruby/object:Gem::Version
151
153
  version: 0.9.2
152
154
  type: :development
153
155
  prerelease: false
154
156
  version_requirements: !ruby/object:Gem::Requirement
155
157
  requirements:
156
- - - '>='
158
+ - - ">="
157
159
  - !ruby/object:Gem::Version
158
160
  version: 0.9.2
159
161
  - !ruby/object:Gem::Dependency
160
162
  name: rspec
161
163
  requirement: !ruby/object:Gem::Requirement
162
164
  requirements:
163
- - - '>='
165
+ - - ">="
164
166
  - !ruby/object:Gem::Version
165
167
  version: '3.0'
166
168
  type: :development
167
169
  prerelease: false
168
170
  version_requirements: !ruby/object:Gem::Requirement
169
171
  requirements:
170
- - - '>='
172
+ - - ">="
171
173
  - !ruby/object:Gem::Version
172
174
  version: '3.0'
173
175
  - !ruby/object:Gem::Dependency
174
176
  name: simplecov
175
177
  requirement: !ruby/object:Gem::Requirement
176
178
  requirements:
177
- - - '>='
179
+ - - ">="
178
180
  - !ruby/object:Gem::Version
179
181
  version: 0.6.2
180
182
  type: :development
181
183
  prerelease: false
182
184
  version_requirements: !ruby/object:Gem::Requirement
183
185
  requirements:
184
- - - '>='
186
+ - - ">="
185
187
  - !ruby/object:Gem::Version
186
188
  version: 0.6.2
187
189
  - !ruby/object:Gem::Dependency
188
190
  name: coveralls
189
191
  requirement: !ruby/object:Gem::Requirement
190
192
  requirements:
191
- - - ~>
193
+ - - "~>"
192
194
  - !ruby/object:Gem::Version
193
195
  version: '0.7'
194
196
  type: :development
195
197
  prerelease: false
196
198
  version_requirements: !ruby/object:Gem::Requirement
197
199
  requirements:
198
- - - ~>
200
+ - - "~>"
199
201
  - !ruby/object:Gem::Version
200
202
  version: '0.7'
201
203
  - !ruby/object:Gem::Dependency
202
204
  name: syntax
203
205
  requirement: !ruby/object:Gem::Requirement
204
206
  requirements:
205
- - - '>='
207
+ - - ">="
206
208
  - !ruby/object:Gem::Version
207
209
  version: 1.0.0
208
210
  type: :development
209
211
  prerelease: false
210
212
  version_requirements: !ruby/object:Gem::Requirement
211
213
  requirements:
212
- - - '>='
214
+ - - ">="
213
215
  - !ruby/object:Gem::Version
214
216
  version: 1.0.0
215
217
  - !ruby/object:Gem::Dependency
216
218
  name: pry
217
219
  requirement: !ruby/object:Gem::Requirement
218
220
  requirements:
219
- - - '>='
221
+ - - ">="
220
222
  - !ruby/object:Gem::Version
221
223
  version: '0'
222
224
  type: :development
223
225
  prerelease: false
224
226
  version_requirements: !ruby/object:Gem::Requirement
225
227
  requirements:
226
- - - '>='
228
+ - - ">="
227
229
  - !ruby/object:Gem::Version
228
230
  version: '0'
229
231
  - !ruby/object:Gem::Dependency
230
232
  name: bcat
231
233
  requirement: !ruby/object:Gem::Requirement
232
234
  requirements:
233
- - - ~>
235
+ - - "~>"
234
236
  - !ruby/object:Gem::Version
235
237
  version: 0.6.2
236
238
  type: :development
237
239
  prerelease: false
238
240
  version_requirements: !ruby/object:Gem::Requirement
239
241
  requirements:
240
- - - ~>
242
+ - - "~>"
241
243
  - !ruby/object:Gem::Version
242
244
  version: 0.6.2
243
245
  - !ruby/object:Gem::Dependency
244
246
  name: kramdown
245
247
  requirement: !ruby/object:Gem::Requirement
246
248
  requirements:
247
- - - ~>
249
+ - - "~>"
248
250
  - !ruby/object:Gem::Version
249
251
  version: '0.14'
250
252
  type: :development
251
253
  prerelease: false
252
254
  version_requirements: !ruby/object:Gem::Requirement
253
255
  requirements:
254
- - - ~>
256
+ - - "~>"
255
257
  - !ruby/object:Gem::Version
256
258
  version: '0.14'
257
259
  - !ruby/object:Gem::Dependency
258
260
  name: yard
259
261
  requirement: !ruby/object:Gem::Requirement
260
262
  requirements:
261
- - - ~>
263
+ - - "~>"
262
264
  - !ruby/object:Gem::Version
263
265
  version: 0.8.0
264
266
  type: :development
265
267
  prerelease: false
266
268
  version_requirements: !ruby/object:Gem::Requirement
267
269
  requirements:
268
- - - ~>
270
+ - - "~>"
269
271
  - !ruby/object:Gem::Version
270
272
  version: 0.8.0
271
273
  - !ruby/object:Gem::Dependency
272
274
  name: capybara
273
275
  requirement: !ruby/object:Gem::Requirement
274
276
  requirements:
275
- - - '>='
277
+ - - ">="
276
278
  - !ruby/object:Gem::Version
277
279
  version: '2.1'
278
280
  type: :development
279
281
  prerelease: false
280
282
  version_requirements: !ruby/object:Gem::Requirement
281
283
  requirements:
282
- - - '>='
284
+ - - ">="
283
285
  - !ruby/object:Gem::Version
284
286
  version: '2.1'
285
287
  - !ruby/object:Gem::Dependency
286
288
  name: rack-test
287
289
  requirement: !ruby/object:Gem::Requirement
288
290
  requirements:
289
- - - '>='
291
+ - - ">="
290
292
  - !ruby/object:Gem::Version
291
293
  version: 0.6.1
292
294
  type: :development
293
295
  prerelease: false
294
296
  version_requirements: !ruby/object:Gem::Requirement
295
297
  requirements:
296
- - - '>='
298
+ - - ">="
297
299
  - !ruby/object:Gem::Version
298
300
  version: 0.6.1
299
301
  - !ruby/object:Gem::Dependency
300
302
  name: sinatra
301
303
  requirement: !ruby/object:Gem::Requirement
302
304
  requirements:
303
- - - '>='
305
+ - - ">="
304
306
  - !ruby/object:Gem::Version
305
307
  version: 1.3.2
306
308
  type: :development
307
309
  prerelease: false
308
310
  version_requirements: !ruby/object:Gem::Requirement
309
311
  requirements:
310
- - - '>='
312
+ - - ">="
311
313
  - !ruby/object:Gem::Version
312
314
  version: 1.3.2
313
315
  description: Behaviour Driven Development with elegance and joy
@@ -317,11 +319,11 @@ executables:
317
319
  extensions: []
318
320
  extra_rdoc_files: []
319
321
  files:
320
- - .coveralls.yml
321
- - .rspec
322
- - .ruby-gemset
323
- - .travis.yml
324
- - .yardopts
322
+ - ".coveralls.yml"
323
+ - ".rspec"
324
+ - ".ruby-gemset"
325
+ - ".travis.yml"
326
+ - ".yardopts"
325
327
  - CONTRIBUTING.md
326
328
  - Gemfile
327
329
  - History.md
@@ -565,6 +567,7 @@ files:
565
567
  - features/docs/cli/dry_run.feature
566
568
  - features/docs/cli/exclude_files.feature
567
569
  - features/docs/cli/execute_with_tag_filter.feature
570
+ - features/docs/cli/finding_steps.feature
568
571
  - features/docs/cli/randomize.feature
569
572
  - features/docs/cli/require.feature
570
573
  - features/docs/cli/run_scenarios_matching_name.feature
@@ -667,6 +670,7 @@ files:
667
670
  - lib/cucumber/cli/main.rb
668
671
  - lib/cucumber/cli/options.rb
669
672
  - lib/cucumber/cli/profile_loader.rb
673
+ - lib/cucumber/cli/rerun_file.rb
670
674
  - lib/cucumber/configuration.rb
671
675
  - lib/cucumber/constantize.rb
672
676
  - lib/cucumber/core_ext/instance_exec.rb
@@ -689,14 +693,15 @@ files:
689
693
  - lib/cucumber/filters/tag_limits/test_case_index.rb
690
694
  - lib/cucumber/filters/tag_limits/verifier.rb
691
695
  - lib/cucumber/formatter/ansicolor.rb
696
+ - lib/cucumber/formatter/backtrace_filter.rb
692
697
  - lib/cucumber/formatter/console.rb
693
698
  - lib/cucumber/formatter/cucumber.css
694
699
  - lib/cucumber/formatter/cucumber.sass
695
700
  - lib/cucumber/formatter/debug.rb
696
701
  - lib/cucumber/formatter/duration.rb
702
+ - lib/cucumber/formatter/duration_extractor.rb
697
703
  - lib/cucumber/formatter/fanout.rb
698
- - lib/cucumber/formatter/gherkin_formatter_adapter.rb
699
- - lib/cucumber/formatter/gpretty.rb
704
+ - lib/cucumber/formatter/hook_query_visitor.rb
700
705
  - lib/cucumber/formatter/html.rb
701
706
  - lib/cucumber/formatter/ignore_missing_messages.rb
702
707
  - lib/cucumber/formatter/interceptor.rb
@@ -763,6 +768,7 @@ files:
763
768
  - spec/cucumber/cli/main_spec.rb
764
769
  - spec/cucumber/cli/options_spec.rb
765
770
  - spec/cucumber/cli/profile_loader_spec.rb
771
+ - spec/cucumber/cli/rerun_spec.rb
766
772
  - spec/cucumber/configuration_spec.rb
767
773
  - spec/cucumber/constantize_spec.rb
768
774
  - spec/cucumber/core_ext/instance_exec_spec.rb
@@ -778,6 +784,7 @@ files:
778
784
  - spec/cucumber/formatter/duration_spec.rb
779
785
  - spec/cucumber/formatter/html_spec.rb
780
786
  - spec/cucumber/formatter/interceptor_spec.rb
787
+ - spec/cucumber/formatter/json_spec.rb
781
788
  - spec/cucumber/formatter/junit_spec.rb
782
789
  - spec/cucumber/formatter/legacy_api/adapter_spec.rb
783
790
  - spec/cucumber/formatter/pretty_spec.rb
@@ -813,25 +820,25 @@ licenses:
813
820
  metadata: {}
814
821
  post_install_message:
815
822
  rdoc_options:
816
- - --charset=UTF-8
823
+ - "--charset=UTF-8"
817
824
  require_paths:
818
825
  - lib
819
826
  required_ruby_version: !ruby/object:Gem::Requirement
820
827
  requirements:
821
- - - '>='
828
+ - - ">="
822
829
  - !ruby/object:Gem::Version
823
830
  version: 1.9.3
824
831
  required_rubygems_version: !ruby/object:Gem::Requirement
825
832
  requirements:
826
- - - '>='
833
+ - - ">="
827
834
  - !ruby/object:Gem::Version
828
835
  version: '0'
829
836
  requirements: []
830
837
  rubyforge_project:
831
- rubygems_version: 2.0.14
838
+ rubygems_version: 2.2.2
832
839
  signing_key:
833
840
  specification_version: 4
834
- summary: cucumber-2.0.0
841
+ summary: cucumber-2.0.1
835
842
  test_files:
836
843
  - features/docs/api/list_step_defs_as_json.feature
837
844
  - features/docs/api/run_cli_main_with_existing_runtime.feature
@@ -839,6 +846,7 @@ test_files:
839
846
  - features/docs/cli/dry_run.feature
840
847
  - features/docs/cli/exclude_files.feature
841
848
  - features/docs/cli/execute_with_tag_filter.feature
849
+ - features/docs/cli/finding_steps.feature
842
850
  - features/docs/cli/randomize.feature
843
851
  - features/docs/cli/require.feature
844
852
  - features/docs/cli/run_scenarios_matching_name.feature
@@ -919,6 +927,7 @@ test_files:
919
927
  - spec/cucumber/cli/main_spec.rb
920
928
  - spec/cucumber/cli/options_spec.rb
921
929
  - spec/cucumber/cli/profile_loader_spec.rb
930
+ - spec/cucumber/cli/rerun_spec.rb
922
931
  - spec/cucumber/configuration_spec.rb
923
932
  - spec/cucumber/constantize_spec.rb
924
933
  - spec/cucumber/core_ext/instance_exec_spec.rb
@@ -934,6 +943,7 @@ test_files:
934
943
  - spec/cucumber/formatter/duration_spec.rb
935
944
  - spec/cucumber/formatter/html_spec.rb
936
945
  - spec/cucumber/formatter/interceptor_spec.rb
946
+ - spec/cucumber/formatter/json_spec.rb
937
947
  - spec/cucumber/formatter/junit_spec.rb
938
948
  - spec/cucumber/formatter/legacy_api/adapter_spec.rb
939
949
  - spec/cucumber/formatter/pretty_spec.rb