aslakhellesoy-cucumber 0.3.7.2 → 0.3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -1
- data/bin/cucumber +1 -1
- data/features/html_formatter/a.html +124 -124
- data/lib/cucumber/formatter/html.rb +6 -3
- data/lib/cucumber/formatters/unicode.rb +5 -0
- data/lib/cucumber/rspec_option_parser_detector.rb +40 -0
- data/lib/cucumber/version.rb +2 -1
- data/rails_generators/cucumber/templates/cucumber_environment.rb +5 -0
- metadata +3 -2
data/History.txt
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
== 0.3.8 (Git)
|
2
2
|
|
3
3
|
=== New Features
|
4
|
+
* Rails cucumber generator sets up default gem dependencies in cucumber environment.
|
4
5
|
* Better error if RSpec's option parser is "accidentally" loaded. (Aslak Hellesøy)
|
5
6
|
* Most formatters now report how long a run took (#228 Aslak Hellesøy)
|
6
7
|
* Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy)
|
7
8
|
* Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey)
|
8
9
|
|
9
10
|
=== Removed/changed features
|
10
|
-
* The
|
11
|
+
* The Cucumber Rake task will again fork by default (as before 0.3.4). Forking must be turned off explicitly. (Aslak Hellesøy)
|
11
12
|
|
12
13
|
=== Bugfixes
|
13
14
|
* The differ= exception is gone (#325, #340 Aslak Hellesøy)
|
data/bin/cucumber
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
# Add '.rb' to work around a bug in IronRuby's File#dirname
|
3
3
|
$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')
|
4
4
|
|
5
|
-
require 'cucumber/cli/main'
|
6
5
|
require 'cucumber/rspec_option_parser_detector'
|
6
|
+
require 'cucumber/cli/main'
|
7
7
|
begin
|
8
8
|
# The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
|
9
9
|
failure = Cucumber::Cli::Main.execute(ARGV.dup)
|
@@ -89,7 +89,7 @@
|
|
89
89
|
<div class="background">
|
90
90
|
<h3>Background: </h3>
|
91
91
|
<ol>
|
92
|
-
<li class="passed" id="features_background_background_tagged_before_on_outline_feature_5">
|
92
|
+
<li class="step passed" id="features_background_background_tagged_before_on_outline_feature_5">
|
93
93
|
<div>
|
94
94
|
Given passing without a table </div>
|
95
95
|
</li>
|
@@ -98,7 +98,7 @@ Given passing without a table </div>
|
|
98
98
|
<div class="scenario">
|
99
99
|
<h3>Scenario Outline: passing background</h3>
|
100
100
|
<ol>
|
101
|
-
<li class="skipped" id="features_background_background_tagged_before_on_outline_feature_8">
|
101
|
+
<li class="step skipped" id="features_background_background_tagged_before_on_outline_feature_8">
|
102
102
|
<div>
|
103
103
|
Then I should have '<count>' cukes </div>
|
104
104
|
</li>
|
@@ -121,7 +121,7 @@ Then I should have '<count>' cukes </div>
|
|
121
121
|
<div class="background">
|
122
122
|
<h3>Background: I'm a background and I'm ok</h3>
|
123
123
|
<ol>
|
124
|
-
<li class="passed" id="features_background_background_with_name_feature_4">
|
124
|
+
<li class="step passed" id="features_background_background_with_name_feature_4">
|
125
125
|
<div>
|
126
126
|
Given '<span class="passed_param">10</span>' cukes </div>
|
127
127
|
</li>
|
@@ -130,9 +130,9 @@ Given '<span class="passed_param">10</span>' cukes </div>
|
|
130
130
|
<div class="scenario">
|
131
131
|
<h3>Scenario: example</h3>
|
132
132
|
<ol>
|
133
|
-
<li class="passed" id="features_background_background_with_name_feature_4">
|
133
|
+
<li class="step passed" id="features_background_background_with_name_feature_4">
|
134
134
|
</li>
|
135
|
-
<li class="passed" id="features_background_background_with_name_feature_7">
|
135
|
+
<li class="step passed" id="features_background_background_with_name_feature_7">
|
136
136
|
<div>
|
137
137
|
Then I should have '<span class="passed_param">10</span>' cukes </div>
|
138
138
|
</li>
|
@@ -146,7 +146,7 @@ Then I should have '<span class="passed_param">10</span>' cukes </d
|
|
146
146
|
<div class="background">
|
147
147
|
<h3>Background: </h3>
|
148
148
|
<ol>
|
149
|
-
<li class="failed" id="features_background_failing_background_feature_5">
|
149
|
+
<li class="step failed" id="features_background_failing_background_feature_5">
|
150
150
|
<div>
|
151
151
|
Given failing without a table </div>
|
152
152
|
<pre class="failed">FAIL (RuntimeError)
|
@@ -154,7 +154,7 @@ Given failing without a table </div>
|
|
154
154
|
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
155
155
|
features/background/failing_background.feature:5:in `Given failing without a table'</pre>
|
156
156
|
</li>
|
157
|
-
<li class="skipped" id="features_background_failing_background_feature_6">
|
157
|
+
<li class="step skipped" id="features_background_failing_background_feature_6">
|
158
158
|
<div>
|
159
159
|
And '<span class="skipped_param">10</span>' cukes </div>
|
160
160
|
</li>
|
@@ -163,15 +163,15 @@ And '<span class="skipped_param">10</span>' cukes </div>
|
|
163
163
|
<div class="scenario">
|
164
164
|
<h3>Scenario: failing background</h3>
|
165
165
|
<ol>
|
166
|
-
<li class="failed" id="features_background_failing_background_feature_5">
|
166
|
+
<li class="step failed" id="features_background_failing_background_feature_5">
|
167
167
|
<pre class="failed">FAIL (RuntimeError)
|
168
168
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
169
169
|
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
170
170
|
features/background/failing_background.feature:5:in `Given failing without a table'</pre>
|
171
171
|
</li>
|
172
|
-
<li class="skipped" id="features_background_failing_background_feature_6">
|
172
|
+
<li class="step skipped" id="features_background_failing_background_feature_6">
|
173
173
|
</li>
|
174
|
-
<li class="skipped" id="features_background_failing_background_feature_9">
|
174
|
+
<li class="step skipped" id="features_background_failing_background_feature_9">
|
175
175
|
<div>
|
176
176
|
Then I should have '<span class="skipped_param">10</span>' cukes </div>
|
177
177
|
</li>
|
@@ -180,11 +180,11 @@ Then I should have '<span class="skipped_param">10</span>' cukes </
|
|
180
180
|
<div class="scenario">
|
181
181
|
<h3>Scenario: another failing background</h3>
|
182
182
|
<ol>
|
183
|
-
<li class="skipped" id="features_background_failing_background_feature_5">
|
183
|
+
<li class="step skipped" id="features_background_failing_background_feature_5">
|
184
184
|
</li>
|
185
|
-
<li class="skipped" id="features_background_failing_background_feature_6">
|
185
|
+
<li class="step skipped" id="features_background_failing_background_feature_6">
|
186
186
|
</li>
|
187
|
-
<li class="skipped" id="features_background_failing_background_feature_12">
|
187
|
+
<li class="step skipped" id="features_background_failing_background_feature_12">
|
188
188
|
<div>
|
189
189
|
Then I should have '<span class="skipped_param">10</span>' cukes </div>
|
190
190
|
</li>
|
@@ -198,11 +198,11 @@ Then I should have '<span class="skipped_param">10</span>' cukes </
|
|
198
198
|
<div class="background">
|
199
199
|
<h3>Background: </h3>
|
200
200
|
<ol>
|
201
|
-
<li class="passed" id="features_background_failing_background_after_success_feature_4">
|
201
|
+
<li class="step passed" id="features_background_failing_background_after_success_feature_4">
|
202
202
|
<div>
|
203
203
|
Given passing without a table </div>
|
204
204
|
</li>
|
205
|
-
<li class="passed" id="features_background_failing_background_after_success_feature_5">
|
205
|
+
<li class="step passed" id="features_background_failing_background_after_success_feature_5">
|
206
206
|
<div>
|
207
207
|
And '<span class="passed_param">10</span>' global cukes </div>
|
208
208
|
</li>
|
@@ -211,11 +211,11 @@ And '<span class="passed_param">10</span>' global cukes </div>
|
|
211
211
|
<div class="scenario">
|
212
212
|
<h3>Scenario: passing background</h3>
|
213
213
|
<ol>
|
214
|
-
<li class="passed" id="features_background_failing_background_after_success_feature_4">
|
214
|
+
<li class="step passed" id="features_background_failing_background_after_success_feature_4">
|
215
215
|
</li>
|
216
|
-
<li class="passed" id="features_background_failing_background_after_success_feature_5">
|
216
|
+
<li class="step passed" id="features_background_failing_background_after_success_feature_5">
|
217
217
|
</li>
|
218
|
-
<li class="passed" id="features_background_failing_background_after_success_feature_8">
|
218
|
+
<li class="step passed" id="features_background_failing_background_after_success_feature_8">
|
219
219
|
<div>
|
220
220
|
Then I should have '<span class="passed_param">10</span>' global cukes </div>
|
221
221
|
</li>
|
@@ -224,15 +224,15 @@ Then I should have '<span class="passed_param">10</span>' global cukes
|
|
224
224
|
<div class="scenario">
|
225
225
|
<h3>Scenario: failing background</h3>
|
226
226
|
<ol>
|
227
|
-
<li class="passed" id="features_background_failing_background_after_success_feature_4">
|
227
|
+
<li class="step passed" id="features_background_failing_background_after_success_feature_4">
|
228
228
|
</li>
|
229
|
-
<li class="failed" id="features_background_failing_background_after_success_feature_5">
|
229
|
+
<li class="step failed" id="features_background_failing_background_after_success_feature_5">
|
230
230
|
<pre class="failed">FAIL (RuntimeError)
|
231
231
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
232
232
|
./features/step_definitions/sample_steps.rb:37:in `/^'(.+)' global cukes$/'
|
233
233
|
features/background/failing_background_after_success.feature:5:in `And '10' global cukes'</pre>
|
234
234
|
</li>
|
235
|
-
<li class="skipped" id="features_background_failing_background_after_success_feature_11">
|
235
|
+
<li class="step skipped" id="features_background_failing_background_after_success_feature_11">
|
236
236
|
<div>
|
237
237
|
Then I should have '<span class="skipped_param">10</span>' global cukes </div>
|
238
238
|
</li>
|
@@ -246,7 +246,7 @@ Then I should have '<span class="skipped_param">10</span>' global cukes
|
|
246
246
|
<div class="background">
|
247
247
|
<h3>Background: </h3>
|
248
248
|
<ol>
|
249
|
-
<li class="passed" id="features_background_multiline_args_background_feature_4">
|
249
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_4">
|
250
250
|
<div>
|
251
251
|
Given table </div>
|
252
252
|
<table>
|
@@ -260,7 +260,7 @@ Given table </div>
|
|
260
260
|
</tr>
|
261
261
|
</table>
|
262
262
|
</li>
|
263
|
-
<li class="passed" id="features_background_multiline_args_background_feature_7">
|
263
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_7">
|
264
264
|
<div>
|
265
265
|
And multiline string </div>
|
266
266
|
<pre class="passed">
|
@@ -272,11 +272,11 @@ And multiline string </div>
|
|
272
272
|
<div class="scenario">
|
273
273
|
<h3>Scenario: passing background</h3>
|
274
274
|
<ol>
|
275
|
-
<li class="passed" id="features_background_multiline_args_background_feature_4">
|
275
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_4">
|
276
276
|
</li>
|
277
|
-
<li class="passed" id="features_background_multiline_args_background_feature_7">
|
277
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_7">
|
278
278
|
</li>
|
279
|
-
<li class="passed" id="features_background_multiline_args_background_feature_14">
|
279
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_14">
|
280
280
|
<div>
|
281
281
|
Then the table should be </div>
|
282
282
|
<table>
|
@@ -290,7 +290,7 @@ Then the table should be </div>
|
|
290
290
|
</tr>
|
291
291
|
</table>
|
292
292
|
</li>
|
293
|
-
<li class="passed" id="features_background_multiline_args_background_feature_17">
|
293
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_17">
|
294
294
|
<div>
|
295
295
|
Then the multiline string should be </div>
|
296
296
|
<pre class="passed">
|
@@ -302,11 +302,11 @@ Then the multiline string should be </div>
|
|
302
302
|
<div class="scenario">
|
303
303
|
<h3>Scenario: another passing background</h3>
|
304
304
|
<ol>
|
305
|
-
<li class="passed" id="features_background_multiline_args_background_feature_4">
|
305
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_4">
|
306
306
|
</li>
|
307
|
-
<li class="passed" id="features_background_multiline_args_background_feature_7">
|
307
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_7">
|
308
308
|
</li>
|
309
|
-
<li class="passed" id="features_background_multiline_args_background_feature_24">
|
309
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_24">
|
310
310
|
<div>
|
311
311
|
Then the table should be </div>
|
312
312
|
<table>
|
@@ -320,7 +320,7 @@ Then the table should be </div>
|
|
320
320
|
</tr>
|
321
321
|
</table>
|
322
322
|
</li>
|
323
|
-
<li class="passed" id="features_background_multiline_args_background_feature_27">
|
323
|
+
<li class="step passed" id="features_background_multiline_args_background_feature_27">
|
324
324
|
<div>
|
325
325
|
Then the multiline string should be </div>
|
326
326
|
<pre class="passed">
|
@@ -337,7 +337,7 @@ Then the multiline string should be </div>
|
|
337
337
|
<div class="background">
|
338
338
|
<h3>Background: </h3>
|
339
339
|
<ol>
|
340
|
-
<li class="passed" id="features_background_passing_background_feature_4">
|
340
|
+
<li class="step passed" id="features_background_passing_background_feature_4">
|
341
341
|
<div>
|
342
342
|
Given '<span class="passed_param">10</span>' cukes </div>
|
343
343
|
</li>
|
@@ -346,9 +346,9 @@ Given '<span class="passed_param">10</span>' cukes </div>
|
|
346
346
|
<div class="scenario">
|
347
347
|
<h3>Scenario: passing background</h3>
|
348
348
|
<ol>
|
349
|
-
<li class="passed" id="features_background_passing_background_feature_4">
|
349
|
+
<li class="step passed" id="features_background_passing_background_feature_4">
|
350
350
|
</li>
|
351
|
-
<li class="passed" id="features_background_passing_background_feature_7">
|
351
|
+
<li class="step passed" id="features_background_passing_background_feature_7">
|
352
352
|
<div>
|
353
353
|
Then I should have '<span class="passed_param">10</span>' cukes </div>
|
354
354
|
</li>
|
@@ -357,9 +357,9 @@ Then I should have '<span class="passed_param">10</span>' cukes </d
|
|
357
357
|
<div class="scenario">
|
358
358
|
<h3>Scenario: another passing background</h3>
|
359
359
|
<ol>
|
360
|
-
<li class="passed" id="features_background_passing_background_feature_4">
|
360
|
+
<li class="step passed" id="features_background_passing_background_feature_4">
|
361
361
|
</li>
|
362
|
-
<li class="passed" id="features_background_passing_background_feature_10">
|
362
|
+
<li class="step passed" id="features_background_passing_background_feature_10">
|
363
363
|
<div>
|
364
364
|
Then I should have '<span class="passed_param">10</span>' cukes </div>
|
365
365
|
</li>
|
@@ -373,7 +373,7 @@ Then I should have '<span class="passed_param">10</span>' cukes </d
|
|
373
373
|
<div class="background">
|
374
374
|
<h3>Background: </h3>
|
375
375
|
<ol>
|
376
|
-
<li class="undefined" id="features_background_pending_background_feature_4">
|
376
|
+
<li class="step undefined" id="features_background_pending_background_feature_4">
|
377
377
|
<div>
|
378
378
|
Given pending </div>
|
379
379
|
<pre class="undefined">Undefined step: "pending" (Cucumber::Undefined)
|
@@ -384,11 +384,11 @@ features/background/pending_background.feature:4:in `Given pending'</pre>
|
|
384
384
|
<div class="scenario">
|
385
385
|
<h3>Scenario: pending background</h3>
|
386
386
|
<ol>
|
387
|
-
<li class="undefined" id="features_background_pending_background_feature_4">
|
387
|
+
<li class="step undefined" id="features_background_pending_background_feature_4">
|
388
388
|
<pre class="undefined">Undefined step: "pending" (Cucumber::Undefined)
|
389
389
|
features/background/pending_background.feature:4:in `Given pending'</pre>
|
390
390
|
</li>
|
391
|
-
<li class="skipped" id="features_background_pending_background_feature_7">
|
391
|
+
<li class="step skipped" id="features_background_pending_background_feature_7">
|
392
392
|
<div>
|
393
393
|
Then I should have '<span class="skipped_param">10</span>' cukes </div>
|
394
394
|
</li>
|
@@ -397,11 +397,11 @@ Then I should have '<span class="skipped_param">10</span>' cukes </
|
|
397
397
|
<div class="scenario">
|
398
398
|
<h3>Scenario: another pending background</h3>
|
399
399
|
<ol>
|
400
|
-
<li class="undefined" id="features_background_pending_background_feature_4">
|
400
|
+
<li class="step undefined" id="features_background_pending_background_feature_4">
|
401
401
|
<pre class="undefined">Undefined step: "pending" (Cucumber::Undefined)
|
402
402
|
features/background/pending_background.feature:4:in `Given pending'</pre>
|
403
403
|
</li>
|
404
|
-
<li class="skipped" id="features_background_pending_background_feature_10">
|
404
|
+
<li class="step skipped" id="features_background_pending_background_feature_10">
|
405
405
|
<div>
|
406
406
|
Then I should have '<span class="skipped_param">10</span>' cukes </div>
|
407
407
|
</li>
|
@@ -415,7 +415,7 @@ Then I should have '<span class="skipped_param">10</span>' cukes </
|
|
415
415
|
<div class="background">
|
416
416
|
<h3>Background: </h3>
|
417
417
|
<ol>
|
418
|
-
<li class="failed" id="features_background_scenario_outline_failing_background_feature_4">
|
418
|
+
<li class="step failed" id="features_background_scenario_outline_failing_background_feature_4">
|
419
419
|
<div>
|
420
420
|
Given failing without a table </div>
|
421
421
|
<pre class="failed">FAIL (RuntimeError)
|
@@ -428,7 +428,7 @@ features/background/scenario_outline_failing_background.feature:4:in `Given fail
|
|
428
428
|
<div class="scenario">
|
429
429
|
<h3>Scenario Outline: failing background</h3>
|
430
430
|
<ol>
|
431
|
-
<li class="skipped" id="features_background_scenario_outline_failing_background_feature_7">
|
431
|
+
<li class="step skipped" id="features_background_scenario_outline_failing_background_feature_7">
|
432
432
|
<div>
|
433
433
|
Then I should have '<count>' cukes </div>
|
434
434
|
</li>
|
@@ -455,7 +455,7 @@ features/background/scenario_outline_failing_background.feature:4:in `Given fail
|
|
455
455
|
<div class="scenario">
|
456
456
|
<h3>Scenario Outline: another failing background</h3>
|
457
457
|
<ol>
|
458
|
-
<li class="skipped" id="features_background_scenario_outline_failing_background_feature_13">
|
458
|
+
<li class="step skipped" id="features_background_scenario_outline_failing_background_feature_13">
|
459
459
|
<div>
|
460
460
|
Then I should have '<count>' cukes </div>
|
461
461
|
</li>
|
@@ -478,7 +478,7 @@ Then I should have '<count>' cukes </div>
|
|
478
478
|
<div class="background">
|
479
479
|
<h3>Background: </h3>
|
480
480
|
<ol>
|
481
|
-
<li class="passed" id="features_background_scenario_outline_passing_background_feature_4">
|
481
|
+
<li class="step passed" id="features_background_scenario_outline_passing_background_feature_4">
|
482
482
|
<div>
|
483
483
|
Given '<span class="passed_param">10</span>' cukes </div>
|
484
484
|
</li>
|
@@ -487,7 +487,7 @@ Given '<span class="passed_param">10</span>' cukes </div>
|
|
487
487
|
<div class="scenario">
|
488
488
|
<h3>Scenario Outline: passing background</h3>
|
489
489
|
<ol>
|
490
|
-
<li class="skipped" id="features_background_scenario_outline_passing_background_feature_7">
|
490
|
+
<li class="step skipped" id="features_background_scenario_outline_passing_background_feature_7">
|
491
491
|
<div>
|
492
492
|
Then I should have '<count>' cukes </div>
|
493
493
|
</li>
|
@@ -505,7 +505,7 @@ Then I should have '<count>' cukes </div>
|
|
505
505
|
<div class="scenario">
|
506
506
|
<h3>Scenario Outline: another passing background</h3>
|
507
507
|
<ol>
|
508
|
-
<li class="skipped" id="features_background_scenario_outline_passing_background_feature_13">
|
508
|
+
<li class="step skipped" id="features_background_scenario_outline_passing_background_feature_13">
|
509
509
|
<div>
|
510
510
|
Then I should have '<count>' cukes </div>
|
511
511
|
</li>
|
@@ -528,7 +528,7 @@ Then I should have '<count>' cukes </div>
|
|
528
528
|
<div class="scenario">
|
529
529
|
<h3>Scenario: Call directly</h3>
|
530
530
|
<ol>
|
531
|
-
<li class="undefined" id="features_call_undefined_step_from_step_def_feature_4">
|
531
|
+
<li class="step undefined" id="features_call_undefined_step_from_step_def_feature_4">
|
532
532
|
<div>
|
533
533
|
Given a step definition that calls an undefined step </div>
|
534
534
|
<pre class="undefined">Undefined step: "this does not exist" (Cucumber::Undefined)
|
@@ -540,7 +540,7 @@ features/call_undefined_step_from_step_def.feature:4:in `Given a step definition
|
|
540
540
|
<div class="scenario">
|
541
541
|
<h3>Scenario: Call via another</h3>
|
542
542
|
<ol>
|
543
|
-
<li class="undefined" id="features_call_undefined_step_from_step_def_feature_7">
|
543
|
+
<li class="step undefined" id="features_call_undefined_step_from_step_def_feature_7">
|
544
544
|
<div>
|
545
545
|
Given call step "<span class="undefined_param">a step definition that calls an undefined step</span>" </div>
|
546
546
|
<pre class="undefined">Undefined step: "this does not exist" (Cucumber::Undefined)
|
@@ -557,7 +557,7 @@ features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step
|
|
557
557
|
<div class="scenario">
|
558
558
|
<h3>Scenario: Failing expectation</h3>
|
559
559
|
<ol>
|
560
|
-
<li class="failed" id="features_failing_expectation_feature_4">
|
560
|
+
<li class="step failed" id="features_failing_expectation_feature_4">
|
561
561
|
<div>
|
562
562
|
Given failing expectation </div>
|
563
563
|
<pre class="failed">expected: "that",
|
@@ -580,31 +580,31 @@ features/failing_expectation.feature:4:in `Given failing expectation'</pre>
|
|
580
580
|
<div class="scenario">
|
581
581
|
<h3>Scenario: Implement me</h3>
|
582
582
|
<ol>
|
583
|
-
<li class="undefined" id="features_lots_of_undefined_feature_4">
|
583
|
+
<li class="step undefined" id="features_lots_of_undefined_feature_4">
|
584
584
|
<div>
|
585
585
|
Given it snows in Sahara </div>
|
586
586
|
<pre class="undefined">Undefined step: "it snows in Sahara" (Cucumber::Undefined)
|
587
587
|
features/lots_of_undefined.feature:4:in `Given it snows in Sahara'</pre>
|
588
588
|
</li>
|
589
|
-
<li class="undefined" id="features_lots_of_undefined_feature_5">
|
589
|
+
<li class="step undefined" id="features_lots_of_undefined_feature_5">
|
590
590
|
<div>
|
591
591
|
Given it's 40 degrees in Norway </div>
|
592
592
|
<pre class="undefined">Undefined step: "it's 40 degrees in Norway" (Cucumber::Undefined)
|
593
593
|
features/lots_of_undefined.feature:5:in `Given it's 40 degrees in Norway'</pre>
|
594
594
|
</li>
|
595
|
-
<li class="undefined" id="features_lots_of_undefined_feature_6">
|
595
|
+
<li class="step undefined" id="features_lots_of_undefined_feature_6">
|
596
596
|
<div>
|
597
597
|
And it's 40 degrees in Norway </div>
|
598
598
|
<pre class="undefined">Undefined step: "it's 40 degrees in Norway" (Cucumber::Undefined)
|
599
599
|
features/lots_of_undefined.feature:6:in `And it's 40 degrees in Norway'</pre>
|
600
600
|
</li>
|
601
|
-
<li class="undefined" id="features_lots_of_undefined_feature_7">
|
601
|
+
<li class="step undefined" id="features_lots_of_undefined_feature_7">
|
602
602
|
<div>
|
603
603
|
When I stop procrastinating </div>
|
604
604
|
<pre class="undefined">Undefined step: "I stop procrastinating" (Cucumber::Undefined)
|
605
605
|
features/lots_of_undefined.feature:7:in `When I stop procrastinating'</pre>
|
606
606
|
</li>
|
607
|
-
<li class="undefined" id="features_lots_of_undefined_feature_8">
|
607
|
+
<li class="step undefined" id="features_lots_of_undefined_feature_8">
|
608
608
|
<div>
|
609
609
|
And there is world peace </div>
|
610
610
|
<pre class="undefined">Undefined step: "there is world peace" (Cucumber::Undefined)
|
@@ -622,7 +622,7 @@ features/lots_of_undefined.feature:8:in `And there is world peace'</pre>
|
|
622
622
|
which goes on and on and on for three lines
|
623
623
|
yawn</h3>
|
624
624
|
<ol>
|
625
|
-
<li class="passed" id="features_multiline_name_feature_6">
|
625
|
+
<li class="step passed" id="features_multiline_name_feature_6">
|
626
626
|
<div>
|
627
627
|
Given passing without a table </div>
|
628
628
|
</li>
|
@@ -633,9 +633,9 @@ Given passing without a table </div>
|
|
633
633
|
which goes on and on and on for three lines
|
634
634
|
yawn</h3>
|
635
635
|
<ol>
|
636
|
-
<li class="passed" id="features_multiline_name_feature_6">
|
636
|
+
<li class="step passed" id="features_multiline_name_feature_6">
|
637
637
|
</li>
|
638
|
-
<li class="passed" id="features_multiline_name_feature_11">
|
638
|
+
<li class="step passed" id="features_multiline_name_feature_11">
|
639
639
|
<div>
|
640
640
|
Given passing without a table </div>
|
641
641
|
</li>
|
@@ -646,7 +646,7 @@ Given passing without a table </div>
|
|
646
646
|
which goes on and on and on for three lines
|
647
647
|
yawn</h3>
|
648
648
|
<ol>
|
649
|
-
<li class="skipped" id="features_multiline_name_feature_16">
|
649
|
+
<li class="step skipped" id="features_multiline_name_feature_16">
|
650
650
|
<div>
|
651
651
|
Given <state> without a table </div>
|
652
652
|
</li>
|
@@ -664,7 +664,7 @@ Given <state> without a table </div>
|
|
664
664
|
<div class="scenario">
|
665
665
|
<h3>Scenario Outline: name</h3>
|
666
666
|
<ol>
|
667
|
-
<li class="skipped" id="features_multiline_name_feature_22">
|
667
|
+
<li class="step skipped" id="features_multiline_name_feature_22">
|
668
668
|
<div>
|
669
669
|
Given <state> without a table </div>
|
670
670
|
</li>
|
@@ -694,11 +694,11 @@ yawn</h4>
|
|
694
694
|
<div class="scenario">
|
695
695
|
<h3>Scenario Outline: Test state</h3>
|
696
696
|
<ol>
|
697
|
-
<li class="skipped" id="features_outline_sample_feature_6">
|
697
|
+
<li class="step skipped" id="features_outline_sample_feature_6">
|
698
698
|
<div>
|
699
699
|
Given <state> without a table </div>
|
700
700
|
</li>
|
701
|
-
<li class="skipped" id="features_outline_sample_feature_7">
|
701
|
+
<li class="step skipped" id="features_outline_sample_feature_7">
|
702
702
|
<div>
|
703
703
|
Given <other_state> without a table </div>
|
704
704
|
</li>
|
@@ -758,7 +758,7 @@ features/outline_sample.feature:6:in `Given <state> without a table'
|
|
758
758
|
<div class="scenario">
|
759
759
|
<h3>Scenario: Missing</h3>
|
760
760
|
<ol>
|
761
|
-
<li class="undefined" id="features_sample_feature_6">
|
761
|
+
<li class="step undefined" id="features_sample_feature_6">
|
762
762
|
<div>
|
763
763
|
Given missing </div>
|
764
764
|
<pre class="undefined">Undefined step: "missing" (Cucumber::Undefined)
|
@@ -769,7 +769,7 @@ features/sample.feature:6:in `Given missing'</pre>
|
|
769
769
|
<div class="scenario">
|
770
770
|
<h3>Scenario: Passing</h3>
|
771
771
|
<ol>
|
772
|
-
<li class="passed" id="features_sample_feature_10">
|
772
|
+
<li class="step passed" id="features_sample_feature_10">
|
773
773
|
<div>
|
774
774
|
Given passing </div>
|
775
775
|
<table>
|
@@ -788,7 +788,7 @@ Given passing </div>
|
|
788
788
|
<div class="scenario">
|
789
789
|
<h3>Scenario: Failing</h3>
|
790
790
|
<ol>
|
791
|
-
<li class="failed" id="features_sample_feature_16">
|
791
|
+
<li class="step failed" id="features_sample_feature_16">
|
792
792
|
<div>
|
793
793
|
Given failing </div>
|
794
794
|
<pre class="failed">
|
@@ -808,7 +808,7 @@ features/sample.feature:16:in `Given failing'</pre>
|
|
808
808
|
<div class="background">
|
809
809
|
<h3>Background: Hantu Pisang background match</h3>
|
810
810
|
<ol>
|
811
|
-
<li class="passed" id="features_search_sample_feature_4">
|
811
|
+
<li class="step passed" id="features_search_sample_feature_4">
|
812
812
|
<div>
|
813
813
|
Given passing without a table </div>
|
814
814
|
</li>
|
@@ -817,9 +817,9 @@ Given passing without a table </div>
|
|
817
817
|
<div class="scenario">
|
818
818
|
<h3>Scenario: should match Hantu Pisang</h3>
|
819
819
|
<ol>
|
820
|
-
<li class="passed" id="features_search_sample_feature_4">
|
820
|
+
<li class="step passed" id="features_search_sample_feature_4">
|
821
821
|
</li>
|
822
|
-
<li class="passed" id="features_search_sample_feature_7">
|
822
|
+
<li class="step passed" id="features_search_sample_feature_7">
|
823
823
|
<div>
|
824
824
|
Given passing without a table </div>
|
825
825
|
</li>
|
@@ -828,9 +828,9 @@ Given passing without a table </div>
|
|
828
828
|
<div class="scenario">
|
829
829
|
<h3>Scenario: Ignore me</h3>
|
830
830
|
<ol>
|
831
|
-
<li class="passed" id="features_search_sample_feature_4">
|
831
|
+
<li class="step passed" id="features_search_sample_feature_4">
|
832
832
|
</li>
|
833
|
-
<li class="failed" id="features_search_sample_feature_10">
|
833
|
+
<li class="step failed" id="features_search_sample_feature_10">
|
834
834
|
<div>
|
835
835
|
Given failing without a table </div>
|
836
836
|
<pre class="failed">FAIL (RuntimeError)
|
@@ -843,7 +843,7 @@ features/search_sample.feature:10:in `Given failing without a table'</pre>
|
|
843
843
|
<div class="scenario">
|
844
844
|
<h3>Scenario Outline: Ignore me</h3>
|
845
845
|
<ol>
|
846
|
-
<li class="skipped" id="features_search_sample_feature_13">
|
846
|
+
<li class="step skipped" id="features_search_sample_feature_13">
|
847
847
|
<div>
|
848
848
|
Given <state> without a table </div>
|
849
849
|
</li>
|
@@ -870,7 +870,7 @@ features/search_sample.feature:13:in `Given <state> without a table'
|
|
870
870
|
<div class="scenario">
|
871
871
|
<h3>Scenario Outline: Hantu Pisang match</h3>
|
872
872
|
<ol>
|
873
|
-
<li class="skipped" id="features_search_sample_feature_19">
|
873
|
+
<li class="step skipped" id="features_search_sample_feature_19">
|
874
874
|
<div>
|
875
875
|
Given <state> without a table </div>
|
876
876
|
</li>
|
@@ -888,7 +888,7 @@ Given <state> without a table </div>
|
|
888
888
|
<div class="scenario">
|
889
889
|
<h3>Scenario Outline: no match in name but in examples</h3>
|
890
890
|
<ol>
|
891
|
-
<li class="skipped" id="features_search_sample_feature_25">
|
891
|
+
<li class="step skipped" id="features_search_sample_feature_25">
|
892
892
|
<div>
|
893
893
|
Given <state> without a table </div>
|
894
894
|
</li>
|
@@ -929,202 +929,202 @@ features/search_sample.feature:25:in `Given <state> without a table'
|
|
929
929
|
<div class="scenario">
|
930
930
|
<h3>Scenario: Lots and lots</h3>
|
931
931
|
<ol>
|
932
|
-
<li class="passed" id="features_tons_of_cukes_feature_4">
|
932
|
+
<li class="step passed" id="features_tons_of_cukes_feature_4">
|
933
933
|
<div>
|
934
934
|
Given '<span class="passed_param">2</span>' cukes </div>
|
935
935
|
</li>
|
936
|
-
<li class="failed" id="features_tons_of_cukes_feature_5">
|
936
|
+
<li class="step failed" id="features_tons_of_cukes_feature_5">
|
937
937
|
<div>
|
938
938
|
Given '<span class="failed_param">2</span>' cukes </div>
|
939
939
|
<pre class="failed">We already have 2 cukes! (RuntimeError)
|
940
940
|
./features/step_definitions/sample_steps.rb:28:in `/^'(.+)' cukes$/'
|
941
941
|
features/tons_of_cukes.feature:5:in `Given '2' cukes'</pre>
|
942
942
|
</li>
|
943
|
-
<li class="skipped" id="features_tons_of_cukes_feature_6">
|
943
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_6">
|
944
944
|
<div>
|
945
945
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
946
946
|
</li>
|
947
|
-
<li class="skipped" id="features_tons_of_cukes_feature_7">
|
947
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_7">
|
948
948
|
<div>
|
949
949
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
950
950
|
</li>
|
951
|
-
<li class="skipped" id="features_tons_of_cukes_feature_8">
|
951
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_8">
|
952
952
|
<div>
|
953
953
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
954
954
|
</li>
|
955
|
-
<li class="skipped" id="features_tons_of_cukes_feature_9">
|
955
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_9">
|
956
956
|
<div>
|
957
957
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
958
958
|
</li>
|
959
|
-
<li class="skipped" id="features_tons_of_cukes_feature_10">
|
959
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_10">
|
960
960
|
<div>
|
961
961
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
962
962
|
</li>
|
963
|
-
<li class="skipped" id="features_tons_of_cukes_feature_11">
|
963
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_11">
|
964
964
|
<div>
|
965
965
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
966
966
|
</li>
|
967
|
-
<li class="skipped" id="features_tons_of_cukes_feature_12">
|
967
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_12">
|
968
968
|
<div>
|
969
969
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
970
970
|
</li>
|
971
|
-
<li class="skipped" id="features_tons_of_cukes_feature_13">
|
971
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_13">
|
972
972
|
<div>
|
973
973
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
974
974
|
</li>
|
975
|
-
<li class="skipped" id="features_tons_of_cukes_feature_14">
|
975
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_14">
|
976
976
|
<div>
|
977
977
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
978
978
|
</li>
|
979
|
-
<li class="skipped" id="features_tons_of_cukes_feature_15">
|
979
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_15">
|
980
980
|
<div>
|
981
981
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
982
982
|
</li>
|
983
|
-
<li class="skipped" id="features_tons_of_cukes_feature_16">
|
983
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_16">
|
984
984
|
<div>
|
985
985
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
986
986
|
</li>
|
987
|
-
<li class="skipped" id="features_tons_of_cukes_feature_17">
|
987
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_17">
|
988
988
|
<div>
|
989
989
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
990
990
|
</li>
|
991
|
-
<li class="skipped" id="features_tons_of_cukes_feature_18">
|
991
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_18">
|
992
992
|
<div>
|
993
993
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
994
994
|
</li>
|
995
|
-
<li class="skipped" id="features_tons_of_cukes_feature_19">
|
995
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_19">
|
996
996
|
<div>
|
997
997
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
998
998
|
</li>
|
999
|
-
<li class="skipped" id="features_tons_of_cukes_feature_20">
|
999
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_20">
|
1000
1000
|
<div>
|
1001
1001
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1002
1002
|
</li>
|
1003
|
-
<li class="skipped" id="features_tons_of_cukes_feature_21">
|
1003
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_21">
|
1004
1004
|
<div>
|
1005
1005
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1006
1006
|
</li>
|
1007
|
-
<li class="skipped" id="features_tons_of_cukes_feature_22">
|
1007
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_22">
|
1008
1008
|
<div>
|
1009
1009
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1010
1010
|
</li>
|
1011
|
-
<li class="skipped" id="features_tons_of_cukes_feature_23">
|
1011
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_23">
|
1012
1012
|
<div>
|
1013
1013
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1014
1014
|
</li>
|
1015
|
-
<li class="skipped" id="features_tons_of_cukes_feature_24">
|
1015
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_24">
|
1016
1016
|
<div>
|
1017
1017
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1018
1018
|
</li>
|
1019
|
-
<li class="skipped" id="features_tons_of_cukes_feature_25">
|
1019
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_25">
|
1020
1020
|
<div>
|
1021
1021
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1022
1022
|
</li>
|
1023
|
-
<li class="skipped" id="features_tons_of_cukes_feature_26">
|
1023
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_26">
|
1024
1024
|
<div>
|
1025
1025
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1026
1026
|
</li>
|
1027
|
-
<li class="skipped" id="features_tons_of_cukes_feature_27">
|
1027
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_27">
|
1028
1028
|
<div>
|
1029
1029
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1030
1030
|
</li>
|
1031
|
-
<li class="skipped" id="features_tons_of_cukes_feature_28">
|
1031
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_28">
|
1032
1032
|
<div>
|
1033
1033
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1034
1034
|
</li>
|
1035
|
-
<li class="skipped" id="features_tons_of_cukes_feature_29">
|
1035
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_29">
|
1036
1036
|
<div>
|
1037
1037
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1038
1038
|
</li>
|
1039
|
-
<li class="skipped" id="features_tons_of_cukes_feature_30">
|
1039
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_30">
|
1040
1040
|
<div>
|
1041
1041
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1042
1042
|
</li>
|
1043
|
-
<li class="skipped" id="features_tons_of_cukes_feature_31">
|
1043
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_31">
|
1044
1044
|
<div>
|
1045
1045
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1046
1046
|
</li>
|
1047
|
-
<li class="skipped" id="features_tons_of_cukes_feature_32">
|
1047
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_32">
|
1048
1048
|
<div>
|
1049
1049
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1050
1050
|
</li>
|
1051
|
-
<li class="skipped" id="features_tons_of_cukes_feature_33">
|
1051
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_33">
|
1052
1052
|
<div>
|
1053
1053
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1054
1054
|
</li>
|
1055
|
-
<li class="skipped" id="features_tons_of_cukes_feature_34">
|
1055
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_34">
|
1056
1056
|
<div>
|
1057
1057
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1058
1058
|
</li>
|
1059
|
-
<li class="skipped" id="features_tons_of_cukes_feature_35">
|
1059
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_35">
|
1060
1060
|
<div>
|
1061
1061
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1062
1062
|
</li>
|
1063
|
-
<li class="skipped" id="features_tons_of_cukes_feature_36">
|
1063
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_36">
|
1064
1064
|
<div>
|
1065
1065
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1066
1066
|
</li>
|
1067
|
-
<li class="skipped" id="features_tons_of_cukes_feature_37">
|
1067
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_37">
|
1068
1068
|
<div>
|
1069
1069
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1070
1070
|
</li>
|
1071
|
-
<li class="skipped" id="features_tons_of_cukes_feature_38">
|
1071
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_38">
|
1072
1072
|
<div>
|
1073
1073
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1074
1074
|
</li>
|
1075
|
-
<li class="skipped" id="features_tons_of_cukes_feature_39">
|
1075
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_39">
|
1076
1076
|
<div>
|
1077
1077
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1078
1078
|
</li>
|
1079
|
-
<li class="skipped" id="features_tons_of_cukes_feature_40">
|
1079
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_40">
|
1080
1080
|
<div>
|
1081
1081
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1082
1082
|
</li>
|
1083
|
-
<li class="skipped" id="features_tons_of_cukes_feature_41">
|
1083
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_41">
|
1084
1084
|
<div>
|
1085
1085
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1086
1086
|
</li>
|
1087
|
-
<li class="skipped" id="features_tons_of_cukes_feature_42">
|
1087
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_42">
|
1088
1088
|
<div>
|
1089
1089
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1090
1090
|
</li>
|
1091
|
-
<li class="skipped" id="features_tons_of_cukes_feature_43">
|
1091
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_43">
|
1092
1092
|
<div>
|
1093
1093
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1094
1094
|
</li>
|
1095
|
-
<li class="skipped" id="features_tons_of_cukes_feature_44">
|
1095
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_44">
|
1096
1096
|
<div>
|
1097
1097
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1098
1098
|
</li>
|
1099
|
-
<li class="skipped" id="features_tons_of_cukes_feature_45">
|
1099
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_45">
|
1100
1100
|
<div>
|
1101
1101
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1102
1102
|
</li>
|
1103
|
-
<li class="skipped" id="features_tons_of_cukes_feature_46">
|
1103
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_46">
|
1104
1104
|
<div>
|
1105
1105
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1106
1106
|
</li>
|
1107
|
-
<li class="skipped" id="features_tons_of_cukes_feature_47">
|
1107
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_47">
|
1108
1108
|
<div>
|
1109
1109
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1110
1110
|
</li>
|
1111
|
-
<li class="skipped" id="features_tons_of_cukes_feature_48">
|
1111
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_48">
|
1112
1112
|
<div>
|
1113
1113
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1114
1114
|
</li>
|
1115
|
-
<li class="skipped" id="features_tons_of_cukes_feature_49">
|
1115
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_49">
|
1116
1116
|
<div>
|
1117
1117
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1118
1118
|
</li>
|
1119
|
-
<li class="skipped" id="features_tons_of_cukes_feature_50">
|
1119
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_50">
|
1120
1120
|
<div>
|
1121
1121
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1122
1122
|
</li>
|
1123
|
-
<li class="skipped" id="features_tons_of_cukes_feature_51">
|
1123
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_51">
|
1124
1124
|
<div>
|
1125
1125
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1126
1126
|
</li>
|
1127
|
-
<li class="skipped" id="features_tons_of_cukes_feature_52">
|
1127
|
+
<li class="step skipped" id="features_tons_of_cukes_feature_52">
|
1128
1128
|
<div>
|
1129
1129
|
Given '<span class="skipped_param">2</span>' cukes </div>
|
1130
1130
|
</li>
|
@@ -1138,7 +1138,7 @@ Given '<span class="skipped_param">2</span>' cukes </div>
|
|
1138
1138
|
<div class="scenario">
|
1139
1139
|
<h3>Scenario: pystring</h3>
|
1140
1140
|
<ol>
|
1141
|
-
<li class="undefined" id="features_undefined_multiline_args_feature_4">
|
1141
|
+
<li class="step undefined" id="features_undefined_multiline_args_feature_4">
|
1142
1142
|
<div>
|
1143
1143
|
Given a pystring </div>
|
1144
1144
|
<pre class="undefined">
|
@@ -1151,7 +1151,7 @@ features/undefined_multiline_args.feature:4:in `Given a pystring'</pre>
|
|
1151
1151
|
<div class="scenario">
|
1152
1152
|
<h3>Scenario: table</h3>
|
1153
1153
|
<ol>
|
1154
|
-
<li class="undefined" id="features_undefined_multiline_args_feature_10">
|
1154
|
+
<li class="step undefined" id="features_undefined_multiline_args_feature_10">
|
1155
1155
|
<div>
|
1156
1156
|
Given a table </div>
|
1157
1157
|
<table>
|
@@ -48,6 +48,10 @@ module Cucumber
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
+
def visit_tag_name(tag_name)
|
52
|
+
@builder.span("@#{tag_name}", :class => 'tag')
|
53
|
+
end
|
54
|
+
|
51
55
|
def visit_feature_name(name)
|
52
56
|
lines = name.split(/\r?\n/)
|
53
57
|
@builder.h2(lines[0])
|
@@ -107,7 +111,7 @@ module Cucumber
|
|
107
111
|
|
108
112
|
def visit_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background)
|
109
113
|
@status = status
|
110
|
-
@builder.li(:id => @step_id, :class => status) do
|
114
|
+
@builder.li(:id => @step_id, :class => "step #{status}") do
|
111
115
|
super(keyword, step_match, multiline_arg, status, exception, source_indent, background)
|
112
116
|
end
|
113
117
|
end
|
@@ -183,8 +187,6 @@ module Cucumber
|
|
183
187
|
@builder.__send__(cell_type, value, attributes)
|
184
188
|
end
|
185
189
|
|
186
|
-
private
|
187
|
-
|
188
190
|
def inline_css
|
189
191
|
@builder.style(:type => 'text/css') do
|
190
192
|
@builder.text!(File.read(File.dirname(__FILE__) + '/cucumber.css'))
|
@@ -194,6 +196,7 @@ module Cucumber
|
|
194
196
|
def format_exception(exception)
|
195
197
|
(["#{exception.message} (#{exception.class})"] + exception.backtrace).join("\n")
|
196
198
|
end
|
199
|
+
|
197
200
|
end
|
198
201
|
end
|
199
202
|
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
|
3
|
+
module Spec
|
4
|
+
module Runner
|
5
|
+
# Detects if RSpec's option parser is loaded and raises an error
|
6
|
+
# if it is. (RSpec's option parser tries to parse ARGV, which
|
7
|
+
# will fail when running cucumber)
|
8
|
+
class OptionParser < ::OptionParser
|
9
|
+
def self.bail
|
10
|
+
raise <<-EOM
|
11
|
+
|
12
|
+
RSpec's 'spec/runner/option_parser' should *not* be loaded when you're running
|
13
|
+
Cucumber, but it seems it was loaded anyway. This is *not* a Cucumber bug.
|
14
|
+
Some other code is loading more RSpec code than it should. There can be several
|
15
|
+
reasons for this. The most common ones are:
|
16
|
+
|
17
|
+
1) Some of your own code does require 'spec'.
|
18
|
+
Use require 'spec/expectations' instead.
|
19
|
+
2) Some of your own code does require 'spec/rails'.
|
20
|
+
Use require 'spec/rails/expectations' instead.
|
21
|
+
3) Your Rails app's gem configuration is bad. Use
|
22
|
+
config.gem 'rspec', :lib => false
|
23
|
+
config.gem 'rspec-rails', :lib => false
|
24
|
+
4) Some other library you're using (indirectly)
|
25
|
+
does require 'spec/runner/option_parser'.
|
26
|
+
Analyze the stack trace below and get rid of it.
|
27
|
+
|
28
|
+
EOM
|
29
|
+
end
|
30
|
+
|
31
|
+
if method_defined?(:options)
|
32
|
+
bail
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.method_added(*args)
|
36
|
+
bail
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/lib/cucumber/version.rb
CHANGED
@@ -3,8 +3,9 @@ module Cucumber #:nodoc:
|
|
3
3
|
MAJOR = 0
|
4
4
|
MINOR = 3
|
5
5
|
TINY = 7
|
6
|
-
PATCH =
|
6
|
+
PATCH = 3 # Set to nil for official release
|
7
7
|
|
8
8
|
STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
|
9
|
+
STABLE_STRING = [MAJOR, MINOR, TINY].join('.')
|
9
10
|
end
|
10
11
|
end
|
@@ -14,3 +14,8 @@ config.action_controller.allow_forgery_protection = false
|
|
14
14
|
# The :test delivery method accumulates sent emails in the
|
15
15
|
# ActionMailer::Base.deliveries array.
|
16
16
|
config.action_mailer.delivery_method = :test
|
17
|
+
|
18
|
+
config.gem "cucumber", :lib => false, :version => ">=<%= Cucumber::VERSION::STABLE_STRING %>"
|
19
|
+
config.gem "webrat", :lib => false, :version => ">=0.4.4"
|
20
|
+
config.gem "rspec", :lib => false, :version => ">=1.2.6"
|
21
|
+
config.gem "rspec-rails", :lib => false, :version => ">=1.2.6"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aslakhellesoy-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.7.
|
4
|
+
version: 0.3.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-25 00:00:00 -07:00
|
13
13
|
default_executable: cucumber
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -403,6 +403,7 @@ files:
|
|
403
403
|
- lib/cucumber/rails/rspec.rb
|
404
404
|
- lib/cucumber/rails/world.rb
|
405
405
|
- lib/cucumber/rake/task.rb
|
406
|
+
- lib/cucumber/rspec_option_parser_detector.rb
|
406
407
|
- lib/cucumber/step_definition.rb
|
407
408
|
- lib/cucumber/step_match.rb
|
408
409
|
- lib/cucumber/step_mother.rb
|