cucumber 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/History.txt +40 -0
  2. data/Manifest.txt +10 -0
  3. data/cucumber.yml +1 -1
  4. data/examples/i18n/pl/Rakefile +6 -0
  5. data/examples/i18n/pl/features/addition.feature +16 -0
  6. data/examples/i18n/pl/features/division.feature +9 -0
  7. data/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
  8. data/examples/i18n/pl/features/support/env.rb +6 -0
  9. data/examples/i18n/pl/lib/calculator.rb +14 -0
  10. data/examples/self_test/features/sample.feature +2 -0
  11. data/features/cucumber_cli.feature +24 -6
  12. data/features/drb_server_integration.feature +92 -0
  13. data/features/html_formatter/a.html +926 -437
  14. data/features/junit_formatter.feature +11 -2
  15. data/features/step_definitions/cucumber_steps.rb +15 -2
  16. data/features/support/env.rb +35 -1
  17. data/features/usage.feature +2 -2
  18. data/lib/cucumber/ast/background.rb +1 -1
  19. data/lib/cucumber/ast/comment.rb +4 -0
  20. data/lib/cucumber/ast/feature.rb +2 -1
  21. data/lib/cucumber/ast/outline_table.rb +2 -2
  22. data/lib/cucumber/ast/scenario.rb +1 -1
  23. data/lib/cucumber/ast/scenario_outline.rb +11 -4
  24. data/lib/cucumber/ast/step_invocation.rb +17 -12
  25. data/lib/cucumber/ast/visitor.rb +4 -0
  26. data/lib/cucumber/cli/configuration.rb +32 -8
  27. data/lib/cucumber/cli/drb_client.rb +21 -0
  28. data/lib/cucumber/cli/main.rb +9 -0
  29. data/lib/cucumber/formatter/color_io.rb +2 -2
  30. data/lib/cucumber/formatter/console.rb +1 -3
  31. data/lib/cucumber/formatter/html.rb +63 -12
  32. data/lib/cucumber/formatter/junit.rb +2 -2
  33. data/lib/cucumber/formatter/pretty.rb +2 -1
  34. data/lib/cucumber/formatter/rerun.rb +1 -0
  35. data/lib/cucumber/formatter/tag_cloud.rb +1 -0
  36. data/lib/cucumber/rails/rspec.rb +5 -3
  37. data/lib/cucumber/rake/task.rb +1 -1
  38. data/lib/cucumber/step_match.rb +6 -2
  39. data/lib/cucumber/step_mother.rb +11 -8
  40. data/lib/cucumber/version.rb +1 -1
  41. data/rails_generators/cucumber/cucumber_generator.rb +12 -2
  42. data/rails_generators/cucumber/templates/cucumber.rake +1 -1
  43. data/rails_generators/cucumber/templates/cucumber_environment.rb +6 -4
  44. data/rails_generators/cucumber/templates/env.rb +10 -3
  45. data/rails_generators/cucumber/templates/spork_env.rb +36 -0
  46. data/rails_generators/cucumber/templates/webrat_steps.rb +8 -0
  47. data/spec/cucumber/cli/configuration_spec.rb +56 -1
  48. data/spec/cucumber/cli/drb_client_spec.rb +42 -0
  49. data/spec/cucumber/cli/main_spec.rb +64 -19
  50. metadata +12 -2
@@ -84,73 +84,112 @@
84
84
  <div class="cucumber">
85
85
  <div class="feature">
86
86
  <span class="tag">@background_tagged_before_on_outline</span>
87
- <h2>Feature: Background tagged Before on Outline</h2>
87
+ <h2>
88
+ <span class="val">Feature: Background tagged Before on Outline</span>
89
+ </h2>
88
90
  <p>
89
91
  </p>
90
92
  <div class="background">
91
- <h3>Background: </h3>
93
+ <h3>
94
+ <span class="keyword">Background:</span>
95
+ <span class="val"></span>
96
+ </h3>
92
97
  <ol>
93
98
  <li class="step passed" id="features_background_background_tagged_before_on_outline_feature_5">
94
99
  <div>
95
- Given passing without a table </div>
100
+ <span class="keyword">Given</span>
101
+ <span class="step val">
102
+ passing without a table </span>
103
+ </div>
96
104
  </li>
97
105
  </ol>
98
106
  </div>
99
- <div class="scenario">
100
- <h3>Scenario Outline: passing background</h3>
107
+ <div class="scenario outline">
108
+ <h3>
109
+ <span class="keyword">Scenario Outline:</span>
110
+ <span class="val">passing background</span>
111
+ </h3>
101
112
  <ol>
102
113
  <li class="step skipped" id="features_background_background_tagged_before_on_outline_feature_8">
103
114
  <div>
104
- Then I should have '&lt;count&gt;' cukes </div>
115
+ <span class="keyword">Then</span>
116
+ <span class="step val">
117
+ I should have '&lt;count&gt;' cukes </span>
118
+ </div>
105
119
  </li>
106
120
  </ol>
107
- <h4>Examples: </h4>
108
- <table>
109
- <tr id="row_11">
110
- <th class="skipped_param" id="row_11_0">count</th>
111
- </tr>
112
- <tr id="row_12">
113
- <td class="passed" id="row_12_0">888</td>
114
- </tr>
115
- </table>
121
+ <div class="examples">
122
+ <h4>
123
+ <span class="keyword">Examples:</span>
124
+ <span class="val"></span>
125
+ </h4>
126
+ <table>
127
+ <tr id="row_11">
128
+ <th class="val skipped_param" id="row_11_0">count</th>
129
+ </tr>
130
+ <tr id="row_12">
131
+ <td class="val passed" id="row_12_0">888</td>
132
+ </tr>
133
+ </table>
134
+ </div>
116
135
  </div>
117
136
  </div>
118
137
  <div class="feature">
119
- <h2>Feature: background with name</h2>
138
+ <h2>
139
+ <span class="val">Feature: background with name</span>
140
+ </h2>
120
141
  <p>
121
142
  </p>
122
143
  <div class="background">
123
- <h3>Background: I'm a background and I'm ok</h3>
144
+ <h3>
145
+ <span class="keyword">Background:</span>
146
+ <span class="val">I'm a background and I'm ok</span>
147
+ </h3>
124
148
  <ol>
125
149
  <li class="step passed" id="features_background_background_with_name_feature_4">
126
150
  <div>
127
- Given '<span class="passed_param">10</span>' cukes </div>
151
+ <span class="keyword">Given</span>
152
+ <span class="step val">
153
+ '<span class="param">10</span>' cukes </span>
154
+ </div>
128
155
  </li>
129
156
  </ol>
130
157
  </div>
131
158
  <div class="scenario">
132
- <h3>Scenario: example</h3>
159
+ <h3>
160
+ <span class="keyword">Scenario:</span>
161
+ <span class="val">example</span>
162
+ </h3>
133
163
  <ol>
134
- <li class="step passed" id="features_background_background_with_name_feature_4">
135
- </li>
136
164
  <li class="step passed" id="features_background_background_with_name_feature_7">
137
165
  <div>
138
- Then I should have '<span class="passed_param">10</span>' cukes </div>
166
+ <span class="keyword">Then</span>
167
+ <span class="step val">
168
+ I should have '<span class="param">10</span>' cukes </span>
169
+ </div>
139
170
  </li>
140
171
  </ol>
141
172
  </div>
142
173
  </div>
143
174
  <div class="feature">
144
175
  <span class="tag">@after_file</span>
145
- <h2>Feature: Failing background sample</h2>
176
+ <h2>
177
+ <span class="val">Feature: Failing background sample</span>
178
+ </h2>
146
179
  <p>
147
180
  </p>
148
181
  <div class="background">
149
- <h3>Background: </h3>
182
+ <h3>
183
+ <span class="keyword">Background:</span>
184
+ <span class="val"></span>
185
+ </h3>
150
186
  <ol>
151
187
  <li class="step failed" id="features_background_failing_background_feature_5">
152
188
  <div>
153
- Given failing without a table </div>
189
+ <span class="keyword">Given</span>
190
+ <span class="step val">
191
+ failing without a table </span>
192
+ </div>
154
193
  <pre class="failed">FAIL (RuntimeError)
155
194
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
156
195
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
@@ -158,76 +197,93 @@ features/background/failing_background.feature:5:in `Given failing without a tab
158
197
  </li>
159
198
  <li class="step skipped" id="features_background_failing_background_feature_6">
160
199
  <div>
161
- And '<span class="skipped_param">10</span>' cukes </div>
200
+ <span class="keyword">And</span>
201
+ <span class="step val">
202
+ '<span class="param">10</span>' cukes </span>
203
+ </div>
162
204
  </li>
163
205
  </ol>
164
206
  </div>
165
207
  <div class="scenario">
166
- <h3>Scenario: failing background</h3>
208
+ <h3>
209
+ <span class="keyword">Scenario:</span>
210
+ <span class="val">failing background</span>
211
+ </h3>
167
212
  <ol>
168
- <li class="step failed" id="features_background_failing_background_feature_5">
169
- <pre class="failed">FAIL (RuntimeError)
170
- ./features/step_definitions/sample_steps.rb:2:in `flunker'
171
- ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
172
- features/background/failing_background.feature:5:in `Given failing without a table'</pre>
173
- </li>
174
- <li class="step skipped" id="features_background_failing_background_feature_6">
175
- </li>
176
213
  <li class="step skipped" id="features_background_failing_background_feature_9">
177
214
  <div>
178
- Then I should have '<span class="skipped_param">10</span>' cukes </div>
215
+ <span class="keyword">Then</span>
216
+ <span class="step val">
217
+ I should have '<span class="param">10</span>' cukes </span>
218
+ </div>
179
219
  </li>
180
220
  </ol>
181
221
  </div>
182
222
  <div class="scenario">
183
- <h3>Scenario: another failing background</h3>
223
+ <h3>
224
+ <span class="keyword">Scenario:</span>
225
+ <span class="val">another failing background</span>
226
+ </h3>
184
227
  <ol>
185
- <li class="step skipped" id="features_background_failing_background_feature_5">
186
- </li>
187
- <li class="step skipped" id="features_background_failing_background_feature_6">
188
- </li>
189
228
  <li class="step skipped" id="features_background_failing_background_feature_12">
190
229
  <div>
191
- Then I should have '<span class="skipped_param">10</span>' cukes </div>
230
+ <span class="keyword">Then</span>
231
+ <span class="step val">
232
+ I should have '<span class="param">10</span>' cukes </span>
233
+ </div>
192
234
  </li>
193
235
  </ol>
194
236
  </div>
195
237
  </div>
196
238
  <div class="feature">
197
- <h2>Feature: Failing background after previously successful background sample</h2>
239
+ <h2>
240
+ <span class="val">Feature: Failing background after previously successful background sample</span>
241
+ </h2>
198
242
  <p>
199
243
  </p>
200
244
  <div class="background">
201
- <h3>Background: </h3>
245
+ <h3>
246
+ <span class="keyword">Background:</span>
247
+ <span class="val"></span>
248
+ </h3>
202
249
  <ol>
203
250
  <li class="step passed" id="features_background_failing_background_after_success_feature_4">
204
251
  <div>
205
- Given passing without a table </div>
252
+ <span class="keyword">Given</span>
253
+ <span class="step val">
254
+ passing without a table </span>
255
+ </div>
206
256
  </li>
207
257
  <li class="step passed" id="features_background_failing_background_after_success_feature_5">
208
258
  <div>
209
- And '<span class="passed_param">10</span>' global cukes </div>
259
+ <span class="keyword">And</span>
260
+ <span class="step val">
261
+ '<span class="param">10</span>' global cukes </span>
262
+ </div>
210
263
  </li>
211
264
  </ol>
212
265
  </div>
213
266
  <div class="scenario">
214
- <h3>Scenario: passing background</h3>
267
+ <h3>
268
+ <span class="keyword">Scenario:</span>
269
+ <span class="val">passing background</span>
270
+ </h3>
215
271
  <ol>
216
- <li class="step passed" id="features_background_failing_background_after_success_feature_4">
217
- </li>
218
- <li class="step passed" id="features_background_failing_background_after_success_feature_5">
219
- </li>
220
272
  <li class="step passed" id="features_background_failing_background_after_success_feature_8">
221
273
  <div>
222
- Then I should have '<span class="passed_param">10</span>' global cukes </div>
274
+ <span class="keyword">Then</span>
275
+ <span class="step val">
276
+ I should have '<span class="param">10</span>' global cukes </span>
277
+ </div>
223
278
  </li>
224
279
  </ol>
225
280
  </div>
226
281
  <div class="scenario">
227
- <h3>Scenario: failing background</h3>
282
+ <h3>
283
+ <span class="keyword">Scenario:</span>
284
+ <span class="val">failing background</span>
285
+ </h3>
228
286
  <ol>
229
- <li class="step passed" id="features_background_failing_background_after_success_feature_4">
230
- </li>
231
287
  <li class="step failed" id="features_background_failing_background_after_success_feature_5">
232
288
  <pre class="failed">FAIL (RuntimeError)
233
289
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
@@ -236,96 +292,120 @@ features/background/failing_background_after_success.feature:5:in `And '10' glob
236
292
  </li>
237
293
  <li class="step skipped" id="features_background_failing_background_after_success_feature_11">
238
294
  <div>
239
- Then I should have '<span class="skipped_param">10</span>' global cukes </div>
295
+ <span class="keyword">Then</span>
296
+ <span class="step val">
297
+ I should have '<span class="param">10</span>' global cukes </span>
298
+ </div>
240
299
  </li>
241
300
  </ol>
242
301
  </div>
243
302
  </div>
244
303
  <div class="feature">
245
- <h2>Feature: Passing background with multiline args</h2>
304
+ <h2>
305
+ <span class="val">Feature: Passing background with multiline args</span>
306
+ </h2>
246
307
  <p>
247
308
  </p>
248
309
  <div class="background">
249
- <h3>Background: </h3>
310
+ <h3>
311
+ <span class="keyword">Background:</span>
312
+ <span class="val"></span>
313
+ </h3>
250
314
  <ol>
251
315
  <li class="step passed" id="features_background_multiline_args_background_feature_4">
252
316
  <div>
253
- Given table </div>
317
+ <span class="keyword">Given</span>
318
+ <span class="step val">
319
+ table </span>
320
+ </div>
254
321
  <table>
255
322
  <tr id="row_5">
256
- <td id="row_5_0">a</td>
257
- <td id="row_5_1">b</td>
323
+ <td class="val" id="row_5_0">a</td>
324
+ <td class="val" id="row_5_1">b</td>
258
325
  </tr>
259
326
  <tr id="row_6">
260
- <td id="row_6_0">c</td>
261
- <td id="row_6_1">d</td>
327
+ <td class="val" id="row_6_0">c</td>
328
+ <td class="val" id="row_6_1">d</td>
262
329
  </tr>
263
330
  </table>
264
331
  </li>
265
332
  <li class="step passed" id="features_background_multiline_args_background_feature_7">
266
333
  <div>
267
- And multiline string </div>
268
- <pre class="passed">
334
+ <span class="keyword">And</span>
335
+ <span class="step val">
336
+ multiline string </span>
337
+ </div>
338
+ <pre class="val">
269
339
  I'm a cucumber and I'm okay.
270
340
  I sleep all night and I test all day </pre>
271
341
  </li>
272
342
  </ol>
273
343
  </div>
274
344
  <div class="scenario">
275
- <h3>Scenario: passing background</h3>
345
+ <h3>
346
+ <span class="keyword">Scenario:</span>
347
+ <span class="val">passing background</span>
348
+ </h3>
276
349
  <ol>
277
- <li class="step passed" id="features_background_multiline_args_background_feature_4">
278
- </li>
279
- <li class="step passed" id="features_background_multiline_args_background_feature_7">
280
- </li>
281
350
  <li class="step passed" id="features_background_multiline_args_background_feature_14">
282
351
  <div>
283
- Then the table should be </div>
352
+ <span class="keyword">Then</span>
353
+ <span class="step val">
354
+ the table should be </span>
355
+ </div>
284
356
  <table>
285
357
  <tr id="row_15">
286
- <td id="row_15_0">a</td>
287
- <td id="row_15_1">b</td>
358
+ <td class="val" id="row_15_0">a</td>
359
+ <td class="val" id="row_15_1">b</td>
288
360
  </tr>
289
361
  <tr id="row_16">
290
- <td id="row_16_0">c</td>
291
- <td id="row_16_1">d</td>
362
+ <td class="val" id="row_16_0">c</td>
363
+ <td class="val" id="row_16_1">d</td>
292
364
  </tr>
293
365
  </table>
294
366
  </li>
295
367
  <li class="step passed" id="features_background_multiline_args_background_feature_17">
296
368
  <div>
297
- Then the multiline string should be </div>
298
- <pre class="passed">
369
+ <span class="keyword">Then</span>
370
+ <span class="step val">
371
+ the multiline string should be </span>
372
+ </div>
373
+ <pre class="val">
299
374
  I'm a cucumber and I'm okay.
300
375
  I sleep all night and I test all day </pre>
301
376
  </li>
302
377
  </ol>
303
378
  </div>
304
379
  <div class="scenario">
305
- <h3>Scenario: another passing background</h3>
380
+ <h3>
381
+ <span class="keyword">Scenario:</span>
382
+ <span class="val">another passing background</span>
383
+ </h3>
306
384
  <ol>
307
- <li class="step passed" id="features_background_multiline_args_background_feature_4">
308
- </li>
309
- <li class="step passed" id="features_background_multiline_args_background_feature_7">
310
- </li>
311
385
  <li class="step passed" id="features_background_multiline_args_background_feature_24">
312
386
  <div>
313
- Then the table should be </div>
387
+ <span class="keyword">Then</span>
388
+ <span class="step val">
389
+ the table should be </span>
390
+ </div>
314
391
  <table>
315
392
  <tr id="row_25">
316
- <td id="row_25_0">a</td>
317
- <td id="row_25_1">b</td>
393
+ <td class="val" id="row_25_0">a</td>
394
+ <td class="val" id="row_25_1">b</td>
318
395
  </tr>
319
396
  <tr id="row_26">
320
- <td id="row_26_0">c</td>
321
- <td id="row_26_1">d</td>
397
+ <td class="val" id="row_26_0">c</td>
398
+ <td class="val" id="row_26_1">d</td>
322
399
  </tr>
323
400
  </table>
324
401
  </li>
325
402
  <li class="step passed" id="features_background_multiline_args_background_feature_27">
326
403
  <div>
327
- Then the multiline string should be </div>
328
- <pre class="passed">
404
+ <span class="keyword">Then</span>
405
+ <span class="step val">
406
+ the multiline string should be </span>
407
+ </div>
408
+ <pre class="val">
329
409
  I'm a cucumber and I'm okay.
330
410
  I sleep all night and I test all day </pre>
331
411
  </li>
@@ -333,93 +413,127 @@ Then the multiline string should be </div>
333
413
  </div>
334
414
  </div>
335
415
  <div class="feature">
336
- <h2>Feature: Passing background sample</h2>
416
+ <h2>
417
+ <span class="val">Feature: Passing background sample</span>
418
+ </h2>
337
419
  <p>
338
420
  </p>
339
421
  <div class="background">
340
- <h3>Background: </h3>
422
+ <h3>
423
+ <span class="keyword">Background:</span>
424
+ <span class="val"></span>
425
+ </h3>
341
426
  <ol>
342
427
  <li class="step passed" id="features_background_passing_background_feature_4">
343
428
  <div>
344
- Given '<span class="passed_param">10</span>' cukes </div>
429
+ <span class="keyword">Given</span>
430
+ <span class="step val">
431
+ '<span class="param">10</span>' cukes </span>
432
+ </div>
345
433
  </li>
346
434
  </ol>
347
435
  </div>
348
436
  <div class="scenario">
349
- <h3>Scenario: passing background</h3>
437
+ <h3>
438
+ <span class="keyword">Scenario:</span>
439
+ <span class="val">passing background</span>
440
+ </h3>
350
441
  <ol>
351
- <li class="step passed" id="features_background_passing_background_feature_4">
352
- </li>
353
442
  <li class="step passed" id="features_background_passing_background_feature_7">
354
443
  <div>
355
- Then I should have '<span class="passed_param">10</span>' cukes </div>
444
+ <span class="keyword">Then</span>
445
+ <span class="step val">
446
+ I should have '<span class="param">10</span>' cukes </span>
447
+ </div>
356
448
  </li>
357
449
  </ol>
358
450
  </div>
359
451
  <div class="scenario">
360
- <h3>Scenario: another passing background</h3>
452
+ <h3>
453
+ <span class="keyword">Scenario:</span>
454
+ <span class="val">another passing background</span>
455
+ </h3>
361
456
  <ol>
362
- <li class="step passed" id="features_background_passing_background_feature_4">
363
- </li>
364
457
  <li class="step passed" id="features_background_passing_background_feature_10">
365
458
  <div>
366
- Then I should have '<span class="passed_param">10</span>' cukes </div>
459
+ <span class="keyword">Then</span>
460
+ <span class="step val">
461
+ I should have '<span class="param">10</span>' cukes </span>
462
+ </div>
367
463
  </li>
368
464
  </ol>
369
465
  </div>
370
466
  </div>
371
467
  <div class="feature">
372
- <h2>Feature: Pending background sample</h2>
468
+ <h2>
469
+ <span class="val">Feature: Pending background sample</span>
470
+ </h2>
373
471
  <p>
374
472
  </p>
375
473
  <div class="background">
376
- <h3>Background: </h3>
474
+ <h3>
475
+ <span class="keyword">Background:</span>
476
+ <span class="val"></span>
477
+ </h3>
377
478
  <ol>
378
479
  <li class="step undefined" id="features_background_pending_background_feature_4">
379
480
  <div>
380
- Given pending </div>
381
- <pre class="undefined">Undefined step: "pending" (Cucumber::Undefined)
382
- features/background/pending_background.feature:4:in `Given pending'</pre>
481
+ <span class="keyword">Given</span>
482
+ <span class="step val">
483
+ pending </span>
484
+ </div>
383
485
  </li>
384
486
  </ol>
385
487
  </div>
386
488
  <div class="scenario">
387
- <h3>Scenario: pending background</h3>
489
+ <h3>
490
+ <span class="keyword">Scenario:</span>
491
+ <span class="val">pending background</span>
492
+ </h3>
388
493
  <ol>
389
- <li class="step undefined" id="features_background_pending_background_feature_4">
390
- <pre class="undefined">Undefined step: "pending" (Cucumber::Undefined)
391
- features/background/pending_background.feature:4:in `Given pending'</pre>
392
- </li>
393
494
  <li class="step skipped" id="features_background_pending_background_feature_7">
394
495
  <div>
395
- Then I should have '<span class="skipped_param">10</span>' cukes </div>
496
+ <span class="keyword">Then</span>
497
+ <span class="step val">
498
+ I should have '<span class="param">10</span>' cukes </span>
499
+ </div>
396
500
  </li>
397
501
  </ol>
398
502
  </div>
399
503
  <div class="scenario">
400
- <h3>Scenario: another pending background</h3>
504
+ <h3>
505
+ <span class="keyword">Scenario:</span>
506
+ <span class="val">another pending background</span>
507
+ </h3>
401
508
  <ol>
402
- <li class="step undefined" id="features_background_pending_background_feature_4">
403
- <pre class="undefined">Undefined step: "pending" (Cucumber::Undefined)
404
- features/background/pending_background.feature:4:in `Given pending'</pre>
405
- </li>
406
509
  <li class="step skipped" id="features_background_pending_background_feature_10">
407
510
  <div>
408
- Then I should have '<span class="skipped_param">10</span>' cukes </div>
511
+ <span class="keyword">Then</span>
512
+ <span class="step val">
513
+ I should have '<span class="param">10</span>' cukes </span>
514
+ </div>
409
515
  </li>
410
516
  </ol>
411
517
  </div>
412
518
  </div>
413
519
  <div class="feature">
414
- <h2>Feature: Failing background with scenario outlines sample</h2>
520
+ <h2>
521
+ <span class="val">Feature: Failing background with scenario outlines sample</span>
522
+ </h2>
415
523
  <p>
416
524
  </p>
417
525
  <div class="background">
418
- <h3>Background: </h3>
526
+ <h3>
527
+ <span class="keyword">Background:</span>
528
+ <span class="val"></span>
529
+ </h3>
419
530
  <ol>
420
531
  <li class="step failed" id="features_background_scenario_outline_failing_background_feature_4">
421
532
  <div>
422
- Given failing without a table </div>
533
+ <span class="keyword">Given</span>
534
+ <span class="step val">
535
+ failing without a table </span>
536
+ </div>
423
537
  <pre class="failed">FAIL (RuntimeError)
424
538
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
425
539
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
@@ -427,112 +541,172 @@ features/background/scenario_outline_failing_background.feature:4:in `Given fail
427
541
  </li>
428
542
  </ol>
429
543
  </div>
430
- <div class="scenario">
431
- <h3>Scenario Outline: failing background</h3>
544
+ <div class="scenario outline">
545
+ <h3>
546
+ <span class="keyword">Scenario Outline:</span>
547
+ <span class="val">failing background</span>
548
+ </h3>
432
549
  <ol>
433
550
  <li class="step skipped" id="features_background_scenario_outline_failing_background_feature_7">
434
551
  <div>
435
- Then I should have '&lt;count&gt;' cukes </div>
552
+ <span class="keyword">Then</span>
553
+ <span class="step val">
554
+ I should have '&lt;count&gt;' cukes </span>
555
+ </div>
436
556
  </li>
437
557
  </ol>
438
- <h4>Examples: </h4>
439
- <table>
440
- <tr id="row_9">
441
- <th class="skipped_param" id="row_9_0">count</th>
442
- </tr>
443
- <tr id="row_10">
444
- <td class="skipped" id="row_10_0">10</td>
445
- </tr>
446
- <tr>
447
- <td class="failed" colspan="1">
448
- <pre>
558
+ <div class="examples">
559
+ <h4>
560
+ <span class="keyword">Examples:</span>
561
+ <span class="val"></span>
562
+ </h4>
563
+ <table>
564
+ <tr id="row_9">
565
+ <th class="val skipped_param" id="row_9_0">count</th>
566
+ </tr>
567
+ <tr id="row_10">
568
+ <td class="val skipped" id="row_10_0">10</td>
569
+ </tr>
570
+ <tr>
571
+ <td class="failed" colspan="1">
572
+ <pre>
449
573
  FAIL (RuntimeError)
450
574
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
451
575
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
452
- features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table' </pre>
453
- </td>
454
- </tr>
455
- </table>
576
+ features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table' </pre>
577
+ </td>
578
+ </tr>
579
+ </table>
580
+ </div>
456
581
  </div>
457
- <div class="scenario">
458
- <h3>Scenario Outline: another failing background</h3>
582
+ <div class="scenario outline">
583
+ <h3>
584
+ <span class="keyword">Scenario Outline:</span>
585
+ <span class="val">another failing background</span>
586
+ </h3>
459
587
  <ol>
460
588
  <li class="step skipped" id="features_background_scenario_outline_failing_background_feature_13">
461
589
  <div>
462
- Then I should have '&lt;count&gt;' cukes </div>
590
+ <span class="keyword">Then</span>
591
+ <span class="step val">
592
+ I should have '&lt;count&gt;' cukes </span>
593
+ </div>
463
594
  </li>
464
595
  </ol>
465
- <h4>Examples: </h4>
466
- <table>
467
- <tr id="row_15">
468
- <th class="skipped_param" id="row_15_0">count</th>
469
- </tr>
470
- <tr id="row_16">
471
- <td class="skipped" id="row_16_0">10</td>
472
- </tr>
473
- </table>
596
+ <div class="examples">
597
+ <h4>
598
+ <span class="keyword">Examples:</span>
599
+ <span class="val"></span>
600
+ </h4>
601
+ <table>
602
+ <tr id="row_15">
603
+ <th class="val skipped_param" id="row_15_0">count</th>
604
+ </tr>
605
+ <tr id="row_16">
606
+ <td class="val skipped" id="row_16_0">10</td>
607
+ </tr>
608
+ </table>
609
+ </div>
474
610
  </div>
475
611
  </div>
476
612
  <div class="feature">
477
- <h2>Feature: Passing background with scenario outlines sample</h2>
613
+ <h2>
614
+ <span class="val">Feature: Passing background with scenario outlines sample</span>
615
+ </h2>
478
616
  <p>
479
617
  </p>
480
618
  <div class="background">
481
- <h3>Background: </h3>
619
+ <h3>
620
+ <span class="keyword">Background:</span>
621
+ <span class="val"></span>
622
+ </h3>
482
623
  <ol>
483
624
  <li class="step passed" id="features_background_scenario_outline_passing_background_feature_4">
484
625
  <div>
485
- Given '<span class="passed_param">10</span>' cukes </div>
626
+ <span class="keyword">Given</span>
627
+ <span class="step val">
628
+ '<span class="param">10</span>' cukes </span>
629
+ </div>
486
630
  </li>
487
631
  </ol>
488
632
  </div>
489
- <div class="scenario">
490
- <h3>Scenario Outline: passing background</h3>
633
+ <div class="scenario outline">
634
+ <h3>
635
+ <span class="keyword">Scenario Outline:</span>
636
+ <span class="val">passing background</span>
637
+ </h3>
491
638
  <ol>
492
639
  <li class="step skipped" id="features_background_scenario_outline_passing_background_feature_7">
493
640
  <div>
494
- Then I should have '&lt;count&gt;' cukes </div>
641
+ <span class="keyword">Then</span>
642
+ <span class="step val">
643
+ I should have '&lt;count&gt;' cukes </span>
644
+ </div>
495
645
  </li>
496
646
  </ol>
497
- <h4>Examples: </h4>
498
- <table>
499
- <tr id="row_9">
500
- <th class="skipped_param" id="row_9_0">count</th>
501
- </tr>
502
- <tr id="row_10">
503
- <td class="passed" id="row_10_0">10</td>
504
- </tr>
505
- </table>
647
+ <div class="examples">
648
+ <h4>
649
+ <span class="keyword">Examples:</span>
650
+ <span class="val"></span>
651
+ </h4>
652
+ <table>
653
+ <tr id="row_9">
654
+ <th class="val skipped_param" id="row_9_0">count</th>
655
+ </tr>
656
+ <tr id="row_10">
657
+ <td class="val passed" id="row_10_0">10</td>
658
+ </tr>
659
+ </table>
660
+ </div>
506
661
  </div>
507
- <div class="scenario">
508
- <h3>Scenario Outline: another passing background</h3>
662
+ <div class="scenario outline">
663
+ <h3>
664
+ <span class="keyword">Scenario Outline:</span>
665
+ <span class="val">another passing background</span>
666
+ </h3>
509
667
  <ol>
510
668
  <li class="step skipped" id="features_background_scenario_outline_passing_background_feature_13">
511
669
  <div>
512
- Then I should have '&lt;count&gt;' cukes </div>
670
+ <span class="keyword">Then</span>
671
+ <span class="step val">
672
+ I should have '&lt;count&gt;' cukes </span>
673
+ </div>
513
674
  </li>
514
675
  </ol>
515
- <h4>Examples: </h4>
516
- <table>
517
- <tr id="row_15">
518
- <th class="skipped_param" id="row_15_0">count</th>
519
- </tr>
520
- <tr id="row_16">
521
- <td class="passed" id="row_16_0">10</td>
522
- </tr>
523
- </table>
676
+ <div class="examples">
677
+ <h4>
678
+ <span class="keyword">Examples:</span>
679
+ <span class="val"></span>
680
+ </h4>
681
+ <table>
682
+ <tr id="row_15">
683
+ <th class="val skipped_param" id="row_15_0">count</th>
684
+ </tr>
685
+ <tr id="row_16">
686
+ <td class="val passed" id="row_16_0">10</td>
687
+ </tr>
688
+ </table>
689
+ </div>
524
690
  </div>
525
691
  </div>
526
692
  <div class="feature">
527
- <h2>Feature: Calling undefined step</h2>
693
+ <h2>
694
+ <span class="val">Feature: Calling undefined step</span>
695
+ </h2>
528
696
  <p>
529
697
  </p>
530
698
  <div class="scenario">
531
- <h3>Scenario: Call directly</h3>
699
+ <h3>
700
+ <span class="keyword">Scenario:</span>
701
+ <span class="val">Call directly</span>
702
+ </h3>
532
703
  <ol>
533
704
  <li class="step undefined" id="features_call_undefined_step_from_step_def_feature_4">
534
705
  <div>
535
- Given a step definition that calls an undefined step </div>
706
+ <span class="keyword">Given</span>
707
+ <span class="step val">
708
+ a step definition that calls an undefined step </span>
709
+ </div>
536
710
  <pre class="undefined">Undefined step: "this does not exist" (Cucumber::Undefined)
537
711
  ./features/step_definitions/sample_steps.rb:20:in `/^a step definition that calls an undefined step$/'
538
712
  features/call_undefined_step_from_step_def.feature:4:in `Given a step definition that calls an undefined step'</pre>
@@ -540,11 +714,17 @@ features/call_undefined_step_from_step_def.feature:4:in `Given a step definition
540
714
  </ol>
541
715
  </div>
542
716
  <div class="scenario">
543
- <h3>Scenario: Call via another</h3>
717
+ <h3>
718
+ <span class="keyword">Scenario:</span>
719
+ <span class="val">Call via another</span>
720
+ </h3>
544
721
  <ol>
545
722
  <li class="step undefined" id="features_call_undefined_step_from_step_def_feature_7">
546
723
  <div>
547
- Given call step &quot;<span class="undefined_param">a step definition that calls an undefined step</span>&quot; </div>
724
+ <span class="keyword">Given</span>
725
+ <span class="step val">
726
+ call step &quot;<span class="param">a step definition that calls an undefined step</span>&quot; </span>
727
+ </div>
548
728
  <pre class="undefined">Undefined step: "this does not exist" (Cucumber::Undefined)
549
729
  ./features/step_definitions/sample_steps.rb:20:in `/^a step definition that calls an undefined step$/'
550
730
  features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step definition that calls an undefined step"'</pre>
@@ -553,15 +733,23 @@ features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step
553
733
  </div>
554
734
  </div>
555
735
  <div class="feature">
556
- <h2>Feature: Failing expectation</h2>
736
+ <h2>
737
+ <span class="val">Feature: Failing expectation</span>
738
+ </h2>
557
739
  <p>
558
740
  </p>
559
741
  <div class="scenario">
560
- <h3>Scenario: Failing expectation</h3>
742
+ <h3>
743
+ <span class="keyword">Scenario:</span>
744
+ <span class="val">Failing expectation</span>
745
+ </h3>
561
746
  <ol>
562
747
  <li class="step failed" id="features_failing_expectation_feature_4">
563
748
  <div>
564
- Given failing expectation </div>
749
+ <span class="keyword">Given</span>
750
+ <span class="step val">
751
+ failing expectation </span>
752
+ </div>
565
753
  <pre class="failed">expected: "that",
566
754
  got: "this" (using ==)
567
755
  Diff:
@@ -576,216 +764,295 @@ features/failing_expectation.feature:4:in `Given failing expectation'</pre>
576
764
  </div>
577
765
  </div>
578
766
  <div class="feature">
579
- <h2>Feature: Lots of undefined</h2>
767
+ <h2>
768
+ <span class="val">Feature: Lots of undefined</span>
769
+ </h2>
580
770
  <p>
581
771
  </p>
582
772
  <div class="scenario">
583
- <h3>Scenario: Implement me</h3>
773
+ <h3>
774
+ <span class="keyword">Scenario:</span>
775
+ <span class="val">Implement me</span>
776
+ </h3>
584
777
  <ol>
585
778
  <li class="step undefined" id="features_lots_of_undefined_feature_4">
586
779
  <div>
587
- Given it snows in Sahara </div>
588
- <pre class="undefined">Undefined step: "it snows in Sahara" (Cucumber::Undefined)
589
- features/lots_of_undefined.feature:4:in `Given it snows in Sahara'</pre>
780
+ <span class="keyword">Given</span>
781
+ <span class="step val">
782
+ it snows in Sahara </span>
783
+ </div>
590
784
  </li>
591
785
  <li class="step undefined" id="features_lots_of_undefined_feature_5">
592
786
  <div>
593
- Given it's 40 degrees in Norway </div>
594
- <pre class="undefined">Undefined step: "it's 40 degrees in Norway" (Cucumber::Undefined)
595
- features/lots_of_undefined.feature:5:in `Given it's 40 degrees in Norway'</pre>
787
+ <span class="keyword">Given</span>
788
+ <span class="step val">
789
+ it's 40 degrees in Norway </span>
790
+ </div>
596
791
  </li>
597
792
  <li class="step undefined" id="features_lots_of_undefined_feature_6">
598
793
  <div>
599
- And it's 40 degrees in Norway </div>
600
- <pre class="undefined">Undefined step: "it's 40 degrees in Norway" (Cucumber::Undefined)
601
- features/lots_of_undefined.feature:6:in `And it's 40 degrees in Norway'</pre>
794
+ <span class="keyword">And</span>
795
+ <span class="step val">
796
+ it's 40 degrees in Norway </span>
797
+ </div>
602
798
  </li>
603
799
  <li class="step undefined" id="features_lots_of_undefined_feature_7">
604
800
  <div>
605
- When I stop procrastinating </div>
606
- <pre class="undefined">Undefined step: "I stop procrastinating" (Cucumber::Undefined)
607
- features/lots_of_undefined.feature:7:in `When I stop procrastinating'</pre>
801
+ <span class="keyword">When</span>
802
+ <span class="step val">
803
+ I stop procrastinating </span>
804
+ </div>
608
805
  </li>
609
806
  <li class="step undefined" id="features_lots_of_undefined_feature_8">
610
807
  <div>
611
- And there is world peace </div>
612
- <pre class="undefined">Undefined step: "there is world peace" (Cucumber::Undefined)
613
- features/lots_of_undefined.feature:8:in `And there is world peace'</pre>
808
+ <span class="keyword">And</span>
809
+ <span class="step val">
810
+ there is world peace </span>
811
+ </div>
614
812
  </li>
615
813
  </ol>
616
814
  </div>
617
815
  </div>
618
816
  <div class="feature">
619
- <h2>Feature: multiline</h2>
817
+ <h2>
818
+ <span class="val">Feature: multiline</span>
819
+ </h2>
620
820
  <p>
621
821
  </p>
622
822
  <div class="background">
623
- <h3>Background: I'm a multiline name
823
+ <h3>
824
+ <span class="keyword">Background:</span>
825
+ <span class="val">I'm a multiline name
624
826
  which goes on and on and on for three lines
625
- yawn</h3>
827
+ yawn</span>
828
+ </h3>
626
829
  <ol>
627
830
  <li class="step passed" id="features_multiline_name_feature_6">
628
831
  <div>
629
- Given passing without a table </div>
832
+ <span class="keyword">Given</span>
833
+ <span class="step val">
834
+ passing without a table </span>
835
+ </div>
630
836
  </li>
631
837
  </ol>
632
838
  </div>
633
839
  <div class="scenario">
634
- <h3>Scenario: I'm a multiline name
840
+ <h3>
841
+ <span class="keyword">Scenario:</span>
842
+ <span class="val">I'm a multiline name
635
843
  which goes on and on and on for three lines
636
- yawn</h3>
844
+ yawn</span>
845
+ </h3>
637
846
  <ol>
638
- <li class="step passed" id="features_multiline_name_feature_6">
639
- </li>
640
847
  <li class="step passed" id="features_multiline_name_feature_11">
641
848
  <div>
642
- Given passing without a table </div>
849
+ <span class="keyword">Given</span>
850
+ <span class="step val">
851
+ passing without a table </span>
852
+ </div>
643
853
  </li>
644
854
  </ol>
645
855
  </div>
646
- <div class="scenario">
647
- <h3>Scenario Outline: I'm a multiline name
856
+ <div class="scenario outline">
857
+ <h3>
858
+ <span class="keyword">Scenario Outline:</span>
859
+ <span class="val">I'm a multiline name
648
860
  which goes on and on and on for three lines
649
- yawn</h3>
861
+ yawn</span>
862
+ </h3>
650
863
  <ol>
651
864
  <li class="step skipped" id="features_multiline_name_feature_16">
652
865
  <div>
653
- Given &lt;state&gt; without a table </div>
866
+ <span class="keyword">Given</span>
867
+ <span class="step val">
868
+ &lt;state&gt; without a table </span>
869
+ </div>
654
870
  </li>
655
871
  </ol>
656
- <h4>Examples: </h4>
657
- <table>
658
- <tr id="row_18">
659
- <th class="skipped_param" id="row_18_0">state</th>
660
- </tr>
661
- <tr id="row_19">
662
- <td class="passed" id="row_19_0">passing</td>
663
- </tr>
664
- </table>
872
+ <div class="examples">
873
+ <h4>
874
+ <span class="keyword">Examples:</span>
875
+ <span class="val"></span>
876
+ </h4>
877
+ <table>
878
+ <tr id="row_18">
879
+ <th class="val skipped_param" id="row_18_0">state</th>
880
+ </tr>
881
+ <tr id="row_19">
882
+ <td class="val passed" id="row_19_0">passing</td>
883
+ </tr>
884
+ </table>
885
+ </div>
665
886
  </div>
666
- <div class="scenario">
667
- <h3>Scenario Outline: name</h3>
887
+ <div class="scenario outline">
888
+ <h3>
889
+ <span class="keyword">Scenario Outline:</span>
890
+ <span class="val">name</span>
891
+ </h3>
668
892
  <ol>
669
893
  <li class="step skipped" id="features_multiline_name_feature_22">
670
894
  <div>
671
- Given &lt;state&gt; without a table </div>
895
+ <span class="keyword">Given</span>
896
+ <span class="step val">
897
+ &lt;state&gt; without a table </span>
898
+ </div>
672
899
  </li>
673
900
  </ol>
674
- <h4>Examples: I'm a multiline name
901
+ <div class="examples">
902
+ <h4>
903
+ <span class="keyword">Examples:</span>
904
+ <span class="val">I'm a multiline name
675
905
  which goes on and on and on for three lines
676
- yawn</h4>
677
- <table>
678
- <tr id="row_26">
679
- <th class="skipped_param" id="row_26_0">state</th>
680
- </tr>
681
- <tr id="row_27">
682
- <td class="passed" id="row_27_0">passing</td>
683
- </tr>
684
- </table>
906
+ yawn</span>
907
+ </h4>
908
+ <table>
909
+ <tr id="row_26">
910
+ <th class="val skipped_param" id="row_26_0">state</th>
911
+ </tr>
912
+ <tr id="row_27">
913
+ <td class="val passed" id="row_27_0">passing</td>
914
+ </tr>
915
+ </table>
916
+ </div>
685
917
  </div>
686
918
  </div>
687
919
  <div class="feature">
688
- <h2>Feature: Outline Sample</h2>
920
+ <h2>
921
+ <span class="val">Feature: Outline Sample</span>
922
+ </h2>
689
923
  <p>
690
924
  </p>
691
925
  <div class="scenario">
692
- <h3>Scenario: I have no steps</h3>
926
+ <h3>
927
+ <span class="keyword">Scenario:</span>
928
+ <span class="val">I have no steps</span>
929
+ </h3>
693
930
  <ol>
694
931
  </ol>
695
932
  </div>
696
- <div class="scenario">
697
- <h3>Scenario Outline: Test state</h3>
933
+ <div class="scenario outline">
934
+ <h3>
935
+ <span class="keyword">Scenario Outline:</span>
936
+ <span class="val">Test state</span>
937
+ </h3>
698
938
  <ol>
699
939
  <li class="step skipped" id="features_outline_sample_feature_6">
700
940
  <div>
701
- Given &lt;state&gt; without a table </div>
941
+ <span class="keyword">Given</span>
942
+ <span class="step val">
943
+ &lt;state&gt; without a table </span>
944
+ </div>
702
945
  </li>
703
946
  <li class="step skipped" id="features_outline_sample_feature_7">
704
947
  <div>
705
- Given &lt;other_state&gt; without a table </div>
948
+ <span class="keyword">Given</span>
949
+ <span class="step val">
950
+ &lt;other_state&gt; without a table </span>
951
+ </div>
706
952
  </li>
707
953
  </ol>
708
- <h4>Examples: Rainbow colours</h4>
709
- <table>
710
- <tr id="row_9">
711
- <th class="skipped_param" id="row_9_0">state</th>
712
- <th class="skipped_param" id="row_9_1">other_state</th>
713
- </tr>
714
- <tr id="row_10">
715
- <td class="undefined" id="row_10_0">missing</td>
716
- <td class="skipped" id="row_10_1">passing</td>
717
- </tr>
718
- <tr>
719
- <td class="failed" colspan="2">
720
- <pre>
721
- Undefined step: "missing without a table" (Cucumber::Undefined)
722
- features/outline_sample.feature:6:in `Given <state> without a table' </pre>
723
- </td>
724
- </tr>
725
- <tr id="row_11">
726
- <td class="passed" id="row_11_0">passing</td>
727
- <td class="passed" id="row_11_1">passing</td>
728
- </tr>
729
- <tr id="row_12">
730
- <td class="failed" id="row_12_0">failing</td>
731
- <td class="skipped" id="row_12_1">passing</td>
732
- </tr>
733
- <tr>
734
- <td class="failed" colspan="2">
735
- <pre>
954
+ <div class="examples">
955
+ <h4>
956
+ <span class="keyword">Examples:</span>
957
+ <span class="val">Rainbow colours</span>
958
+ </h4>
959
+ <table>
960
+ <tr id="row_9">
961
+ <th class="val skipped_param" id="row_9_0">state</th>
962
+ <th class="val skipped_param" id="row_9_1">other_state</th>
963
+ </tr>
964
+ <tr id="row_10">
965
+ <td class="val undefined" id="row_10_0">missing</td>
966
+ <td class="val skipped" id="row_10_1">passing</td>
967
+ </tr>
968
+ <tr id="row_11">
969
+ <td class="val passed" id="row_11_0">passing</td>
970
+ <td class="val passed" id="row_11_1">passing</td>
971
+ </tr>
972
+ <tr id="row_12">
973
+ <td class="val failed" id="row_12_0">failing</td>
974
+ <td class="val skipped" id="row_12_1">passing</td>
975
+ </tr>
976
+ <tr>
977
+ <td class="failed" colspan="2">
978
+ <pre>
736
979
  FAIL (RuntimeError)
737
980
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
738
981
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
739
- features/outline_sample.feature:6:in `Given <state> without a table' </pre>
740
- </td>
741
- </tr>
742
- </table>
743
- <h4>Examples: Only passing</h4>
744
- <table>
745
- <tr id="row_14">
746
- <th class="skipped_param" id="row_14_0">state</th>
747
- <th class="skipped_param" id="row_14_1">other_state</th>
748
- </tr>
749
- <tr id="row_15">
750
- <td class="passed" id="row_15_0">passing</td>
751
- <td class="passed" id="row_15_1">passing</td>
752
- </tr>
753
- </table>
982
+ features/outline_sample.feature:6:in `Given <state> without a table' </pre>
983
+ </td>
984
+ </tr>
985
+ </table>
986
+ </div>
987
+ <div class="examples">
988
+ <h4>
989
+ <span class="keyword">Examples:</span>
990
+ <span class="val">Only passing</span>
991
+ </h4>
992
+ <table>
993
+ <tr id="row_14">
994
+ <th class="val skipped_param" id="row_14_0">state</th>
995
+ <th class="val skipped_param" id="row_14_1">other_state</th>
996
+ </tr>
997
+ <tr id="row_15">
998
+ <td class="val passed" id="row_15_0">passing</td>
999
+ <td class="val passed" id="row_15_1">passing</td>
1000
+ </tr>
1001
+ </table>
1002
+ </div>
754
1003
  </div>
755
1004
  </div>
756
1005
  <div class="feature">
1006
+ <pre class="comment">
1007
+ # Feature comment
1008
+ </pre>
757
1009
  <span class="tag">@one</span>
758
- <h2>Feature: Sample</h2>
1010
+ <h2>
1011
+ <span class="val">Feature: Sample</span>
1012
+ </h2>
759
1013
  <p>
760
1014
  </p>
761
1015
  <div class="scenario">
762
1016
  <span class="tag">@two</span>
763
1017
  <span class="tag">@three</span>
764
- <h3>Scenario: Missing</h3>
1018
+ <h3>
1019
+ <span class="keyword">Scenario:</span>
1020
+ <span class="val">Missing</span>
1021
+ </h3>
765
1022
  <ol>
766
- <li class="step undefined" id="features_sample_feature_6">
1023
+ <li class="step undefined" id="features_sample_feature_7">
767
1024
  <div>
768
- Given missing </div>
769
- <pre class="undefined">Undefined step: "missing" (Cucumber::Undefined)
770
- features/sample.feature:6:in `Given missing'</pre>
1025
+ <span class="keyword">Given</span>
1026
+ <span class="step val">
1027
+ missing </span>
1028
+ </div>
771
1029
  </li>
772
1030
  </ol>
773
1031
  </div>
774
1032
  <div class="scenario">
1033
+ <pre class="comment">
1034
+ # Scenario comment
1035
+ </pre>
775
1036
  <span class="tag">@three</span>
776
- <h3>Scenario: Passing</h3>
1037
+ <h3>
1038
+ <span class="keyword">Scenario:</span>
1039
+ <span class="val">Passing</span>
1040
+ </h3>
777
1041
  <ol>
778
- <li class="step passed" id="features_sample_feature_10">
1042
+ <li class="step passed" id="features_sample_feature_12">
779
1043
  <div>
780
- Given passing </div>
1044
+ <span class="keyword">Given</span>
1045
+ <span class="step val">
1046
+ passing </span>
1047
+ </div>
781
1048
  <table>
782
- <tr id="row_11">
783
- <td id="row_11_0">a</td>
784
- <td id="row_11_1">b</td>
1049
+ <tr id="row_13">
1050
+ <td class="val" id="row_13_0">a</td>
1051
+ <td class="val" id="row_13_1">b</td>
785
1052
  </tr>
786
- <tr id="row_12">
787
- <td id="row_12_0">c</td>
788
- <td id="row_12_1">d</td>
1053
+ <tr id="row_14">
1054
+ <td class="val" id="row_14_0">c</td>
1055
+ <td class="val" id="row_14_1">d</td>
789
1056
  </tr>
790
1057
  </table>
791
1058
  </li>
@@ -793,53 +1060,75 @@ Given passing </div>
793
1060
  </div>
794
1061
  <div class="scenario">
795
1062
  <span class="tag">@four</span>
796
- <h3>Scenario: Failing</h3>
1063
+ <h3>
1064
+ <span class="keyword">Scenario:</span>
1065
+ <span class="val">Failing</span>
1066
+ </h3>
797
1067
  <ol>
798
- <li class="step failed" id="features_sample_feature_16">
1068
+ <li class="step failed" id="features_sample_feature_18">
799
1069
  <div>
800
- Given failing </div>
801
- <pre class="failed">
1070
+ <span class="keyword">Given</span>
1071
+ <span class="step val">
1072
+ failing </span>
1073
+ </div>
1074
+ <pre class="val">
802
1075
  hello </pre>
803
1076
  <pre class="failed">FAIL (RuntimeError)
804
1077
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
805
1078
  ./features/step_definitions/sample_steps.rb:9:in `/^failing$/'
806
- features/sample.feature:16:in `Given failing'</pre>
1079
+ features/sample.feature:18:in `Given failing'</pre>
807
1080
  </li>
808
1081
  </ol>
809
1082
  </div>
810
1083
  </div>
811
1084
  <div class="feature">
812
- <h2>Feature: search examples</h2>
1085
+ <h2>
1086
+ <span class="val">Feature: search examples</span>
1087
+ </h2>
813
1088
  <p>
814
1089
  </p>
815
1090
  <div class="background">
816
- <h3>Background: Hantu Pisang background match</h3>
1091
+ <h3>
1092
+ <span class="keyword">Background:</span>
1093
+ <span class="val">Hantu Pisang background match</span>
1094
+ </h3>
817
1095
  <ol>
818
1096
  <li class="step passed" id="features_search_sample_feature_4">
819
1097
  <div>
820
- Given passing without a table </div>
1098
+ <span class="keyword">Given</span>
1099
+ <span class="step val">
1100
+ passing without a table </span>
1101
+ </div>
821
1102
  </li>
822
1103
  </ol>
823
1104
  </div>
824
1105
  <div class="scenario">
825
- <h3>Scenario: should match Hantu Pisang</h3>
1106
+ <h3>
1107
+ <span class="keyword">Scenario:</span>
1108
+ <span class="val">should match Hantu Pisang</span>
1109
+ </h3>
826
1110
  <ol>
827
- <li class="step passed" id="features_search_sample_feature_4">
828
- </li>
829
1111
  <li class="step passed" id="features_search_sample_feature_7">
830
1112
  <div>
831
- Given passing without a table </div>
1113
+ <span class="keyword">Given</span>
1114
+ <span class="step val">
1115
+ passing without a table </span>
1116
+ </div>
832
1117
  </li>
833
1118
  </ol>
834
1119
  </div>
835
1120
  <div class="scenario">
836
- <h3>Scenario: Ignore me</h3>
1121
+ <h3>
1122
+ <span class="keyword">Scenario:</span>
1123
+ <span class="val">Ignore me</span>
1124
+ </h3>
837
1125
  <ol>
838
- <li class="step passed" id="features_search_sample_feature_4">
839
- </li>
840
1126
  <li class="step failed" id="features_search_sample_feature_10">
841
1127
  <div>
842
- Given failing without a table </div>
1128
+ <span class="keyword">Given</span>
1129
+ <span class="step val">
1130
+ failing without a table </span>
1131
+ </div>
843
1132
  <pre class="failed">FAIL (RuntimeError)
844
1133
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
845
1134
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
@@ -847,331 +1136,531 @@ features/search_sample.feature:10:in `Given failing without a table'</pre>
847
1136
  </li>
848
1137
  </ol>
849
1138
  </div>
850
- <div class="scenario">
851
- <h3>Scenario Outline: Ignore me</h3>
1139
+ <div class="scenario outline">
1140
+ <h3>
1141
+ <span class="keyword">Scenario Outline:</span>
1142
+ <span class="val">Ignore me</span>
1143
+ </h3>
852
1144
  <ol>
853
1145
  <li class="step skipped" id="features_search_sample_feature_13">
854
1146
  <div>
855
- Given &lt;state&gt; without a table </div>
1147
+ <span class="keyword">Given</span>
1148
+ <span class="step val">
1149
+ &lt;state&gt; without a table </span>
1150
+ </div>
856
1151
  </li>
857
1152
  </ol>
858
- <h4>Examples: </h4>
859
- <table>
860
- <tr id="row_15">
861
- <th class="skipped_param" id="row_15_0">state</th>
862
- </tr>
863
- <tr id="row_16">
864
- <td class="failed" id="row_16_0">failing</td>
865
- </tr>
866
- <tr>
867
- <td class="failed" colspan="1">
868
- <pre>
1153
+ <div class="examples">
1154
+ <h4>
1155
+ <span class="keyword">Examples:</span>
1156
+ <span class="val"></span>
1157
+ </h4>
1158
+ <table>
1159
+ <tr id="row_15">
1160
+ <th class="val skipped_param" id="row_15_0">state</th>
1161
+ </tr>
1162
+ <tr id="row_16">
1163
+ <td class="val failed" id="row_16_0">failing</td>
1164
+ </tr>
1165
+ <tr>
1166
+ <td class="failed" colspan="1">
1167
+ <pre>
869
1168
  FAIL (RuntimeError)
870
1169
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
871
1170
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
872
- features/search_sample.feature:13:in `Given <state> without a table' </pre>
873
- </td>
874
- </tr>
875
- </table>
1171
+ features/search_sample.feature:13:in `Given <state> without a table' </pre>
1172
+ </td>
1173
+ </tr>
1174
+ </table>
1175
+ </div>
876
1176
  </div>
877
- <div class="scenario">
878
- <h3>Scenario Outline: Hantu Pisang match</h3>
1177
+ <div class="scenario outline">
1178
+ <h3>
1179
+ <span class="keyword">Scenario Outline:</span>
1180
+ <span class="val">Hantu Pisang match</span>
1181
+ </h3>
879
1182
  <ol>
880
1183
  <li class="step skipped" id="features_search_sample_feature_19">
881
1184
  <div>
882
- Given &lt;state&gt; without a table </div>
1185
+ <span class="keyword">Given</span>
1186
+ <span class="step val">
1187
+ &lt;state&gt; without a table </span>
1188
+ </div>
883
1189
  </li>
884
1190
  </ol>
885
- <h4>Examples: </h4>
886
- <table>
887
- <tr id="row_21">
888
- <th class="skipped_param" id="row_21_0">state</th>
889
- </tr>
890
- <tr id="row_22">
891
- <td class="passed" id="row_22_0">passing</td>
892
- </tr>
893
- </table>
1191
+ <div class="examples">
1192
+ <h4>
1193
+ <span class="keyword">Examples:</span>
1194
+ <span class="val"></span>
1195
+ </h4>
1196
+ <table>
1197
+ <tr id="row_21">
1198
+ <th class="val skipped_param" id="row_21_0">state</th>
1199
+ </tr>
1200
+ <tr id="row_22">
1201
+ <td class="val passed" id="row_22_0">passing</td>
1202
+ </tr>
1203
+ </table>
1204
+ </div>
894
1205
  </div>
895
- <div class="scenario">
896
- <h3>Scenario Outline: no match in name but in examples</h3>
1206
+ <div class="scenario outline">
1207
+ <h3>
1208
+ <span class="keyword">Scenario Outline:</span>
1209
+ <span class="val">no match in name but in examples</span>
1210
+ </h3>
897
1211
  <ol>
898
1212
  <li class="step skipped" id="features_search_sample_feature_25">
899
1213
  <div>
900
- Given &lt;state&gt; without a table </div>
1214
+ <span class="keyword">Given</span>
1215
+ <span class="step val">
1216
+ &lt;state&gt; without a table </span>
1217
+ </div>
901
1218
  </li>
902
1219
  </ol>
903
- <h4>Examples: Hantu Pisang</h4>
904
- <table>
905
- <tr id="row_27">
906
- <th class="skipped_param" id="row_27_0">state</th>
907
- </tr>
908
- <tr id="row_28">
909
- <td class="passed" id="row_28_0">passing</td>
910
- </tr>
911
- </table>
912
- <h4>Examples: Ignore me</h4>
913
- <table>
914
- <tr id="row_31">
915
- <th class="skipped_param" id="row_31_0">state</th>
916
- </tr>
917
- <tr id="row_32">
918
- <td class="failed" id="row_32_0">failing</td>
919
- </tr>
920
- <tr>
921
- <td class="failed" colspan="1">
922
- <pre>
1220
+ <div class="examples">
1221
+ <h4>
1222
+ <span class="keyword">Examples:</span>
1223
+ <span class="val">Hantu Pisang</span>
1224
+ </h4>
1225
+ <table>
1226
+ <tr id="row_27">
1227
+ <th class="val skipped_param" id="row_27_0">state</th>
1228
+ </tr>
1229
+ <tr id="row_28">
1230
+ <td class="val passed" id="row_28_0">passing</td>
1231
+ </tr>
1232
+ </table>
1233
+ </div>
1234
+ <div class="examples">
1235
+ <h4>
1236
+ <span class="keyword">Examples:</span>
1237
+ <span class="val">Ignore me</span>
1238
+ </h4>
1239
+ <table>
1240
+ <tr id="row_31">
1241
+ <th class="val skipped_param" id="row_31_0">state</th>
1242
+ </tr>
1243
+ <tr id="row_32">
1244
+ <td class="val failed" id="row_32_0">failing</td>
1245
+ </tr>
1246
+ <tr>
1247
+ <td class="failed" colspan="1">
1248
+ <pre>
923
1249
  FAIL (RuntimeError)
924
1250
  ./features/step_definitions/sample_steps.rb:2:in `flunker'
925
1251
  ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
926
- features/search_sample.feature:25:in `Given <state> without a table' </pre>
927
- </td>
928
- </tr>
929
- </table>
1252
+ features/search_sample.feature:25:in `Given <state> without a table' </pre>
1253
+ </td>
1254
+ </tr>
1255
+ </table>
1256
+ </div>
930
1257
  </div>
931
1258
  </div>
932
1259
  <div class="feature">
933
1260
  <span class="tag">@lots</span>
934
- <h2>Feature: Tons of cukes</h2>
1261
+ <h2>
1262
+ <span class="val">Feature: Tons of cukes</span>
1263
+ </h2>
935
1264
  <p>
936
1265
  </p>
937
1266
  <div class="scenario">
938
- <h3>Scenario: Lots and lots</h3>
1267
+ <h3>
1268
+ <span class="keyword">Scenario:</span>
1269
+ <span class="val">Lots and lots</span>
1270
+ </h3>
939
1271
  <ol>
940
1272
  <li class="step passed" id="features_tons_of_cukes_feature_4">
941
1273
  <div>
942
- Given '<span class="passed_param">2</span>' cukes </div>
1274
+ <span class="keyword">Given</span>
1275
+ <span class="step val">
1276
+ '<span class="param">2</span>' cukes </span>
1277
+ </div>
943
1278
  </li>
944
1279
  <li class="step failed" id="features_tons_of_cukes_feature_5">
945
1280
  <div>
946
- Given '<span class="failed_param">2</span>' cukes </div>
1281
+ <span class="keyword">Given</span>
1282
+ <span class="step val">
1283
+ '<span class="param">2</span>' cukes </span>
1284
+ </div>
947
1285
  <pre class="failed">We already have 2 cukes! (RuntimeError)
948
1286
  ./features/step_definitions/sample_steps.rb:28:in `/^'(.+)' cukes$/'
949
1287
  features/tons_of_cukes.feature:5:in `Given '2' cukes'</pre>
950
1288
  </li>
951
1289
  <li class="step skipped" id="features_tons_of_cukes_feature_6">
952
1290
  <div>
953
- Given '<span class="skipped_param">2</span>' cukes </div>
1291
+ <span class="keyword">Given</span>
1292
+ <span class="step val">
1293
+ '<span class="param">2</span>' cukes </span>
1294
+ </div>
954
1295
  </li>
955
1296
  <li class="step skipped" id="features_tons_of_cukes_feature_7">
956
1297
  <div>
957
- Given '<span class="skipped_param">2</span>' cukes </div>
1298
+ <span class="keyword">Given</span>
1299
+ <span class="step val">
1300
+ '<span class="param">2</span>' cukes </span>
1301
+ </div>
958
1302
  </li>
959
1303
  <li class="step skipped" id="features_tons_of_cukes_feature_8">
960
1304
  <div>
961
- Given '<span class="skipped_param">2</span>' cukes </div>
1305
+ <span class="keyword">Given</span>
1306
+ <span class="step val">
1307
+ '<span class="param">2</span>' cukes </span>
1308
+ </div>
962
1309
  </li>
963
1310
  <li class="step skipped" id="features_tons_of_cukes_feature_9">
964
1311
  <div>
965
- Given '<span class="skipped_param">2</span>' cukes </div>
1312
+ <span class="keyword">Given</span>
1313
+ <span class="step val">
1314
+ '<span class="param">2</span>' cukes </span>
1315
+ </div>
966
1316
  </li>
967
1317
  <li class="step skipped" id="features_tons_of_cukes_feature_10">
968
1318
  <div>
969
- Given '<span class="skipped_param">2</span>' cukes </div>
1319
+ <span class="keyword">Given</span>
1320
+ <span class="step val">
1321
+ '<span class="param">2</span>' cukes </span>
1322
+ </div>
970
1323
  </li>
971
1324
  <li class="step skipped" id="features_tons_of_cukes_feature_11">
972
1325
  <div>
973
- Given '<span class="skipped_param">2</span>' cukes </div>
1326
+ <span class="keyword">Given</span>
1327
+ <span class="step val">
1328
+ '<span class="param">2</span>' cukes </span>
1329
+ </div>
974
1330
  </li>
975
1331
  <li class="step skipped" id="features_tons_of_cukes_feature_12">
976
1332
  <div>
977
- Given '<span class="skipped_param">2</span>' cukes </div>
1333
+ <span class="keyword">Given</span>
1334
+ <span class="step val">
1335
+ '<span class="param">2</span>' cukes </span>
1336
+ </div>
978
1337
  </li>
979
1338
  <li class="step skipped" id="features_tons_of_cukes_feature_13">
980
1339
  <div>
981
- Given '<span class="skipped_param">2</span>' cukes </div>
1340
+ <span class="keyword">Given</span>
1341
+ <span class="step val">
1342
+ '<span class="param">2</span>' cukes </span>
1343
+ </div>
982
1344
  </li>
983
1345
  <li class="step skipped" id="features_tons_of_cukes_feature_14">
984
1346
  <div>
985
- Given '<span class="skipped_param">2</span>' cukes </div>
1347
+ <span class="keyword">Given</span>
1348
+ <span class="step val">
1349
+ '<span class="param">2</span>' cukes </span>
1350
+ </div>
986
1351
  </li>
987
1352
  <li class="step skipped" id="features_tons_of_cukes_feature_15">
988
1353
  <div>
989
- Given '<span class="skipped_param">2</span>' cukes </div>
1354
+ <span class="keyword">Given</span>
1355
+ <span class="step val">
1356
+ '<span class="param">2</span>' cukes </span>
1357
+ </div>
990
1358
  </li>
991
1359
  <li class="step skipped" id="features_tons_of_cukes_feature_16">
992
1360
  <div>
993
- Given '<span class="skipped_param">2</span>' cukes </div>
1361
+ <span class="keyword">Given</span>
1362
+ <span class="step val">
1363
+ '<span class="param">2</span>' cukes </span>
1364
+ </div>
994
1365
  </li>
995
1366
  <li class="step skipped" id="features_tons_of_cukes_feature_17">
996
1367
  <div>
997
- Given '<span class="skipped_param">2</span>' cukes </div>
1368
+ <span class="keyword">Given</span>
1369
+ <span class="step val">
1370
+ '<span class="param">2</span>' cukes </span>
1371
+ </div>
998
1372
  </li>
999
1373
  <li class="step skipped" id="features_tons_of_cukes_feature_18">
1000
1374
  <div>
1001
- Given '<span class="skipped_param">2</span>' cukes </div>
1375
+ <span class="keyword">Given</span>
1376
+ <span class="step val">
1377
+ '<span class="param">2</span>' cukes </span>
1378
+ </div>
1002
1379
  </li>
1003
1380
  <li class="step skipped" id="features_tons_of_cukes_feature_19">
1004
1381
  <div>
1005
- Given '<span class="skipped_param">2</span>' cukes </div>
1382
+ <span class="keyword">Given</span>
1383
+ <span class="step val">
1384
+ '<span class="param">2</span>' cukes </span>
1385
+ </div>
1006
1386
  </li>
1007
1387
  <li class="step skipped" id="features_tons_of_cukes_feature_20">
1008
1388
  <div>
1009
- Given '<span class="skipped_param">2</span>' cukes </div>
1389
+ <span class="keyword">Given</span>
1390
+ <span class="step val">
1391
+ '<span class="param">2</span>' cukes </span>
1392
+ </div>
1010
1393
  </li>
1011
1394
  <li class="step skipped" id="features_tons_of_cukes_feature_21">
1012
1395
  <div>
1013
- Given '<span class="skipped_param">2</span>' cukes </div>
1396
+ <span class="keyword">Given</span>
1397
+ <span class="step val">
1398
+ '<span class="param">2</span>' cukes </span>
1399
+ </div>
1014
1400
  </li>
1015
1401
  <li class="step skipped" id="features_tons_of_cukes_feature_22">
1016
1402
  <div>
1017
- Given '<span class="skipped_param">2</span>' cukes </div>
1403
+ <span class="keyword">Given</span>
1404
+ <span class="step val">
1405
+ '<span class="param">2</span>' cukes </span>
1406
+ </div>
1018
1407
  </li>
1019
1408
  <li class="step skipped" id="features_tons_of_cukes_feature_23">
1020
1409
  <div>
1021
- Given '<span class="skipped_param">2</span>' cukes </div>
1410
+ <span class="keyword">Given</span>
1411
+ <span class="step val">
1412
+ '<span class="param">2</span>' cukes </span>
1413
+ </div>
1022
1414
  </li>
1023
1415
  <li class="step skipped" id="features_tons_of_cukes_feature_24">
1024
1416
  <div>
1025
- Given '<span class="skipped_param">2</span>' cukes </div>
1417
+ <span class="keyword">Given</span>
1418
+ <span class="step val">
1419
+ '<span class="param">2</span>' cukes </span>
1420
+ </div>
1026
1421
  </li>
1027
1422
  <li class="step skipped" id="features_tons_of_cukes_feature_25">
1028
1423
  <div>
1029
- Given '<span class="skipped_param">2</span>' cukes </div>
1424
+ <span class="keyword">Given</span>
1425
+ <span class="step val">
1426
+ '<span class="param">2</span>' cukes </span>
1427
+ </div>
1030
1428
  </li>
1031
1429
  <li class="step skipped" id="features_tons_of_cukes_feature_26">
1032
1430
  <div>
1033
- Given '<span class="skipped_param">2</span>' cukes </div>
1431
+ <span class="keyword">Given</span>
1432
+ <span class="step val">
1433
+ '<span class="param">2</span>' cukes </span>
1434
+ </div>
1034
1435
  </li>
1035
1436
  <li class="step skipped" id="features_tons_of_cukes_feature_27">
1036
1437
  <div>
1037
- Given '<span class="skipped_param">2</span>' cukes </div>
1438
+ <span class="keyword">Given</span>
1439
+ <span class="step val">
1440
+ '<span class="param">2</span>' cukes </span>
1441
+ </div>
1038
1442
  </li>
1039
1443
  <li class="step skipped" id="features_tons_of_cukes_feature_28">
1040
1444
  <div>
1041
- Given '<span class="skipped_param">2</span>' cukes </div>
1445
+ <span class="keyword">Given</span>
1446
+ <span class="step val">
1447
+ '<span class="param">2</span>' cukes </span>
1448
+ </div>
1042
1449
  </li>
1043
1450
  <li class="step skipped" id="features_tons_of_cukes_feature_29">
1044
1451
  <div>
1045
- Given '<span class="skipped_param">2</span>' cukes </div>
1452
+ <span class="keyword">Given</span>
1453
+ <span class="step val">
1454
+ '<span class="param">2</span>' cukes </span>
1455
+ </div>
1046
1456
  </li>
1047
1457
  <li class="step skipped" id="features_tons_of_cukes_feature_30">
1048
1458
  <div>
1049
- Given '<span class="skipped_param">2</span>' cukes </div>
1459
+ <span class="keyword">Given</span>
1460
+ <span class="step val">
1461
+ '<span class="param">2</span>' cukes </span>
1462
+ </div>
1050
1463
  </li>
1051
1464
  <li class="step skipped" id="features_tons_of_cukes_feature_31">
1052
1465
  <div>
1053
- Given '<span class="skipped_param">2</span>' cukes </div>
1466
+ <span class="keyword">Given</span>
1467
+ <span class="step val">
1468
+ '<span class="param">2</span>' cukes </span>
1469
+ </div>
1054
1470
  </li>
1055
1471
  <li class="step skipped" id="features_tons_of_cukes_feature_32">
1056
1472
  <div>
1057
- Given '<span class="skipped_param">2</span>' cukes </div>
1473
+ <span class="keyword">Given</span>
1474
+ <span class="step val">
1475
+ '<span class="param">2</span>' cukes </span>
1476
+ </div>
1058
1477
  </li>
1059
1478
  <li class="step skipped" id="features_tons_of_cukes_feature_33">
1060
1479
  <div>
1061
- Given '<span class="skipped_param">2</span>' cukes </div>
1480
+ <span class="keyword">Given</span>
1481
+ <span class="step val">
1482
+ '<span class="param">2</span>' cukes </span>
1483
+ </div>
1062
1484
  </li>
1063
1485
  <li class="step skipped" id="features_tons_of_cukes_feature_34">
1064
1486
  <div>
1065
- Given '<span class="skipped_param">2</span>' cukes </div>
1487
+ <span class="keyword">Given</span>
1488
+ <span class="step val">
1489
+ '<span class="param">2</span>' cukes </span>
1490
+ </div>
1066
1491
  </li>
1067
1492
  <li class="step skipped" id="features_tons_of_cukes_feature_35">
1068
1493
  <div>
1069
- Given '<span class="skipped_param">2</span>' cukes </div>
1494
+ <span class="keyword">Given</span>
1495
+ <span class="step val">
1496
+ '<span class="param">2</span>' cukes </span>
1497
+ </div>
1070
1498
  </li>
1071
1499
  <li class="step skipped" id="features_tons_of_cukes_feature_36">
1072
1500
  <div>
1073
- Given '<span class="skipped_param">2</span>' cukes </div>
1501
+ <span class="keyword">Given</span>
1502
+ <span class="step val">
1503
+ '<span class="param">2</span>' cukes </span>
1504
+ </div>
1074
1505
  </li>
1075
1506
  <li class="step skipped" id="features_tons_of_cukes_feature_37">
1076
1507
  <div>
1077
- Given '<span class="skipped_param">2</span>' cukes </div>
1508
+ <span class="keyword">Given</span>
1509
+ <span class="step val">
1510
+ '<span class="param">2</span>' cukes </span>
1511
+ </div>
1078
1512
  </li>
1079
1513
  <li class="step skipped" id="features_tons_of_cukes_feature_38">
1080
1514
  <div>
1081
- Given '<span class="skipped_param">2</span>' cukes </div>
1515
+ <span class="keyword">Given</span>
1516
+ <span class="step val">
1517
+ '<span class="param">2</span>' cukes </span>
1518
+ </div>
1082
1519
  </li>
1083
1520
  <li class="step skipped" id="features_tons_of_cukes_feature_39">
1084
1521
  <div>
1085
- Given '<span class="skipped_param">2</span>' cukes </div>
1522
+ <span class="keyword">Given</span>
1523
+ <span class="step val">
1524
+ '<span class="param">2</span>' cukes </span>
1525
+ </div>
1086
1526
  </li>
1087
1527
  <li class="step skipped" id="features_tons_of_cukes_feature_40">
1088
1528
  <div>
1089
- Given '<span class="skipped_param">2</span>' cukes </div>
1529
+ <span class="keyword">Given</span>
1530
+ <span class="step val">
1531
+ '<span class="param">2</span>' cukes </span>
1532
+ </div>
1090
1533
  </li>
1091
1534
  <li class="step skipped" id="features_tons_of_cukes_feature_41">
1092
1535
  <div>
1093
- Given '<span class="skipped_param">2</span>' cukes </div>
1536
+ <span class="keyword">Given</span>
1537
+ <span class="step val">
1538
+ '<span class="param">2</span>' cukes </span>
1539
+ </div>
1094
1540
  </li>
1095
1541
  <li class="step skipped" id="features_tons_of_cukes_feature_42">
1096
1542
  <div>
1097
- Given '<span class="skipped_param">2</span>' cukes </div>
1543
+ <span class="keyword">Given</span>
1544
+ <span class="step val">
1545
+ '<span class="param">2</span>' cukes </span>
1546
+ </div>
1098
1547
  </li>
1099
1548
  <li class="step skipped" id="features_tons_of_cukes_feature_43">
1100
1549
  <div>
1101
- Given '<span class="skipped_param">2</span>' cukes </div>
1550
+ <span class="keyword">Given</span>
1551
+ <span class="step val">
1552
+ '<span class="param">2</span>' cukes </span>
1553
+ </div>
1102
1554
  </li>
1103
1555
  <li class="step skipped" id="features_tons_of_cukes_feature_44">
1104
1556
  <div>
1105
- Given '<span class="skipped_param">2</span>' cukes </div>
1557
+ <span class="keyword">Given</span>
1558
+ <span class="step val">
1559
+ '<span class="param">2</span>' cukes </span>
1560
+ </div>
1106
1561
  </li>
1107
1562
  <li class="step skipped" id="features_tons_of_cukes_feature_45">
1108
1563
  <div>
1109
- Given '<span class="skipped_param">2</span>' cukes </div>
1564
+ <span class="keyword">Given</span>
1565
+ <span class="step val">
1566
+ '<span class="param">2</span>' cukes </span>
1567
+ </div>
1110
1568
  </li>
1111
1569
  <li class="step skipped" id="features_tons_of_cukes_feature_46">
1112
1570
  <div>
1113
- Given '<span class="skipped_param">2</span>' cukes </div>
1571
+ <span class="keyword">Given</span>
1572
+ <span class="step val">
1573
+ '<span class="param">2</span>' cukes </span>
1574
+ </div>
1114
1575
  </li>
1115
1576
  <li class="step skipped" id="features_tons_of_cukes_feature_47">
1116
1577
  <div>
1117
- Given '<span class="skipped_param">2</span>' cukes </div>
1578
+ <span class="keyword">Given</span>
1579
+ <span class="step val">
1580
+ '<span class="param">2</span>' cukes </span>
1581
+ </div>
1118
1582
  </li>
1119
1583
  <li class="step skipped" id="features_tons_of_cukes_feature_48">
1120
1584
  <div>
1121
- Given '<span class="skipped_param">2</span>' cukes </div>
1585
+ <span class="keyword">Given</span>
1586
+ <span class="step val">
1587
+ '<span class="param">2</span>' cukes </span>
1588
+ </div>
1122
1589
  </li>
1123
1590
  <li class="step skipped" id="features_tons_of_cukes_feature_49">
1124
1591
  <div>
1125
- Given '<span class="skipped_param">2</span>' cukes </div>
1592
+ <span class="keyword">Given</span>
1593
+ <span class="step val">
1594
+ '<span class="param">2</span>' cukes </span>
1595
+ </div>
1126
1596
  </li>
1127
1597
  <li class="step skipped" id="features_tons_of_cukes_feature_50">
1128
1598
  <div>
1129
- Given '<span class="skipped_param">2</span>' cukes </div>
1599
+ <span class="keyword">Given</span>
1600
+ <span class="step val">
1601
+ '<span class="param">2</span>' cukes </span>
1602
+ </div>
1130
1603
  </li>
1131
1604
  <li class="step skipped" id="features_tons_of_cukes_feature_51">
1132
1605
  <div>
1133
- Given '<span class="skipped_param">2</span>' cukes </div>
1606
+ <span class="keyword">Given</span>
1607
+ <span class="step val">
1608
+ '<span class="param">2</span>' cukes </span>
1609
+ </div>
1134
1610
  </li>
1135
1611
  <li class="step skipped" id="features_tons_of_cukes_feature_52">
1136
1612
  <div>
1137
- Given '<span class="skipped_param">2</span>' cukes </div>
1613
+ <span class="keyword">Given</span>
1614
+ <span class="step val">
1615
+ '<span class="param">2</span>' cukes </span>
1616
+ </div>
1138
1617
  </li>
1139
1618
  </ol>
1140
1619
  </div>
1141
1620
  </div>
1142
1621
  <div class="feature">
1143
- <h2>Feature: undefined multiline args</h2>
1622
+ <h2>
1623
+ <span class="val">Feature: undefined multiline args</span>
1624
+ </h2>
1144
1625
  <p>
1145
1626
  </p>
1146
1627
  <div class="scenario">
1147
- <h3>Scenario: pystring</h3>
1628
+ <h3>
1629
+ <span class="keyword">Scenario:</span>
1630
+ <span class="val">pystring</span>
1631
+ </h3>
1148
1632
  <ol>
1149
1633
  <li class="step undefined" id="features_undefined_multiline_args_feature_4">
1150
1634
  <div>
1151
- Given a pystring </div>
1152
- <pre class="undefined">
1635
+ <span class="keyword">Given</span>
1636
+ <span class="step val">
1637
+ a pystring </span>
1638
+ </div>
1639
+ <pre class="val">
1153
1640
  example </pre>
1154
- <pre class="undefined">Undefined step: "a pystring" (Cucumber::Undefined)
1155
- features/undefined_multiline_args.feature:4:in `Given a pystring'</pre>
1156
1641
  </li>
1157
1642
  </ol>
1158
1643
  </div>
1159
1644
  <div class="scenario">
1160
- <h3>Scenario: table</h3>
1645
+ <h3>
1646
+ <span class="keyword">Scenario:</span>
1647
+ <span class="val">table</span>
1648
+ </h3>
1161
1649
  <ol>
1162
1650
  <li class="step undefined" id="features_undefined_multiline_args_feature_10">
1163
1651
  <div>
1164
- Given a table </div>
1652
+ <span class="keyword">Given</span>
1653
+ <span class="step val">
1654
+ a table </span>
1655
+ </div>
1165
1656
  <table>
1166
1657
  <tr id="row_11">
1167
- <td id="row_11_0">table</td>
1658
+ <td class="val" id="row_11_0">table</td>
1168
1659
  </tr>
1169
1660
  <tr id="row_12">
1170
- <td id="row_12_0">example</td>
1661
+ <td class="val" id="row_12_0">example</td>
1171
1662
  </tr>
1172
1663
  </table>
1173
- <pre class="undefined">Undefined step: "a table" (Cucumber::Undefined)
1174
- features/undefined_multiline_args.feature:10:in `Given a table'</pre>
1175
1664
  </li>
1176
1665
  </ol>
1177
1666
  </div>