aslakhellesoy-cucumber 0.3.9.4 → 0.3.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +14 -5
- data/Manifest.txt +4 -0
- data/cucumber.yml +1 -1
- data/features/drb_server_integration.feature +86 -0
- data/features/html_formatter/a.html +208 -169
- data/features/step_definitions/cucumber_steps.rb +9 -0
- data/features/support/env.rb +35 -1
- data/lib/cucumber/cli/configuration.rb +32 -8
- data/lib/cucumber/cli/drb_client.rb +21 -0
- data/lib/cucumber/cli/main.rb +10 -1
- data/lib/cucumber/formatter/html.rb +14 -3
- data/lib/cucumber/rake/task.rb +1 -1
- data/lib/cucumber/version.rb +1 -1
- data/rails_generators/cucumber/cucumber_generator.rb +12 -2
- data/rails_generators/cucumber/templates/cucumber.rake +1 -1
- data/rails_generators/cucumber/templates/env.rb +10 -3
- data/rails_generators/cucumber/templates/spork_env.rb +36 -0
- data/spec/cucumber/cli/configuration_spec.rb +56 -1
- data/spec/cucumber/cli/drb_client_spec.rb +42 -0
- data/spec/cucumber/cli/main_spec.rb +64 -19
- metadata +6 -2
data/History.txt
CHANGED
@@ -1,11 +1,19 @@
|
|
1
1
|
== 0.3.10 (In Git)
|
2
2
|
|
3
|
-
This release has
|
3
|
+
This release has an exciting new feature - a new --drb switch! This magic switch lets you run your
|
4
|
+
features much faster than before, because you can eliminate the startup time for your code. This is
|
5
|
+
thanks to a brand new gem called Spork by Tim Harper and Ben Mabey. You can start Spork and have it
|
6
|
+
preload your application in a separate process. Spork listens for DRb connections, and when you run
|
7
|
+
cucumber with --drb they will run inside the Spork server instead. Spork provides two simple hooks
|
8
|
+
for preloading your application - one for framework/stable code (Spork.prefork) and one for the code
|
9
|
+
that *you* write and change often (Spork.each_run). This works great for Ruby on Rails, which can
|
10
|
+
take a while to load, but Spork isn't tied to Rails.
|
4
11
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
12
|
+
Cucumber's built-in cucumber generator now has a new --spork switch, so when you bootstrap your Rails
|
13
|
+
application for cucumber, you can have spork configuration set up out of the box. (It's just a
|
14
|
+
slightly different env.rb).
|
15
|
+
|
16
|
+
This release also has some minor bugfixes related to RSpec and Rails interop.
|
9
17
|
|
10
18
|
=== Bugfixes
|
11
19
|
* RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
|
@@ -13,6 +21,7 @@ deeper structures. Selenium? Others?
|
|
13
21
|
* The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy)
|
14
22
|
|
15
23
|
=== New features
|
24
|
+
* Spork support via --drb. (Ben Mabey)
|
16
25
|
* Added a Ast::Feature#name method for convenience
|
17
26
|
|
18
27
|
=== Changed features
|
data/Manifest.txt
CHANGED
@@ -250,6 +250,7 @@ features/cucumber_cli.feature
|
|
250
250
|
features/cucumber_cli_diff_disabled.feature
|
251
251
|
features/cucumber_cli_outlines.feature
|
252
252
|
features/custom_formatter.feature
|
253
|
+
features/drb_server_integration.feature
|
253
254
|
features/exclude_files.feature
|
254
255
|
features/expand.feature
|
255
256
|
features/html_formatter.feature
|
@@ -298,6 +299,7 @@ lib/cucumber/ast/tags.rb
|
|
298
299
|
lib/cucumber/ast/visitor.rb
|
299
300
|
lib/cucumber/broadcaster.rb
|
300
301
|
lib/cucumber/cli/configuration.rb
|
302
|
+
lib/cucumber/cli/drb_client.rb
|
301
303
|
lib/cucumber/cli/language_help_formatter.rb
|
302
304
|
lib/cucumber/cli/main.rb
|
303
305
|
lib/cucumber/core_ext/exception.rb
|
@@ -345,6 +347,7 @@ rails_generators/cucumber/templates/cucumber.rake
|
|
345
347
|
rails_generators/cucumber/templates/cucumber_environment.rb
|
346
348
|
rails_generators/cucumber/templates/env.rb
|
347
349
|
rails_generators/cucumber/templates/paths.rb
|
350
|
+
rails_generators/cucumber/templates/spork_env.rb
|
348
351
|
rails_generators/cucumber/templates/webrat_steps.rb
|
349
352
|
rails_generators/feature/USAGE
|
350
353
|
rails_generators/feature/feature_generator.rb
|
@@ -363,6 +366,7 @@ spec/cucumber/ast/table_spec.rb
|
|
363
366
|
spec/cucumber/ast/visitor_spec.rb
|
364
367
|
spec/cucumber/broadcaster_spec.rb
|
365
368
|
spec/cucumber/cli/configuration_spec.rb
|
369
|
+
spec/cucumber/cli/drb_client_spec.rb
|
366
370
|
spec/cucumber/cli/main_spec.rb
|
367
371
|
spec/cucumber/core_ext/proc_spec.rb
|
368
372
|
spec/cucumber/core_ext/string_spec.rb
|
data/cucumber.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
default: --format progress features --tags ~@
|
1
|
+
default: --format progress features --tags ~@proposed,~@in_progress
|
@@ -0,0 +1,86 @@
|
|
1
|
+
@in_progress
|
2
|
+
Feature: DRb Server Integration
|
3
|
+
To prevent waiting for Rails and other large Ruby applications to load their environments
|
4
|
+
for each feature run Cucumber ships with a DRb client that can speak to a server which
|
5
|
+
loads up the environment only once.
|
6
|
+
|
7
|
+
Background: App with Spork support
|
8
|
+
Spork is a gem that has a DRb server and the scenarios below use illustarate how to use it.
|
9
|
+
However, any DRb server that adheres to the protocol that the client expects would work.
|
10
|
+
|
11
|
+
Given a standard Cucumber project directory structure
|
12
|
+
And a file named "features/support/env.rb" with:
|
13
|
+
"""
|
14
|
+
require 'rubygems'
|
15
|
+
require 'spork'
|
16
|
+
|
17
|
+
Spork.prefork do
|
18
|
+
puts "I'm loading all the heavy stuff..."
|
19
|
+
end
|
20
|
+
|
21
|
+
Spork.each_run do
|
22
|
+
puts "I'm loading the stuff just for this run..."
|
23
|
+
end
|
24
|
+
"""
|
25
|
+
And a file named "features/sample.feature" with:
|
26
|
+
"""
|
27
|
+
Feature: Sample
|
28
|
+
Scenario: this is a test
|
29
|
+
Given I am just testing stuff
|
30
|
+
"""
|
31
|
+
And a file named "features/step_definitions/all_your_steps_are_belong_to_us.rb" with:
|
32
|
+
"""
|
33
|
+
Given /^I am just testing stuff$/ do
|
34
|
+
# no-op
|
35
|
+
end
|
36
|
+
"""
|
37
|
+
|
38
|
+
Scenario: Feature Run with --drb flag
|
39
|
+
Given I am running "spork cuc" in the background
|
40
|
+
|
41
|
+
When I run cucumber features/sample.feature --drb
|
42
|
+
Then it should pass
|
43
|
+
And the output should contain
|
44
|
+
"""
|
45
|
+
1 step (1 passed)
|
46
|
+
"""
|
47
|
+
And the output should contain
|
48
|
+
"""
|
49
|
+
I'm loading the stuff just for this run...
|
50
|
+
"""
|
51
|
+
And the output should not contain
|
52
|
+
"""
|
53
|
+
I'm loading all the heavy stuff...
|
54
|
+
"""
|
55
|
+
|
56
|
+
|
57
|
+
Scenario: Feature Run with --drb flag with no DRb server running
|
58
|
+
Cucumber will fall back on running the features locally in this case.
|
59
|
+
|
60
|
+
Given I am not running a DRb server in the background
|
61
|
+
|
62
|
+
When I run cucumber features/sample.feature --drb
|
63
|
+
Then it should pass
|
64
|
+
And the output should contain
|
65
|
+
"""
|
66
|
+
No DRb server is running. Running features locally:
|
67
|
+
I'm loading all the heavy stuff...
|
68
|
+
I'm loading the stuff just for this run...
|
69
|
+
"""
|
70
|
+
|
71
|
+
Scenario: Feature Run with --drb flag *defined in a profile* with no DRb server running
|
72
|
+
|
73
|
+
Given I am not running a DRb server in the background
|
74
|
+
And the following profile is defined:
|
75
|
+
"""
|
76
|
+
server: --drb features
|
77
|
+
"""
|
78
|
+
|
79
|
+
When I run cucumber --profile server
|
80
|
+
Then it should pass
|
81
|
+
And the output should contain
|
82
|
+
"""
|
83
|
+
No DRb server is running. Running features locally:
|
84
|
+
I'm loading all the heavy stuff...
|
85
|
+
I'm loading the stuff just for this run...
|
86
|
+
"""
|
@@ -92,13 +92,13 @@
|
|
92
92
|
<div class="background">
|
93
93
|
<h3>
|
94
94
|
<span class="keyword">Background:</span>
|
95
|
-
|
95
|
+
<span class="val"></span>
|
96
96
|
</h3>
|
97
97
|
<ol>
|
98
98
|
<li class="step passed" id="features_background_background_tagged_before_on_outline_feature_5">
|
99
99
|
<div>
|
100
100
|
<span class="keyword">Given</span>
|
101
|
-
|
101
|
+
<span class="step val">
|
102
102
|
passing without a table </span>
|
103
103
|
</div>
|
104
104
|
</li>
|
@@ -107,19 +107,22 @@ passing without a table </span>
|
|
107
107
|
<div class="scenario outline">
|
108
108
|
<h3>
|
109
109
|
<span class="keyword">Scenario Outline:</span>
|
110
|
-
|
110
|
+
<span class="val">passing background</span>
|
111
111
|
</h3>
|
112
112
|
<ol>
|
113
113
|
<li class="step skipped" id="features_background_background_tagged_before_on_outline_feature_8">
|
114
114
|
<div>
|
115
115
|
<span class="keyword">Then</span>
|
116
|
-
|
116
|
+
<span class="step val">
|
117
117
|
I should have '<count>' cukes </span>
|
118
118
|
</div>
|
119
119
|
</li>
|
120
120
|
</ol>
|
121
121
|
<div class="examples">
|
122
|
-
<h4>
|
122
|
+
<h4>
|
123
|
+
<span class="keyword">Examples:</span>
|
124
|
+
<span class="val"></span>
|
125
|
+
</h4>
|
123
126
|
<table>
|
124
127
|
<tr id="row_11">
|
125
128
|
<th class="val skipped_param" id="row_11_0">count</th>
|
@@ -140,13 +143,13 @@ I should have '<count>' cukes </span>
|
|
140
143
|
<div class="background">
|
141
144
|
<h3>
|
142
145
|
<span class="keyword">Background:</span>
|
143
|
-
|
146
|
+
<span class="val">I'm a background and I'm ok</span>
|
144
147
|
</h3>
|
145
148
|
<ol>
|
146
149
|
<li class="step passed" id="features_background_background_with_name_feature_4">
|
147
150
|
<div>
|
148
151
|
<span class="keyword">Given</span>
|
149
|
-
|
152
|
+
<span class="step val">
|
150
153
|
'<span class="param">10</span>' cukes </span>
|
151
154
|
</div>
|
152
155
|
</li>
|
@@ -155,13 +158,13 @@ I should have '<count>' cukes </span>
|
|
155
158
|
<div class="scenario">
|
156
159
|
<h3>
|
157
160
|
<span class="keyword">Scenario:</span>
|
158
|
-
|
161
|
+
<span class="val">example</span>
|
159
162
|
</h3>
|
160
163
|
<ol>
|
161
164
|
<li class="step passed" id="features_background_background_with_name_feature_7">
|
162
165
|
<div>
|
163
166
|
<span class="keyword">Then</span>
|
164
|
-
|
167
|
+
<span class="step val">
|
165
168
|
I should have '<span class="param">10</span>' cukes </span>
|
166
169
|
</div>
|
167
170
|
</li>
|
@@ -178,13 +181,13 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
178
181
|
<div class="background">
|
179
182
|
<h3>
|
180
183
|
<span class="keyword">Background:</span>
|
181
|
-
|
184
|
+
<span class="val"></span>
|
182
185
|
</h3>
|
183
186
|
<ol>
|
184
187
|
<li class="step failed" id="features_background_failing_background_feature_5">
|
185
188
|
<div>
|
186
189
|
<span class="keyword">Given</span>
|
187
|
-
|
190
|
+
<span class="step val">
|
188
191
|
failing without a table </span>
|
189
192
|
</div>
|
190
193
|
<pre class="failed">FAIL (RuntimeError)
|
@@ -195,7 +198,7 @@ features/background/failing_background.feature:5:in `Given failing without a tab
|
|
195
198
|
<li class="step skipped" id="features_background_failing_background_feature_6">
|
196
199
|
<div>
|
197
200
|
<span class="keyword">And</span>
|
198
|
-
|
201
|
+
<span class="step val">
|
199
202
|
'<span class="param">10</span>' cukes </span>
|
200
203
|
</div>
|
201
204
|
</li>
|
@@ -204,13 +207,13 @@ features/background/failing_background.feature:5:in `Given failing without a tab
|
|
204
207
|
<div class="scenario">
|
205
208
|
<h3>
|
206
209
|
<span class="keyword">Scenario:</span>
|
207
|
-
|
210
|
+
<span class="val">failing background</span>
|
208
211
|
</h3>
|
209
212
|
<ol>
|
210
213
|
<li class="step skipped" id="features_background_failing_background_feature_9">
|
211
214
|
<div>
|
212
215
|
<span class="keyword">Then</span>
|
213
|
-
|
216
|
+
<span class="step val">
|
214
217
|
I should have '<span class="param">10</span>' cukes </span>
|
215
218
|
</div>
|
216
219
|
</li>
|
@@ -219,13 +222,13 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
219
222
|
<div class="scenario">
|
220
223
|
<h3>
|
221
224
|
<span class="keyword">Scenario:</span>
|
222
|
-
|
225
|
+
<span class="val">another failing background</span>
|
223
226
|
</h3>
|
224
227
|
<ol>
|
225
228
|
<li class="step skipped" id="features_background_failing_background_feature_12">
|
226
229
|
<div>
|
227
230
|
<span class="keyword">Then</span>
|
228
|
-
|
231
|
+
<span class="step val">
|
229
232
|
I should have '<span class="param">10</span>' cukes </span>
|
230
233
|
</div>
|
231
234
|
</li>
|
@@ -241,20 +244,20 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
241
244
|
<div class="background">
|
242
245
|
<h3>
|
243
246
|
<span class="keyword">Background:</span>
|
244
|
-
|
247
|
+
<span class="val"></span>
|
245
248
|
</h3>
|
246
249
|
<ol>
|
247
250
|
<li class="step passed" id="features_background_failing_background_after_success_feature_4">
|
248
251
|
<div>
|
249
252
|
<span class="keyword">Given</span>
|
250
|
-
|
253
|
+
<span class="step val">
|
251
254
|
passing without a table </span>
|
252
255
|
</div>
|
253
256
|
</li>
|
254
257
|
<li class="step passed" id="features_background_failing_background_after_success_feature_5">
|
255
258
|
<div>
|
256
259
|
<span class="keyword">And</span>
|
257
|
-
|
260
|
+
<span class="step val">
|
258
261
|
'<span class="param">10</span>' global cukes </span>
|
259
262
|
</div>
|
260
263
|
</li>
|
@@ -263,13 +266,13 @@ passing without a table </span>
|
|
263
266
|
<div class="scenario">
|
264
267
|
<h3>
|
265
268
|
<span class="keyword">Scenario:</span>
|
266
|
-
|
269
|
+
<span class="val">passing background</span>
|
267
270
|
</h3>
|
268
271
|
<ol>
|
269
272
|
<li class="step passed" id="features_background_failing_background_after_success_feature_8">
|
270
273
|
<div>
|
271
274
|
<span class="keyword">Then</span>
|
272
|
-
|
275
|
+
<span class="step val">
|
273
276
|
I should have '<span class="param">10</span>' global cukes </span>
|
274
277
|
</div>
|
275
278
|
</li>
|
@@ -278,7 +281,7 @@ I should have '<span class="param">10</span>' global cukes </span
|
|
278
281
|
<div class="scenario">
|
279
282
|
<h3>
|
280
283
|
<span class="keyword">Scenario:</span>
|
281
|
-
|
284
|
+
<span class="val">failing background</span>
|
282
285
|
</h3>
|
283
286
|
<ol>
|
284
287
|
<li class="step failed" id="features_background_failing_background_after_success_feature_5">
|
@@ -290,7 +293,7 @@ features/background/failing_background_after_success.feature:5:in `And '10' glob
|
|
290
293
|
<li class="step skipped" id="features_background_failing_background_after_success_feature_11">
|
291
294
|
<div>
|
292
295
|
<span class="keyword">Then</span>
|
293
|
-
|
296
|
+
<span class="step val">
|
294
297
|
I should have '<span class="param">10</span>' global cukes </span>
|
295
298
|
</div>
|
296
299
|
</li>
|
@@ -306,13 +309,13 @@ I should have '<span class="param">10</span>' global cukes </span
|
|
306
309
|
<div class="background">
|
307
310
|
<h3>
|
308
311
|
<span class="keyword">Background:</span>
|
309
|
-
|
312
|
+
<span class="val"></span>
|
310
313
|
</h3>
|
311
314
|
<ol>
|
312
315
|
<li class="step passed" id="features_background_multiline_args_background_feature_4">
|
313
316
|
<div>
|
314
317
|
<span class="keyword">Given</span>
|
315
|
-
|
318
|
+
<span class="step val">
|
316
319
|
table </span>
|
317
320
|
</div>
|
318
321
|
<table>
|
@@ -329,7 +332,7 @@ table </span>
|
|
329
332
|
<li class="step passed" id="features_background_multiline_args_background_feature_7">
|
330
333
|
<div>
|
331
334
|
<span class="keyword">And</span>
|
332
|
-
|
335
|
+
<span class="step val">
|
333
336
|
multiline string </span>
|
334
337
|
</div>
|
335
338
|
<pre class="val">
|
@@ -341,13 +344,13 @@ multiline string </span>
|
|
341
344
|
<div class="scenario">
|
342
345
|
<h3>
|
343
346
|
<span class="keyword">Scenario:</span>
|
344
|
-
|
347
|
+
<span class="val">passing background</span>
|
345
348
|
</h3>
|
346
349
|
<ol>
|
347
350
|
<li class="step passed" id="features_background_multiline_args_background_feature_14">
|
348
351
|
<div>
|
349
352
|
<span class="keyword">Then</span>
|
350
|
-
|
353
|
+
<span class="step val">
|
351
354
|
the table should be </span>
|
352
355
|
</div>
|
353
356
|
<table>
|
@@ -364,7 +367,7 @@ the table should be </span>
|
|
364
367
|
<li class="step passed" id="features_background_multiline_args_background_feature_17">
|
365
368
|
<div>
|
366
369
|
<span class="keyword">Then</span>
|
367
|
-
|
370
|
+
<span class="step val">
|
368
371
|
the multiline string should be </span>
|
369
372
|
</div>
|
370
373
|
<pre class="val">
|
@@ -376,13 +379,13 @@ the multiline string should be </span>
|
|
376
379
|
<div class="scenario">
|
377
380
|
<h3>
|
378
381
|
<span class="keyword">Scenario:</span>
|
379
|
-
|
382
|
+
<span class="val">another passing background</span>
|
380
383
|
</h3>
|
381
384
|
<ol>
|
382
385
|
<li class="step passed" id="features_background_multiline_args_background_feature_24">
|
383
386
|
<div>
|
384
387
|
<span class="keyword">Then</span>
|
385
|
-
|
388
|
+
<span class="step val">
|
386
389
|
the table should be </span>
|
387
390
|
</div>
|
388
391
|
<table>
|
@@ -399,7 +402,7 @@ the table should be </span>
|
|
399
402
|
<li class="step passed" id="features_background_multiline_args_background_feature_27">
|
400
403
|
<div>
|
401
404
|
<span class="keyword">Then</span>
|
402
|
-
|
405
|
+
<span class="step val">
|
403
406
|
the multiline string should be </span>
|
404
407
|
</div>
|
405
408
|
<pre class="val">
|
@@ -418,13 +421,13 @@ the multiline string should be </span>
|
|
418
421
|
<div class="background">
|
419
422
|
<h3>
|
420
423
|
<span class="keyword">Background:</span>
|
421
|
-
|
424
|
+
<span class="val"></span>
|
422
425
|
</h3>
|
423
426
|
<ol>
|
424
427
|
<li class="step passed" id="features_background_passing_background_feature_4">
|
425
428
|
<div>
|
426
429
|
<span class="keyword">Given</span>
|
427
|
-
|
430
|
+
<span class="step val">
|
428
431
|
'<span class="param">10</span>' cukes </span>
|
429
432
|
</div>
|
430
433
|
</li>
|
@@ -433,13 +436,13 @@ the multiline string should be </span>
|
|
433
436
|
<div class="scenario">
|
434
437
|
<h3>
|
435
438
|
<span class="keyword">Scenario:</span>
|
436
|
-
|
439
|
+
<span class="val">passing background</span>
|
437
440
|
</h3>
|
438
441
|
<ol>
|
439
442
|
<li class="step passed" id="features_background_passing_background_feature_7">
|
440
443
|
<div>
|
441
444
|
<span class="keyword">Then</span>
|
442
|
-
|
445
|
+
<span class="step val">
|
443
446
|
I should have '<span class="param">10</span>' cukes </span>
|
444
447
|
</div>
|
445
448
|
</li>
|
@@ -448,13 +451,13 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
448
451
|
<div class="scenario">
|
449
452
|
<h3>
|
450
453
|
<span class="keyword">Scenario:</span>
|
451
|
-
|
454
|
+
<span class="val">another passing background</span>
|
452
455
|
</h3>
|
453
456
|
<ol>
|
454
457
|
<li class="step passed" id="features_background_passing_background_feature_10">
|
455
458
|
<div>
|
456
459
|
<span class="keyword">Then</span>
|
457
|
-
|
460
|
+
<span class="step val">
|
458
461
|
I should have '<span class="param">10</span>' cukes </span>
|
459
462
|
</div>
|
460
463
|
</li>
|
@@ -470,13 +473,13 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
470
473
|
<div class="background">
|
471
474
|
<h3>
|
472
475
|
<span class="keyword">Background:</span>
|
473
|
-
|
476
|
+
<span class="val"></span>
|
474
477
|
</h3>
|
475
478
|
<ol>
|
476
479
|
<li class="step undefined" id="features_background_pending_background_feature_4">
|
477
480
|
<div>
|
478
481
|
<span class="keyword">Given</span>
|
479
|
-
|
482
|
+
<span class="step val">
|
480
483
|
pending </span>
|
481
484
|
</div>
|
482
485
|
</li>
|
@@ -485,13 +488,13 @@ pending </span>
|
|
485
488
|
<div class="scenario">
|
486
489
|
<h3>
|
487
490
|
<span class="keyword">Scenario:</span>
|
488
|
-
|
491
|
+
<span class="val">pending background</span>
|
489
492
|
</h3>
|
490
493
|
<ol>
|
491
494
|
<li class="step skipped" id="features_background_pending_background_feature_7">
|
492
495
|
<div>
|
493
496
|
<span class="keyword">Then</span>
|
494
|
-
|
497
|
+
<span class="step val">
|
495
498
|
I should have '<span class="param">10</span>' cukes </span>
|
496
499
|
</div>
|
497
500
|
</li>
|
@@ -500,13 +503,13 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
500
503
|
<div class="scenario">
|
501
504
|
<h3>
|
502
505
|
<span class="keyword">Scenario:</span>
|
503
|
-
|
506
|
+
<span class="val">another pending background</span>
|
504
507
|
</h3>
|
505
508
|
<ol>
|
506
509
|
<li class="step skipped" id="features_background_pending_background_feature_10">
|
507
510
|
<div>
|
508
511
|
<span class="keyword">Then</span>
|
509
|
-
|
512
|
+
<span class="step val">
|
510
513
|
I should have '<span class="param">10</span>' cukes </span>
|
511
514
|
</div>
|
512
515
|
</li>
|
@@ -522,13 +525,13 @@ I should have '<span class="param">10</span>' cukes </span>
|
|
522
525
|
<div class="background">
|
523
526
|
<h3>
|
524
527
|
<span class="keyword">Background:</span>
|
525
|
-
|
528
|
+
<span class="val"></span>
|
526
529
|
</h3>
|
527
530
|
<ol>
|
528
531
|
<li class="step failed" id="features_background_scenario_outline_failing_background_feature_4">
|
529
532
|
<div>
|
530
533
|
<span class="keyword">Given</span>
|
531
|
-
|
534
|
+
<span class="step val">
|
532
535
|
failing without a table </span>
|
533
536
|
</div>
|
534
537
|
<pre class="failed">FAIL (RuntimeError)
|
@@ -541,19 +544,22 @@ features/background/scenario_outline_failing_background.feature:4:in `Given fail
|
|
541
544
|
<div class="scenario outline">
|
542
545
|
<h3>
|
543
546
|
<span class="keyword">Scenario Outline:</span>
|
544
|
-
|
547
|
+
<span class="val">failing background</span>
|
545
548
|
</h3>
|
546
549
|
<ol>
|
547
550
|
<li class="step skipped" id="features_background_scenario_outline_failing_background_feature_7">
|
548
551
|
<div>
|
549
552
|
<span class="keyword">Then</span>
|
550
|
-
|
553
|
+
<span class="step val">
|
551
554
|
I should have '<count>' cukes </span>
|
552
555
|
</div>
|
553
556
|
</li>
|
554
557
|
</ol>
|
555
558
|
<div class="examples">
|
556
|
-
<h4>
|
559
|
+
<h4>
|
560
|
+
<span class="keyword">Examples:</span>
|
561
|
+
<span class="val"></span>
|
562
|
+
</h4>
|
557
563
|
<table>
|
558
564
|
<tr id="row_9">
|
559
565
|
<th class="val skipped_param" id="row_9_0">count</th>
|
@@ -562,7 +568,7 @@ I should have '<count>' cukes </span>
|
|
562
568
|
<td class="val skipped" id="row_10_0">10</td>
|
563
569
|
</tr>
|
564
570
|
<tr>
|
565
|
-
<td
|
571
|
+
<td colspan="1" class="failed">
|
566
572
|
<pre>
|
567
573
|
FAIL (RuntimeError)
|
568
574
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
@@ -576,19 +582,22 @@ features/background/scenario_outline_failing_background.feature:4:in `Given fail
|
|
576
582
|
<div class="scenario outline">
|
577
583
|
<h3>
|
578
584
|
<span class="keyword">Scenario Outline:</span>
|
579
|
-
|
585
|
+
<span class="val">another failing background</span>
|
580
586
|
</h3>
|
581
587
|
<ol>
|
582
588
|
<li class="step skipped" id="features_background_scenario_outline_failing_background_feature_13">
|
583
589
|
<div>
|
584
590
|
<span class="keyword">Then</span>
|
585
|
-
|
591
|
+
<span class="step val">
|
586
592
|
I should have '<count>' cukes </span>
|
587
593
|
</div>
|
588
594
|
</li>
|
589
595
|
</ol>
|
590
596
|
<div class="examples">
|
591
|
-
<h4>
|
597
|
+
<h4>
|
598
|
+
<span class="keyword">Examples:</span>
|
599
|
+
<span class="val"></span>
|
600
|
+
</h4>
|
592
601
|
<table>
|
593
602
|
<tr id="row_15">
|
594
603
|
<th class="val skipped_param" id="row_15_0">count</th>
|
@@ -609,13 +618,13 @@ I should have '<count>' cukes </span>
|
|
609
618
|
<div class="background">
|
610
619
|
<h3>
|
611
620
|
<span class="keyword">Background:</span>
|
612
|
-
|
621
|
+
<span class="val"></span>
|
613
622
|
</h3>
|
614
623
|
<ol>
|
615
624
|
<li class="step passed" id="features_background_scenario_outline_passing_background_feature_4">
|
616
625
|
<div>
|
617
626
|
<span class="keyword">Given</span>
|
618
|
-
|
627
|
+
<span class="step val">
|
619
628
|
'<span class="param">10</span>' cukes </span>
|
620
629
|
</div>
|
621
630
|
</li>
|
@@ -624,19 +633,22 @@ I should have '<count>' cukes </span>
|
|
624
633
|
<div class="scenario outline">
|
625
634
|
<h3>
|
626
635
|
<span class="keyword">Scenario Outline:</span>
|
627
|
-
|
636
|
+
<span class="val">passing background</span>
|
628
637
|
</h3>
|
629
638
|
<ol>
|
630
639
|
<li class="step skipped" id="features_background_scenario_outline_passing_background_feature_7">
|
631
640
|
<div>
|
632
641
|
<span class="keyword">Then</span>
|
633
|
-
|
642
|
+
<span class="step val">
|
634
643
|
I should have '<count>' cukes </span>
|
635
644
|
</div>
|
636
645
|
</li>
|
637
646
|
</ol>
|
638
647
|
<div class="examples">
|
639
|
-
<h4>
|
648
|
+
<h4>
|
649
|
+
<span class="keyword">Examples:</span>
|
650
|
+
<span class="val"></span>
|
651
|
+
</h4>
|
640
652
|
<table>
|
641
653
|
<tr id="row_9">
|
642
654
|
<th class="val skipped_param" id="row_9_0">count</th>
|
@@ -650,19 +662,22 @@ I should have '<count>' cukes </span>
|
|
650
662
|
<div class="scenario outline">
|
651
663
|
<h3>
|
652
664
|
<span class="keyword">Scenario Outline:</span>
|
653
|
-
|
665
|
+
<span class="val">another passing background</span>
|
654
666
|
</h3>
|
655
667
|
<ol>
|
656
668
|
<li class="step skipped" id="features_background_scenario_outline_passing_background_feature_13">
|
657
669
|
<div>
|
658
670
|
<span class="keyword">Then</span>
|
659
|
-
|
671
|
+
<span class="step val">
|
660
672
|
I should have '<count>' cukes </span>
|
661
673
|
</div>
|
662
674
|
</li>
|
663
675
|
</ol>
|
664
676
|
<div class="examples">
|
665
|
-
<h4>
|
677
|
+
<h4>
|
678
|
+
<span class="keyword">Examples:</span>
|
679
|
+
<span class="val"></span>
|
680
|
+
</h4>
|
666
681
|
<table>
|
667
682
|
<tr id="row_15">
|
668
683
|
<th class="val skipped_param" id="row_15_0">count</th>
|
@@ -683,13 +698,13 @@ I should have '<count>' cukes </span>
|
|
683
698
|
<div class="scenario">
|
684
699
|
<h3>
|
685
700
|
<span class="keyword">Scenario:</span>
|
686
|
-
|
701
|
+
<span class="val">Call directly</span>
|
687
702
|
</h3>
|
688
703
|
<ol>
|
689
704
|
<li class="step undefined" id="features_call_undefined_step_from_step_def_feature_4">
|
690
705
|
<div>
|
691
706
|
<span class="keyword">Given</span>
|
692
|
-
|
707
|
+
<span class="step val">
|
693
708
|
a step definition that calls an undefined step </span>
|
694
709
|
</div>
|
695
710
|
<pre class="undefined">Undefined step: "this does not exist" (Cucumber::Undefined)
|
@@ -701,13 +716,13 @@ features/call_undefined_step_from_step_def.feature:4:in `Given a step definition
|
|
701
716
|
<div class="scenario">
|
702
717
|
<h3>
|
703
718
|
<span class="keyword">Scenario:</span>
|
704
|
-
|
719
|
+
<span class="val">Call via another</span>
|
705
720
|
</h3>
|
706
721
|
<ol>
|
707
722
|
<li class="step undefined" id="features_call_undefined_step_from_step_def_feature_7">
|
708
723
|
<div>
|
709
724
|
<span class="keyword">Given</span>
|
710
|
-
|
725
|
+
<span class="step val">
|
711
726
|
call step "<span class="param">a step definition that calls an undefined step</span>" </span>
|
712
727
|
</div>
|
713
728
|
<pre class="undefined">Undefined step: "this does not exist" (Cucumber::Undefined)
|
@@ -726,13 +741,13 @@ features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step
|
|
726
741
|
<div class="scenario">
|
727
742
|
<h3>
|
728
743
|
<span class="keyword">Scenario:</span>
|
729
|
-
|
744
|
+
<span class="val">Failing expectation</span>
|
730
745
|
</h3>
|
731
746
|
<ol>
|
732
747
|
<li class="step failed" id="features_failing_expectation_feature_4">
|
733
748
|
<div>
|
734
749
|
<span class="keyword">Given</span>
|
735
|
-
|
750
|
+
<span class="step val">
|
736
751
|
failing expectation </span>
|
737
752
|
</div>
|
738
753
|
<pre class="failed">expected: "that",
|
@@ -757,41 +772,41 @@ features/failing_expectation.feature:4:in `Given failing expectation'</pre>
|
|
757
772
|
<div class="scenario">
|
758
773
|
<h3>
|
759
774
|
<span class="keyword">Scenario:</span>
|
760
|
-
|
775
|
+
<span class="val">Implement me</span>
|
761
776
|
</h3>
|
762
777
|
<ol>
|
763
778
|
<li class="step undefined" id="features_lots_of_undefined_feature_4">
|
764
779
|
<div>
|
765
780
|
<span class="keyword">Given</span>
|
766
|
-
|
781
|
+
<span class="step val">
|
767
782
|
it snows in Sahara </span>
|
768
783
|
</div>
|
769
784
|
</li>
|
770
785
|
<li class="step undefined" id="features_lots_of_undefined_feature_5">
|
771
786
|
<div>
|
772
787
|
<span class="keyword">Given</span>
|
773
|
-
|
788
|
+
<span class="step val">
|
774
789
|
it's 40 degrees in Norway </span>
|
775
790
|
</div>
|
776
791
|
</li>
|
777
792
|
<li class="step undefined" id="features_lots_of_undefined_feature_6">
|
778
793
|
<div>
|
779
794
|
<span class="keyword">And</span>
|
780
|
-
|
795
|
+
<span class="step val">
|
781
796
|
it's 40 degrees in Norway </span>
|
782
797
|
</div>
|
783
798
|
</li>
|
784
799
|
<li class="step undefined" id="features_lots_of_undefined_feature_7">
|
785
800
|
<div>
|
786
801
|
<span class="keyword">When</span>
|
787
|
-
|
802
|
+
<span class="step val">
|
788
803
|
I stop procrastinating </span>
|
789
804
|
</div>
|
790
805
|
</li>
|
791
806
|
<li class="step undefined" id="features_lots_of_undefined_feature_8">
|
792
807
|
<div>
|
793
808
|
<span class="keyword">And</span>
|
794
|
-
|
809
|
+
<span class="step val">
|
795
810
|
there is world peace </span>
|
796
811
|
</div>
|
797
812
|
</li>
|
@@ -807,7 +822,7 @@ there is world peace </span>
|
|
807
822
|
<div class="background">
|
808
823
|
<h3>
|
809
824
|
<span class="keyword">Background:</span>
|
810
|
-
|
825
|
+
<span class="val">I'm a multiline name
|
811
826
|
which goes on and on and on for three lines
|
812
827
|
yawn</span>
|
813
828
|
</h3>
|
@@ -815,7 +830,7 @@ yawn</span>
|
|
815
830
|
<li class="step passed" id="features_multiline_name_feature_6">
|
816
831
|
<div>
|
817
832
|
<span class="keyword">Given</span>
|
818
|
-
|
833
|
+
<span class="step val">
|
819
834
|
passing without a table </span>
|
820
835
|
</div>
|
821
836
|
</li>
|
@@ -824,7 +839,7 @@ passing without a table </span>
|
|
824
839
|
<div class="scenario">
|
825
840
|
<h3>
|
826
841
|
<span class="keyword">Scenario:</span>
|
827
|
-
|
842
|
+
<span class="val">I'm a multiline name
|
828
843
|
which goes on and on and on for three lines
|
829
844
|
yawn</span>
|
830
845
|
</h3>
|
@@ -832,7 +847,7 @@ yawn</span>
|
|
832
847
|
<li class="step passed" id="features_multiline_name_feature_11">
|
833
848
|
<div>
|
834
849
|
<span class="keyword">Given</span>
|
835
|
-
|
850
|
+
<span class="step val">
|
836
851
|
passing without a table </span>
|
837
852
|
</div>
|
838
853
|
</li>
|
@@ -841,7 +856,7 @@ passing without a table </span>
|
|
841
856
|
<div class="scenario outline">
|
842
857
|
<h3>
|
843
858
|
<span class="keyword">Scenario Outline:</span>
|
844
|
-
|
859
|
+
<span class="val">I'm a multiline name
|
845
860
|
which goes on and on and on for three lines
|
846
861
|
yawn</span>
|
847
862
|
</h3>
|
@@ -849,13 +864,16 @@ yawn</span>
|
|
849
864
|
<li class="step skipped" id="features_multiline_name_feature_16">
|
850
865
|
<div>
|
851
866
|
<span class="keyword">Given</span>
|
852
|
-
|
867
|
+
<span class="step val">
|
853
868
|
<state> without a table </span>
|
854
869
|
</div>
|
855
870
|
</li>
|
856
871
|
</ol>
|
857
872
|
<div class="examples">
|
858
|
-
<h4>
|
873
|
+
<h4>
|
874
|
+
<span class="keyword">Examples:</span>
|
875
|
+
<span class="val"></span>
|
876
|
+
</h4>
|
859
877
|
<table>
|
860
878
|
<tr id="row_18">
|
861
879
|
<th class="val skipped_param" id="row_18_0">state</th>
|
@@ -869,21 +887,24 @@ yawn</span>
|
|
869
887
|
<div class="scenario outline">
|
870
888
|
<h3>
|
871
889
|
<span class="keyword">Scenario Outline:</span>
|
872
|
-
|
890
|
+
<span class="val">name</span>
|
873
891
|
</h3>
|
874
892
|
<ol>
|
875
893
|
<li class="step skipped" id="features_multiline_name_feature_22">
|
876
894
|
<div>
|
877
895
|
<span class="keyword">Given</span>
|
878
|
-
|
896
|
+
<span class="step val">
|
879
897
|
<state> without a table </span>
|
880
898
|
</div>
|
881
899
|
</li>
|
882
900
|
</ol>
|
883
901
|
<div class="examples">
|
884
|
-
<h4>
|
902
|
+
<h4>
|
903
|
+
<span class="keyword">Examples:</span>
|
904
|
+
<span class="val">I'm a multiline name
|
885
905
|
which goes on and on and on for three lines
|
886
|
-
yawn</
|
906
|
+
yawn</span>
|
907
|
+
</h4>
|
887
908
|
<table>
|
888
909
|
<tr id="row_26">
|
889
910
|
<th class="val skipped_param" id="row_26_0">state</th>
|
@@ -904,7 +925,7 @@ yawn</h4>
|
|
904
925
|
<div class="scenario">
|
905
926
|
<h3>
|
906
927
|
<span class="keyword">Scenario:</span>
|
907
|
-
|
928
|
+
<span class="val">I have no steps</span>
|
908
929
|
</h3>
|
909
930
|
<ol>
|
910
931
|
</ol>
|
@@ -912,26 +933,29 @@ yawn</h4>
|
|
912
933
|
<div class="scenario outline">
|
913
934
|
<h3>
|
914
935
|
<span class="keyword">Scenario Outline:</span>
|
915
|
-
|
936
|
+
<span class="val">Test state</span>
|
916
937
|
</h3>
|
917
938
|
<ol>
|
918
939
|
<li class="step skipped" id="features_outline_sample_feature_6">
|
919
940
|
<div>
|
920
941
|
<span class="keyword">Given</span>
|
921
|
-
|
942
|
+
<span class="step val">
|
922
943
|
<state> without a table </span>
|
923
944
|
</div>
|
924
945
|
</li>
|
925
946
|
<li class="step skipped" id="features_outline_sample_feature_7">
|
926
947
|
<div>
|
927
948
|
<span class="keyword">Given</span>
|
928
|
-
|
949
|
+
<span class="step val">
|
929
950
|
<other_state> without a table </span>
|
930
951
|
</div>
|
931
952
|
</li>
|
932
953
|
</ol>
|
933
954
|
<div class="examples">
|
934
|
-
<h4>
|
955
|
+
<h4>
|
956
|
+
<span class="keyword">Examples:</span>
|
957
|
+
<span class="val">Rainbow colours</span>
|
958
|
+
</h4>
|
935
959
|
<table>
|
936
960
|
<tr id="row_9">
|
937
961
|
<th class="val skipped_param" id="row_9_0">state</th>
|
@@ -950,7 +974,7 @@ yawn</h4>
|
|
950
974
|
<td class="val skipped" id="row_12_1">passing</td>
|
951
975
|
</tr>
|
952
976
|
<tr>
|
953
|
-
<td
|
977
|
+
<td colspan="2" class="failed">
|
954
978
|
<pre>
|
955
979
|
FAIL (RuntimeError)
|
956
980
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
@@ -961,7 +985,10 @@ features/outline_sample.feature:6:in `Given <state> without a table'
|
|
961
985
|
</table>
|
962
986
|
</div>
|
963
987
|
<div class="examples">
|
964
|
-
<h4>
|
988
|
+
<h4>
|
989
|
+
<span class="keyword">Examples:</span>
|
990
|
+
<span class="val">Only passing</span>
|
991
|
+
</h4>
|
965
992
|
<table>
|
966
993
|
<tr id="row_14">
|
967
994
|
<th class="val skipped_param" id="row_14_0">state</th>
|
@@ -990,13 +1017,13 @@ features/outline_sample.feature:6:in `Given <state> without a table'
|
|
990
1017
|
<span class="tag">@three</span>
|
991
1018
|
<h3>
|
992
1019
|
<span class="keyword">Scenario:</span>
|
993
|
-
|
1020
|
+
<span class="val">Missing</span>
|
994
1021
|
</h3>
|
995
1022
|
<ol>
|
996
1023
|
<li class="step undefined" id="features_sample_feature_7">
|
997
1024
|
<div>
|
998
1025
|
<span class="keyword">Given</span>
|
999
|
-
|
1026
|
+
<span class="step val">
|
1000
1027
|
missing </span>
|
1001
1028
|
</div>
|
1002
1029
|
</li>
|
@@ -1009,13 +1036,13 @@ missing </span>
|
|
1009
1036
|
<span class="tag">@three</span>
|
1010
1037
|
<h3>
|
1011
1038
|
<span class="keyword">Scenario:</span>
|
1012
|
-
|
1039
|
+
<span class="val">Passing</span>
|
1013
1040
|
</h3>
|
1014
1041
|
<ol>
|
1015
1042
|
<li class="step passed" id="features_sample_feature_12">
|
1016
1043
|
<div>
|
1017
1044
|
<span class="keyword">Given</span>
|
1018
|
-
|
1045
|
+
<span class="step val">
|
1019
1046
|
passing </span>
|
1020
1047
|
</div>
|
1021
1048
|
<table>
|
@@ -1035,13 +1062,13 @@ passing </span>
|
|
1035
1062
|
<span class="tag">@four</span>
|
1036
1063
|
<h3>
|
1037
1064
|
<span class="keyword">Scenario:</span>
|
1038
|
-
|
1065
|
+
<span class="val">Failing</span>
|
1039
1066
|
</h3>
|
1040
1067
|
<ol>
|
1041
1068
|
<li class="step failed" id="features_sample_feature_18">
|
1042
1069
|
<div>
|
1043
1070
|
<span class="keyword">Given</span>
|
1044
|
-
|
1071
|
+
<span class="step val">
|
1045
1072
|
failing </span>
|
1046
1073
|
</div>
|
1047
1074
|
<pre class="val">
|
@@ -1063,13 +1090,13 @@ features/sample.feature:18:in `Given failing'</pre>
|
|
1063
1090
|
<div class="background">
|
1064
1091
|
<h3>
|
1065
1092
|
<span class="keyword">Background:</span>
|
1066
|
-
|
1093
|
+
<span class="val">Hantu Pisang background match</span>
|
1067
1094
|
</h3>
|
1068
1095
|
<ol>
|
1069
1096
|
<li class="step passed" id="features_search_sample_feature_4">
|
1070
1097
|
<div>
|
1071
1098
|
<span class="keyword">Given</span>
|
1072
|
-
|
1099
|
+
<span class="step val">
|
1073
1100
|
passing without a table </span>
|
1074
1101
|
</div>
|
1075
1102
|
</li>
|
@@ -1078,13 +1105,13 @@ passing without a table </span>
|
|
1078
1105
|
<div class="scenario">
|
1079
1106
|
<h3>
|
1080
1107
|
<span class="keyword">Scenario:</span>
|
1081
|
-
|
1108
|
+
<span class="val">should match Hantu Pisang</span>
|
1082
1109
|
</h3>
|
1083
1110
|
<ol>
|
1084
1111
|
<li class="step passed" id="features_search_sample_feature_7">
|
1085
1112
|
<div>
|
1086
1113
|
<span class="keyword">Given</span>
|
1087
|
-
|
1114
|
+
<span class="step val">
|
1088
1115
|
passing without a table </span>
|
1089
1116
|
</div>
|
1090
1117
|
</li>
|
@@ -1093,13 +1120,13 @@ passing without a table </span>
|
|
1093
1120
|
<div class="scenario">
|
1094
1121
|
<h3>
|
1095
1122
|
<span class="keyword">Scenario:</span>
|
1096
|
-
|
1123
|
+
<span class="val">Ignore me</span>
|
1097
1124
|
</h3>
|
1098
1125
|
<ol>
|
1099
1126
|
<li class="step failed" id="features_search_sample_feature_10">
|
1100
1127
|
<div>
|
1101
1128
|
<span class="keyword">Given</span>
|
1102
|
-
|
1129
|
+
<span class="step val">
|
1103
1130
|
failing without a table </span>
|
1104
1131
|
</div>
|
1105
1132
|
<pre class="failed">FAIL (RuntimeError)
|
@@ -1112,19 +1139,22 @@ features/search_sample.feature:10:in `Given failing without a table'</pre>
|
|
1112
1139
|
<div class="scenario outline">
|
1113
1140
|
<h3>
|
1114
1141
|
<span class="keyword">Scenario Outline:</span>
|
1115
|
-
|
1142
|
+
<span class="val">Ignore me</span>
|
1116
1143
|
</h3>
|
1117
1144
|
<ol>
|
1118
1145
|
<li class="step skipped" id="features_search_sample_feature_13">
|
1119
1146
|
<div>
|
1120
1147
|
<span class="keyword">Given</span>
|
1121
|
-
|
1148
|
+
<span class="step val">
|
1122
1149
|
<state> without a table </span>
|
1123
1150
|
</div>
|
1124
1151
|
</li>
|
1125
1152
|
</ol>
|
1126
1153
|
<div class="examples">
|
1127
|
-
<h4>
|
1154
|
+
<h4>
|
1155
|
+
<span class="keyword">Examples:</span>
|
1156
|
+
<span class="val"></span>
|
1157
|
+
</h4>
|
1128
1158
|
<table>
|
1129
1159
|
<tr id="row_15">
|
1130
1160
|
<th class="val skipped_param" id="row_15_0">state</th>
|
@@ -1133,7 +1163,7 @@ features/search_sample.feature:10:in `Given failing without a table'</pre>
|
|
1133
1163
|
<td class="val failed" id="row_16_0">failing</td>
|
1134
1164
|
</tr>
|
1135
1165
|
<tr>
|
1136
|
-
<td
|
1166
|
+
<td colspan="1" class="failed">
|
1137
1167
|
<pre>
|
1138
1168
|
FAIL (RuntimeError)
|
1139
1169
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
@@ -1147,19 +1177,22 @@ features/search_sample.feature:13:in `Given <state> without a table'
|
|
1147
1177
|
<div class="scenario outline">
|
1148
1178
|
<h3>
|
1149
1179
|
<span class="keyword">Scenario Outline:</span>
|
1150
|
-
|
1180
|
+
<span class="val">Hantu Pisang match</span>
|
1151
1181
|
</h3>
|
1152
1182
|
<ol>
|
1153
1183
|
<li class="step skipped" id="features_search_sample_feature_19">
|
1154
1184
|
<div>
|
1155
1185
|
<span class="keyword">Given</span>
|
1156
|
-
|
1186
|
+
<span class="step val">
|
1157
1187
|
<state> without a table </span>
|
1158
1188
|
</div>
|
1159
1189
|
</li>
|
1160
1190
|
</ol>
|
1161
1191
|
<div class="examples">
|
1162
|
-
<h4>
|
1192
|
+
<h4>
|
1193
|
+
<span class="keyword">Examples:</span>
|
1194
|
+
<span class="val"></span>
|
1195
|
+
</h4>
|
1163
1196
|
<table>
|
1164
1197
|
<tr id="row_21">
|
1165
1198
|
<th class="val skipped_param" id="row_21_0">state</th>
|
@@ -1173,19 +1206,22 @@ features/search_sample.feature:13:in `Given <state> without a table'
|
|
1173
1206
|
<div class="scenario outline">
|
1174
1207
|
<h3>
|
1175
1208
|
<span class="keyword">Scenario Outline:</span>
|
1176
|
-
|
1209
|
+
<span class="val">no match in name but in examples</span>
|
1177
1210
|
</h3>
|
1178
1211
|
<ol>
|
1179
1212
|
<li class="step skipped" id="features_search_sample_feature_25">
|
1180
1213
|
<div>
|
1181
1214
|
<span class="keyword">Given</span>
|
1182
|
-
|
1215
|
+
<span class="step val">
|
1183
1216
|
<state> without a table </span>
|
1184
1217
|
</div>
|
1185
1218
|
</li>
|
1186
1219
|
</ol>
|
1187
1220
|
<div class="examples">
|
1188
|
-
<h4>
|
1221
|
+
<h4>
|
1222
|
+
<span class="keyword">Examples:</span>
|
1223
|
+
<span class="val">Hantu Pisang</span>
|
1224
|
+
</h4>
|
1189
1225
|
<table>
|
1190
1226
|
<tr id="row_27">
|
1191
1227
|
<th class="val skipped_param" id="row_27_0">state</th>
|
@@ -1196,7 +1232,10 @@ features/search_sample.feature:13:in `Given <state> without a table'
|
|
1196
1232
|
</table>
|
1197
1233
|
</div>
|
1198
1234
|
<div class="examples">
|
1199
|
-
<h4>
|
1235
|
+
<h4>
|
1236
|
+
<span class="keyword">Examples:</span>
|
1237
|
+
<span class="val">Ignore me</span>
|
1238
|
+
</h4>
|
1200
1239
|
<table>
|
1201
1240
|
<tr id="row_31">
|
1202
1241
|
<th class="val skipped_param" id="row_31_0">state</th>
|
@@ -1205,7 +1244,7 @@ features/search_sample.feature:13:in `Given <state> without a table'
|
|
1205
1244
|
<td class="val failed" id="row_32_0">failing</td>
|
1206
1245
|
</tr>
|
1207
1246
|
<tr>
|
1208
|
-
<td
|
1247
|
+
<td colspan="1" class="failed">
|
1209
1248
|
<pre>
|
1210
1249
|
FAIL (RuntimeError)
|
1211
1250
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
@@ -1227,20 +1266,20 @@ features/search_sample.feature:25:in `Given <state> without a table'
|
|
1227
1266
|
<div class="scenario">
|
1228
1267
|
<h3>
|
1229
1268
|
<span class="keyword">Scenario:</span>
|
1230
|
-
|
1269
|
+
<span class="val">Lots and lots</span>
|
1231
1270
|
</h3>
|
1232
1271
|
<ol>
|
1233
1272
|
<li class="step passed" id="features_tons_of_cukes_feature_4">
|
1234
1273
|
<div>
|
1235
1274
|
<span class="keyword">Given</span>
|
1236
|
-
|
1275
|
+
<span class="step val">
|
1237
1276
|
'<span class="param">2</span>' cukes </span>
|
1238
1277
|
</div>
|
1239
1278
|
</li>
|
1240
1279
|
<li class="step failed" id="features_tons_of_cukes_feature_5">
|
1241
1280
|
<div>
|
1242
1281
|
<span class="keyword">Given</span>
|
1243
|
-
|
1282
|
+
<span class="step val">
|
1244
1283
|
'<span class="param">2</span>' cukes </span>
|
1245
1284
|
</div>
|
1246
1285
|
<pre class="failed">We already have 2 cukes! (RuntimeError)
|
@@ -1250,329 +1289,329 @@ features/tons_of_cukes.feature:5:in `Given '2' cukes'</pre>
|
|
1250
1289
|
<li class="step skipped" id="features_tons_of_cukes_feature_6">
|
1251
1290
|
<div>
|
1252
1291
|
<span class="keyword">Given</span>
|
1253
|
-
|
1292
|
+
<span class="step val">
|
1254
1293
|
'<span class="param">2</span>' cukes </span>
|
1255
1294
|
</div>
|
1256
1295
|
</li>
|
1257
1296
|
<li class="step skipped" id="features_tons_of_cukes_feature_7">
|
1258
1297
|
<div>
|
1259
1298
|
<span class="keyword">Given</span>
|
1260
|
-
|
1299
|
+
<span class="step val">
|
1261
1300
|
'<span class="param">2</span>' cukes </span>
|
1262
1301
|
</div>
|
1263
1302
|
</li>
|
1264
1303
|
<li class="step skipped" id="features_tons_of_cukes_feature_8">
|
1265
1304
|
<div>
|
1266
1305
|
<span class="keyword">Given</span>
|
1267
|
-
|
1306
|
+
<span class="step val">
|
1268
1307
|
'<span class="param">2</span>' cukes </span>
|
1269
1308
|
</div>
|
1270
1309
|
</li>
|
1271
1310
|
<li class="step skipped" id="features_tons_of_cukes_feature_9">
|
1272
1311
|
<div>
|
1273
1312
|
<span class="keyword">Given</span>
|
1274
|
-
|
1313
|
+
<span class="step val">
|
1275
1314
|
'<span class="param">2</span>' cukes </span>
|
1276
1315
|
</div>
|
1277
1316
|
</li>
|
1278
1317
|
<li class="step skipped" id="features_tons_of_cukes_feature_10">
|
1279
1318
|
<div>
|
1280
1319
|
<span class="keyword">Given</span>
|
1281
|
-
|
1320
|
+
<span class="step val">
|
1282
1321
|
'<span class="param">2</span>' cukes </span>
|
1283
1322
|
</div>
|
1284
1323
|
</li>
|
1285
1324
|
<li class="step skipped" id="features_tons_of_cukes_feature_11">
|
1286
1325
|
<div>
|
1287
1326
|
<span class="keyword">Given</span>
|
1288
|
-
|
1327
|
+
<span class="step val">
|
1289
1328
|
'<span class="param">2</span>' cukes </span>
|
1290
1329
|
</div>
|
1291
1330
|
</li>
|
1292
1331
|
<li class="step skipped" id="features_tons_of_cukes_feature_12">
|
1293
1332
|
<div>
|
1294
1333
|
<span class="keyword">Given</span>
|
1295
|
-
|
1334
|
+
<span class="step val">
|
1296
1335
|
'<span class="param">2</span>' cukes </span>
|
1297
1336
|
</div>
|
1298
1337
|
</li>
|
1299
1338
|
<li class="step skipped" id="features_tons_of_cukes_feature_13">
|
1300
1339
|
<div>
|
1301
1340
|
<span class="keyword">Given</span>
|
1302
|
-
|
1341
|
+
<span class="step val">
|
1303
1342
|
'<span class="param">2</span>' cukes </span>
|
1304
1343
|
</div>
|
1305
1344
|
</li>
|
1306
1345
|
<li class="step skipped" id="features_tons_of_cukes_feature_14">
|
1307
1346
|
<div>
|
1308
1347
|
<span class="keyword">Given</span>
|
1309
|
-
|
1348
|
+
<span class="step val">
|
1310
1349
|
'<span class="param">2</span>' cukes </span>
|
1311
1350
|
</div>
|
1312
1351
|
</li>
|
1313
1352
|
<li class="step skipped" id="features_tons_of_cukes_feature_15">
|
1314
1353
|
<div>
|
1315
1354
|
<span class="keyword">Given</span>
|
1316
|
-
|
1355
|
+
<span class="step val">
|
1317
1356
|
'<span class="param">2</span>' cukes </span>
|
1318
1357
|
</div>
|
1319
1358
|
</li>
|
1320
1359
|
<li class="step skipped" id="features_tons_of_cukes_feature_16">
|
1321
1360
|
<div>
|
1322
1361
|
<span class="keyword">Given</span>
|
1323
|
-
|
1362
|
+
<span class="step val">
|
1324
1363
|
'<span class="param">2</span>' cukes </span>
|
1325
1364
|
</div>
|
1326
1365
|
</li>
|
1327
1366
|
<li class="step skipped" id="features_tons_of_cukes_feature_17">
|
1328
1367
|
<div>
|
1329
1368
|
<span class="keyword">Given</span>
|
1330
|
-
|
1369
|
+
<span class="step val">
|
1331
1370
|
'<span class="param">2</span>' cukes </span>
|
1332
1371
|
</div>
|
1333
1372
|
</li>
|
1334
1373
|
<li class="step skipped" id="features_tons_of_cukes_feature_18">
|
1335
1374
|
<div>
|
1336
1375
|
<span class="keyword">Given</span>
|
1337
|
-
|
1376
|
+
<span class="step val">
|
1338
1377
|
'<span class="param">2</span>' cukes </span>
|
1339
1378
|
</div>
|
1340
1379
|
</li>
|
1341
1380
|
<li class="step skipped" id="features_tons_of_cukes_feature_19">
|
1342
1381
|
<div>
|
1343
1382
|
<span class="keyword">Given</span>
|
1344
|
-
|
1383
|
+
<span class="step val">
|
1345
1384
|
'<span class="param">2</span>' cukes </span>
|
1346
1385
|
</div>
|
1347
1386
|
</li>
|
1348
1387
|
<li class="step skipped" id="features_tons_of_cukes_feature_20">
|
1349
1388
|
<div>
|
1350
1389
|
<span class="keyword">Given</span>
|
1351
|
-
|
1390
|
+
<span class="step val">
|
1352
1391
|
'<span class="param">2</span>' cukes </span>
|
1353
1392
|
</div>
|
1354
1393
|
</li>
|
1355
1394
|
<li class="step skipped" id="features_tons_of_cukes_feature_21">
|
1356
1395
|
<div>
|
1357
1396
|
<span class="keyword">Given</span>
|
1358
|
-
|
1397
|
+
<span class="step val">
|
1359
1398
|
'<span class="param">2</span>' cukes </span>
|
1360
1399
|
</div>
|
1361
1400
|
</li>
|
1362
1401
|
<li class="step skipped" id="features_tons_of_cukes_feature_22">
|
1363
1402
|
<div>
|
1364
1403
|
<span class="keyword">Given</span>
|
1365
|
-
|
1404
|
+
<span class="step val">
|
1366
1405
|
'<span class="param">2</span>' cukes </span>
|
1367
1406
|
</div>
|
1368
1407
|
</li>
|
1369
1408
|
<li class="step skipped" id="features_tons_of_cukes_feature_23">
|
1370
1409
|
<div>
|
1371
1410
|
<span class="keyword">Given</span>
|
1372
|
-
|
1411
|
+
<span class="step val">
|
1373
1412
|
'<span class="param">2</span>' cukes </span>
|
1374
1413
|
</div>
|
1375
1414
|
</li>
|
1376
1415
|
<li class="step skipped" id="features_tons_of_cukes_feature_24">
|
1377
1416
|
<div>
|
1378
1417
|
<span class="keyword">Given</span>
|
1379
|
-
|
1418
|
+
<span class="step val">
|
1380
1419
|
'<span class="param">2</span>' cukes </span>
|
1381
1420
|
</div>
|
1382
1421
|
</li>
|
1383
1422
|
<li class="step skipped" id="features_tons_of_cukes_feature_25">
|
1384
1423
|
<div>
|
1385
1424
|
<span class="keyword">Given</span>
|
1386
|
-
|
1425
|
+
<span class="step val">
|
1387
1426
|
'<span class="param">2</span>' cukes </span>
|
1388
1427
|
</div>
|
1389
1428
|
</li>
|
1390
1429
|
<li class="step skipped" id="features_tons_of_cukes_feature_26">
|
1391
1430
|
<div>
|
1392
1431
|
<span class="keyword">Given</span>
|
1393
|
-
|
1432
|
+
<span class="step val">
|
1394
1433
|
'<span class="param">2</span>' cukes </span>
|
1395
1434
|
</div>
|
1396
1435
|
</li>
|
1397
1436
|
<li class="step skipped" id="features_tons_of_cukes_feature_27">
|
1398
1437
|
<div>
|
1399
1438
|
<span class="keyword">Given</span>
|
1400
|
-
|
1439
|
+
<span class="step val">
|
1401
1440
|
'<span class="param">2</span>' cukes </span>
|
1402
1441
|
</div>
|
1403
1442
|
</li>
|
1404
1443
|
<li class="step skipped" id="features_tons_of_cukes_feature_28">
|
1405
1444
|
<div>
|
1406
1445
|
<span class="keyword">Given</span>
|
1407
|
-
|
1446
|
+
<span class="step val">
|
1408
1447
|
'<span class="param">2</span>' cukes </span>
|
1409
1448
|
</div>
|
1410
1449
|
</li>
|
1411
1450
|
<li class="step skipped" id="features_tons_of_cukes_feature_29">
|
1412
1451
|
<div>
|
1413
1452
|
<span class="keyword">Given</span>
|
1414
|
-
|
1453
|
+
<span class="step val">
|
1415
1454
|
'<span class="param">2</span>' cukes </span>
|
1416
1455
|
</div>
|
1417
1456
|
</li>
|
1418
1457
|
<li class="step skipped" id="features_tons_of_cukes_feature_30">
|
1419
1458
|
<div>
|
1420
1459
|
<span class="keyword">Given</span>
|
1421
|
-
|
1460
|
+
<span class="step val">
|
1422
1461
|
'<span class="param">2</span>' cukes </span>
|
1423
1462
|
</div>
|
1424
1463
|
</li>
|
1425
1464
|
<li class="step skipped" id="features_tons_of_cukes_feature_31">
|
1426
1465
|
<div>
|
1427
1466
|
<span class="keyword">Given</span>
|
1428
|
-
|
1467
|
+
<span class="step val">
|
1429
1468
|
'<span class="param">2</span>' cukes </span>
|
1430
1469
|
</div>
|
1431
1470
|
</li>
|
1432
1471
|
<li class="step skipped" id="features_tons_of_cukes_feature_32">
|
1433
1472
|
<div>
|
1434
1473
|
<span class="keyword">Given</span>
|
1435
|
-
|
1474
|
+
<span class="step val">
|
1436
1475
|
'<span class="param">2</span>' cukes </span>
|
1437
1476
|
</div>
|
1438
1477
|
</li>
|
1439
1478
|
<li class="step skipped" id="features_tons_of_cukes_feature_33">
|
1440
1479
|
<div>
|
1441
1480
|
<span class="keyword">Given</span>
|
1442
|
-
|
1481
|
+
<span class="step val">
|
1443
1482
|
'<span class="param">2</span>' cukes </span>
|
1444
1483
|
</div>
|
1445
1484
|
</li>
|
1446
1485
|
<li class="step skipped" id="features_tons_of_cukes_feature_34">
|
1447
1486
|
<div>
|
1448
1487
|
<span class="keyword">Given</span>
|
1449
|
-
|
1488
|
+
<span class="step val">
|
1450
1489
|
'<span class="param">2</span>' cukes </span>
|
1451
1490
|
</div>
|
1452
1491
|
</li>
|
1453
1492
|
<li class="step skipped" id="features_tons_of_cukes_feature_35">
|
1454
1493
|
<div>
|
1455
1494
|
<span class="keyword">Given</span>
|
1456
|
-
|
1495
|
+
<span class="step val">
|
1457
1496
|
'<span class="param">2</span>' cukes </span>
|
1458
1497
|
</div>
|
1459
1498
|
</li>
|
1460
1499
|
<li class="step skipped" id="features_tons_of_cukes_feature_36">
|
1461
1500
|
<div>
|
1462
1501
|
<span class="keyword">Given</span>
|
1463
|
-
|
1502
|
+
<span class="step val">
|
1464
1503
|
'<span class="param">2</span>' cukes </span>
|
1465
1504
|
</div>
|
1466
1505
|
</li>
|
1467
1506
|
<li class="step skipped" id="features_tons_of_cukes_feature_37">
|
1468
1507
|
<div>
|
1469
1508
|
<span class="keyword">Given</span>
|
1470
|
-
|
1509
|
+
<span class="step val">
|
1471
1510
|
'<span class="param">2</span>' cukes </span>
|
1472
1511
|
</div>
|
1473
1512
|
</li>
|
1474
1513
|
<li class="step skipped" id="features_tons_of_cukes_feature_38">
|
1475
1514
|
<div>
|
1476
1515
|
<span class="keyword">Given</span>
|
1477
|
-
|
1516
|
+
<span class="step val">
|
1478
1517
|
'<span class="param">2</span>' cukes </span>
|
1479
1518
|
</div>
|
1480
1519
|
</li>
|
1481
1520
|
<li class="step skipped" id="features_tons_of_cukes_feature_39">
|
1482
1521
|
<div>
|
1483
1522
|
<span class="keyword">Given</span>
|
1484
|
-
|
1523
|
+
<span class="step val">
|
1485
1524
|
'<span class="param">2</span>' cukes </span>
|
1486
1525
|
</div>
|
1487
1526
|
</li>
|
1488
1527
|
<li class="step skipped" id="features_tons_of_cukes_feature_40">
|
1489
1528
|
<div>
|
1490
1529
|
<span class="keyword">Given</span>
|
1491
|
-
|
1530
|
+
<span class="step val">
|
1492
1531
|
'<span class="param">2</span>' cukes </span>
|
1493
1532
|
</div>
|
1494
1533
|
</li>
|
1495
1534
|
<li class="step skipped" id="features_tons_of_cukes_feature_41">
|
1496
1535
|
<div>
|
1497
1536
|
<span class="keyword">Given</span>
|
1498
|
-
|
1537
|
+
<span class="step val">
|
1499
1538
|
'<span class="param">2</span>' cukes </span>
|
1500
1539
|
</div>
|
1501
1540
|
</li>
|
1502
1541
|
<li class="step skipped" id="features_tons_of_cukes_feature_42">
|
1503
1542
|
<div>
|
1504
1543
|
<span class="keyword">Given</span>
|
1505
|
-
|
1544
|
+
<span class="step val">
|
1506
1545
|
'<span class="param">2</span>' cukes </span>
|
1507
1546
|
</div>
|
1508
1547
|
</li>
|
1509
1548
|
<li class="step skipped" id="features_tons_of_cukes_feature_43">
|
1510
1549
|
<div>
|
1511
1550
|
<span class="keyword">Given</span>
|
1512
|
-
|
1551
|
+
<span class="step val">
|
1513
1552
|
'<span class="param">2</span>' cukes </span>
|
1514
1553
|
</div>
|
1515
1554
|
</li>
|
1516
1555
|
<li class="step skipped" id="features_tons_of_cukes_feature_44">
|
1517
1556
|
<div>
|
1518
1557
|
<span class="keyword">Given</span>
|
1519
|
-
|
1558
|
+
<span class="step val">
|
1520
1559
|
'<span class="param">2</span>' cukes </span>
|
1521
1560
|
</div>
|
1522
1561
|
</li>
|
1523
1562
|
<li class="step skipped" id="features_tons_of_cukes_feature_45">
|
1524
1563
|
<div>
|
1525
1564
|
<span class="keyword">Given</span>
|
1526
|
-
|
1565
|
+
<span class="step val">
|
1527
1566
|
'<span class="param">2</span>' cukes </span>
|
1528
1567
|
</div>
|
1529
1568
|
</li>
|
1530
1569
|
<li class="step skipped" id="features_tons_of_cukes_feature_46">
|
1531
1570
|
<div>
|
1532
1571
|
<span class="keyword">Given</span>
|
1533
|
-
|
1572
|
+
<span class="step val">
|
1534
1573
|
'<span class="param">2</span>' cukes </span>
|
1535
1574
|
</div>
|
1536
1575
|
</li>
|
1537
1576
|
<li class="step skipped" id="features_tons_of_cukes_feature_47">
|
1538
1577
|
<div>
|
1539
1578
|
<span class="keyword">Given</span>
|
1540
|
-
|
1579
|
+
<span class="step val">
|
1541
1580
|
'<span class="param">2</span>' cukes </span>
|
1542
1581
|
</div>
|
1543
1582
|
</li>
|
1544
1583
|
<li class="step skipped" id="features_tons_of_cukes_feature_48">
|
1545
1584
|
<div>
|
1546
1585
|
<span class="keyword">Given</span>
|
1547
|
-
|
1586
|
+
<span class="step val">
|
1548
1587
|
'<span class="param">2</span>' cukes </span>
|
1549
1588
|
</div>
|
1550
1589
|
</li>
|
1551
1590
|
<li class="step skipped" id="features_tons_of_cukes_feature_49">
|
1552
1591
|
<div>
|
1553
1592
|
<span class="keyword">Given</span>
|
1554
|
-
|
1593
|
+
<span class="step val">
|
1555
1594
|
'<span class="param">2</span>' cukes </span>
|
1556
1595
|
</div>
|
1557
1596
|
</li>
|
1558
1597
|
<li class="step skipped" id="features_tons_of_cukes_feature_50">
|
1559
1598
|
<div>
|
1560
1599
|
<span class="keyword">Given</span>
|
1561
|
-
|
1600
|
+
<span class="step val">
|
1562
1601
|
'<span class="param">2</span>' cukes </span>
|
1563
1602
|
</div>
|
1564
1603
|
</li>
|
1565
1604
|
<li class="step skipped" id="features_tons_of_cukes_feature_51">
|
1566
1605
|
<div>
|
1567
1606
|
<span class="keyword">Given</span>
|
1568
|
-
|
1607
|
+
<span class="step val">
|
1569
1608
|
'<span class="param">2</span>' cukes </span>
|
1570
1609
|
</div>
|
1571
1610
|
</li>
|
1572
1611
|
<li class="step skipped" id="features_tons_of_cukes_feature_52">
|
1573
1612
|
<div>
|
1574
1613
|
<span class="keyword">Given</span>
|
1575
|
-
|
1614
|
+
<span class="step val">
|
1576
1615
|
'<span class="param">2</span>' cukes </span>
|
1577
1616
|
</div>
|
1578
1617
|
</li>
|
@@ -1588,13 +1627,13 @@ features/tons_of_cukes.feature:5:in `Given '2' cukes'</pre>
|
|
1588
1627
|
<div class="scenario">
|
1589
1628
|
<h3>
|
1590
1629
|
<span class="keyword">Scenario:</span>
|
1591
|
-
|
1630
|
+
<span class="val">pystring</span>
|
1592
1631
|
</h3>
|
1593
1632
|
<ol>
|
1594
1633
|
<li class="step undefined" id="features_undefined_multiline_args_feature_4">
|
1595
1634
|
<div>
|
1596
1635
|
<span class="keyword">Given</span>
|
1597
|
-
|
1636
|
+
<span class="step val">
|
1598
1637
|
a pystring </span>
|
1599
1638
|
</div>
|
1600
1639
|
<pre class="val">
|
@@ -1605,13 +1644,13 @@ a pystring </span>
|
|
1605
1644
|
<div class="scenario">
|
1606
1645
|
<h3>
|
1607
1646
|
<span class="keyword">Scenario:</span>
|
1608
|
-
|
1647
|
+
<span class="val">table</span>
|
1609
1648
|
</h3>
|
1610
1649
|
<ol>
|
1611
1650
|
<li class="step undefined" id="features_undefined_multiline_args_feature_10">
|
1612
1651
|
<div>
|
1613
1652
|
<span class="keyword">Given</span>
|
1614
|
-
|
1653
|
+
<span class="step val">
|
1615
1654
|
a table </span>
|
1616
1655
|
</div>
|
1617
1656
|
<table>
|