cucumber 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +1 -1
- data/History.txt +20 -0
- data/README.rdoc +1 -1
- data/bin/cucumber +1 -1
- data/cucumber.gemspec +19 -12
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/he/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/ro/features/adunare.feature +12 -0
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +4 -7
- data/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +3 -3
- data/features/background.feature +10 -10
- data/features/bootstrap.feature +13 -0
- data/features/execute_with_tag_filter.feature +2 -2
- data/features/hooks.feature +2 -2
- data/features/iso-8859-1.feature +6 -0
- data/features/stats_formatters.feature +2 -2
- data/features/step_definitions/cucumber_steps.rb +8 -2
- data/features/step_definitions/iso-8859-1_steps.rb +24 -0
- data/features/support/env.rb +2 -2
- data/features/tagged_hooks.feature +5 -5
- data/features/transforms.feature +63 -0
- data/gem_tasks/examples.rake +1 -1
- data/legacy_features/diffing.feature +1 -1
- data/legacy_features/html_formatter.feature +1 -1
- data/legacy_features/html_formatter/a.html +68 -116
- data/legacy_features/language_help.feature +44 -45
- data/legacy_features/wire_protocol.feature +2 -2
- data/legacy_features/wire_protocol_erb.feature +57 -0
- data/lib/cucumber/ast/table.rb +2 -2
- data/lib/cucumber/ast/tree_walker.rb +2 -2
- data/lib/cucumber/cli/configuration.rb +1 -1
- data/lib/cucumber/cli/options.rb +4 -0
- data/lib/cucumber/feature_file.rb +45 -6
- data/lib/cucumber/formatter/console.rb +1 -1
- data/lib/cucumber/formatter/cucumber.css +21 -17
- data/lib/cucumber/formatter/cucumber.sass +170 -194
- data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +2 -2
- data/lib/cucumber/formatter/html.rb +8 -5
- data/lib/cucumber/platform.rb +3 -3
- data/lib/cucumber/rake/task.rb +22 -15
- data/lib/cucumber/rb_support/rb_transform.rb +17 -0
- data/lib/cucumber/rb_support/rb_world.rb +2 -2
- data/lib/cucumber/runtime/for_programming_languages.rb +3 -1
- data/lib/cucumber/runtime/user_interface.rb +2 -2
- data/lib/cucumber/wire_support/configuration.rb +2 -1
- data/spec/cucumber/ast/table_spec.rb +10 -0
- data/spec/cucumber/cli/options_spec.rb +7 -0
- data/spec/cucumber/formatter/html_spec.rb +1 -3
- data/spec/cucumber/rb_support/rb_transform_spec.rb +21 -0
- metadata +104 -98
- data/examples/i18n/ro/features/suma.feature +0 -11
@@ -0,0 +1,63 @@
|
|
1
|
+
Feature: Transforms
|
2
|
+
|
3
|
+
If you see certain phrases repeated over and over in your step definitions, you can
|
4
|
+
use transforms to factor out that duplication, and make your step definitions simpler.
|
5
|
+
|
6
|
+
Background:
|
7
|
+
Let's just create a simple feature for testing out Transforms.
|
8
|
+
We also have a Person class that we need to be able to build.
|
9
|
+
|
10
|
+
Given a file named "features/foo.feature" with:
|
11
|
+
"""
|
12
|
+
Feature:
|
13
|
+
Scenario:
|
14
|
+
Given a Person aged 15 with blonde hair
|
15
|
+
"""
|
16
|
+
And a file named "features/support/person.rb" with:
|
17
|
+
"""
|
18
|
+
class Person < Struct.new(:age)
|
19
|
+
def to_s
|
20
|
+
"I am #{age} years old"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
"""
|
24
|
+
|
25
|
+
Scenario: Basic Transform
|
26
|
+
This is the most basic way to use a transform. Notice that the regular
|
27
|
+
expression is pretty much duplicated.
|
28
|
+
|
29
|
+
And a file named "features/step_definitions/steps.rb" with:
|
30
|
+
"""
|
31
|
+
Transform(/a Person aged (\d+)/) do |age|
|
32
|
+
Person.new(age.to_i)
|
33
|
+
end
|
34
|
+
|
35
|
+
Given /^(a Person aged \d+) with blonde hair$/ do |person|
|
36
|
+
announce "#{person} and I have blonde hair"
|
37
|
+
end
|
38
|
+
"""
|
39
|
+
When I run cucumber "features/foo.feature"
|
40
|
+
Then it should pass with:
|
41
|
+
"""
|
42
|
+
I am 15 years old and I have blonde hair
|
43
|
+
"""
|
44
|
+
|
45
|
+
Scenario: Re-use Transform's Regular Expression
|
46
|
+
If you keep a reference to the transform, you can use it in your
|
47
|
+
regular expressions to avoid repeating the regular expression.
|
48
|
+
|
49
|
+
And a file named "features/step_definitions/steps.rb" with:
|
50
|
+
"""
|
51
|
+
A_PERSON = Transform(/a Person aged (\d+)/) do |age|
|
52
|
+
Person.new(age.to_i)
|
53
|
+
end
|
54
|
+
|
55
|
+
Given /^(#{A_PERSON}) with blonde hair$/ do |person|
|
56
|
+
announce "#{person} and I have blonde hair"
|
57
|
+
end
|
58
|
+
"""
|
59
|
+
When I run cucumber "features/foo.feature"
|
60
|
+
Then it should pass with:
|
61
|
+
"""
|
62
|
+
I am 15 years old and I have blonde hair
|
63
|
+
"""
|
data/gem_tasks/examples.rake
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
desc 'Run all exmples'
|
2
2
|
task :examples do
|
3
3
|
Dir['examples/*'].each do |example_dir|
|
4
|
-
next if !File.directory?(example_dir) || %w{examples/i18n examples/python examples/ruby2python}.index(example_dir)
|
4
|
+
next if !File.directory?(example_dir) || %w{examples/i18n examples/tcl examples/python examples/ruby2python}.index(example_dir)
|
5
5
|
puts "Running #{example_dir}"
|
6
6
|
Dir.chdir(example_dir) do
|
7
7
|
raise "No Rakefile in #{Dir.pwd}" unless File.file?('Rakefile')
|
@@ -11,7 +11,7 @@ Feature: Cucumber command line
|
|
11
11
|
|
12
12
|
Scenario: Failing expectation
|
13
13
|
Given failing expectation
|
14
|
-
expected: "that"
|
14
|
+
expected: "that"
|
15
15
|
got: "this" (using ==) (RSpec::Expectations::ExpectationNotMetError)
|
16
16
|
./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
|
17
17
|
features/failing_expectation.feature:4:in `Given failing expectation'
|
@@ -5,4 +5,4 @@ Feature: HTML formatter
|
|
5
5
|
|
6
6
|
Scenario: Everything in fixtures/self_test
|
7
7
|
When I run cucumber -q --format html --out tmp/a.html features
|
8
|
-
Then "fixtures/self_test/tmp/a.html" should have the same contents as "
|
8
|
+
Then "fixtures/self_test/tmp/a.html" should have the same contents as "legacy_features/html_formatter/a.html"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
/* Regenerate with rake sass */
|
3
3
|
body {
|
4
4
|
font-size: 0px;
|
5
|
-
color:
|
5
|
+
color: white;
|
6
6
|
margin: 0px;
|
7
7
|
padding: 0px;
|
8
8
|
}
|
@@ -10,11 +10,11 @@ body {
|
|
10
10
|
.cucumber, td, th {
|
11
11
|
font: normal 11px "Lucida Grande", Helvetica, sans-serif;
|
12
12
|
background: white;
|
13
|
-
color:
|
13
|
+
color: black;
|
14
14
|
}
|
15
15
|
.cucumber #cucumber-header, td #cucumber-header, th #cucumber-header {
|
16
|
-
background: #
|
17
|
-
color:
|
16
|
+
background: #65c400;
|
17
|
+
color: white;
|
18
18
|
height: 6em;
|
19
19
|
}
|
20
20
|
.cucumber #cucumber-header #expand-collapse p, td #cucumber-header #expand-collapse p, th #cucumber-header #expand-collapse p {
|
@@ -25,8 +25,8 @@ body {
|
|
25
25
|
font-size: 11px;
|
26
26
|
padding: 3px;
|
27
27
|
margin: 0;
|
28
|
-
background: #
|
29
|
-
color:
|
28
|
+
background: #65c400;
|
29
|
+
color: white;
|
30
30
|
font-weight: bold;
|
31
31
|
}
|
32
32
|
.cucumber h1, td h1, th h1 {
|
@@ -62,19 +62,23 @@ body {
|
|
62
62
|
.cucumber .step_file a, td .step_file a, th .step_file a {
|
63
63
|
color: #999999;
|
64
64
|
}
|
65
|
+
.cucumber .scenario_file, td .scenario_file, th .scenario_file {
|
66
|
+
float: right;
|
67
|
+
color: #999999;
|
68
|
+
}
|
65
69
|
.cucumber .tag, td .tag, th .tag {
|
66
70
|
font-weight: bold;
|
67
|
-
color: #
|
71
|
+
color: #246ac1;
|
68
72
|
}
|
69
73
|
.cucumber .backtrace, td .backtrace, th .backtrace {
|
70
74
|
margin-top: 0;
|
71
75
|
margin-bottom: 0;
|
72
76
|
margin-left: 1em;
|
73
|
-
color:
|
77
|
+
color: black;
|
74
78
|
}
|
75
79
|
.cucumber a, td a, th a {
|
76
80
|
text-decoration: none;
|
77
|
-
color: #
|
81
|
+
color: #be5c00;
|
78
82
|
}
|
79
83
|
.cucumber a:hover, td a:hover, th a:hover {
|
80
84
|
text-decoration: underline;
|
@@ -84,7 +88,7 @@ body {
|
|
84
88
|
}
|
85
89
|
.cucumber a div.examples, td a div.examples, th a div.examples {
|
86
90
|
margin: 5px 0px 5px 15px;
|
87
|
-
color:
|
91
|
+
color: black;
|
88
92
|
}
|
89
93
|
.cucumber .outline table, td .outline table, th .outline table {
|
90
94
|
margin: 0px 0px 5px 10px;
|
@@ -129,6 +133,12 @@ body {
|
|
129
133
|
background: #fcfb98;
|
130
134
|
color: #131313;
|
131
135
|
}
|
136
|
+
.cucumber table td.announcement, td table td.announcement, th table td.announcement {
|
137
|
+
border-left: 5px solid aqua;
|
138
|
+
border-bottom: 1px solid aqua;
|
139
|
+
background: #e0ffff;
|
140
|
+
color: #001111;
|
141
|
+
}
|
132
142
|
.cucumber ol, td ol, th ol {
|
133
143
|
list-style: none;
|
134
144
|
margin: 0px;
|
@@ -175,6 +185,13 @@ body {
|
|
175
185
|
background: #fcfb98;
|
176
186
|
color: #131313;
|
177
187
|
}
|
188
|
+
.cucumber ol li.announcement, td ol li.announcement, th ol li.announcement {
|
189
|
+
border-left: 5px solid aqua;
|
190
|
+
border-bottom: 1px solid aqua;
|
191
|
+
background: #e0ffff;
|
192
|
+
color: #001111;
|
193
|
+
margin-left: 10px;
|
194
|
+
}
|
178
195
|
.cucumber #summary, td #summary, th #summary {
|
179
196
|
margin: 0px;
|
180
197
|
padding: 5px 10px;
|
@@ -198,7 +215,7 @@ body {
|
|
198
215
|
padding: 0.1em 0 0.2em 0;
|
199
216
|
}
|
200
217
|
.ruby .keyword {
|
201
|
-
color: #
|
218
|
+
color: #ff6600;
|
202
219
|
}
|
203
220
|
.ruby .constant {
|
204
221
|
color: #339999;
|
@@ -216,13 +233,13 @@ body {
|
|
216
233
|
color: white;
|
217
234
|
}
|
218
235
|
.ruby .string {
|
219
|
-
color: #
|
236
|
+
color: #66ff00;
|
220
237
|
}
|
221
238
|
.ruby .ident {
|
222
239
|
color: white;
|
223
240
|
}
|
224
241
|
.ruby .method {
|
225
|
-
color: #
|
242
|
+
color: #ffcc00;
|
226
243
|
}
|
227
244
|
.ruby .number {
|
228
245
|
color: white;
|
@@ -231,13 +248,13 @@ body {
|
|
231
248
|
color: white;
|
232
249
|
}
|
233
250
|
.ruby .comment {
|
234
|
-
color: #
|
251
|
+
color: #9933cc;
|
235
252
|
}
|
236
253
|
.ruby .symbol {
|
237
254
|
color: white;
|
238
255
|
}
|
239
256
|
.ruby .regex {
|
240
|
-
color: #
|
257
|
+
color: #44b4cc;
|
241
258
|
}
|
242
259
|
.ruby .punct {
|
243
260
|
color: white;
|
@@ -257,8 +274,8 @@ body {
|
|
257
274
|
.ruby .linenum {
|
258
275
|
width: 75px;
|
259
276
|
padding: 0.1em 1em 0.2em 0;
|
260
|
-
color:
|
261
|
-
background: #
|
277
|
+
color: black;
|
278
|
+
background: #fffbd3;
|
262
279
|
}
|
263
280
|
</style><script type="text/javascript">/*!
|
264
281
|
* jQuery JavaScript Library v1.4.2
|
@@ -446,137 +463,72 @@ e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["
|
|
446
463
|
$('#'+element_id).css('color', '#000000');
|
447
464
|
}
|
448
465
|
|
449
|
-
</script></head><body><!-- Step count
|
450
|
-
|
451
|
-
features/background/failing_background.feature:5:in `Given failing without a table':in `flunker'
|
452
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
453
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
454
|
-
features/background/failing_background.feature:5:in `Given failing without a table':in `/^failing without a table$/'
|
455
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
456
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
457
|
-
features/background/failing_background.feature:5:in `Given failing without a table':in `Given failing without a table'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
458
|
-
<span class="linenum">1</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">FAIL</span><span class="punct">"</span>
|
459
|
-
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('4.7');</script><li id='features_background_failing_background_feature_6' class='step skipped'><div class="step_name"><span class="keyword">And </span><span class="step val">'<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('5.3');</script></ol></div><div class='scenario'><h3 id="scenario_3"><span class="keyword">Scenario:</span> <span class="val">failing background</span></h3><ol><div class="message"><pre>FAIL</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:2:in `flunker'
|
460
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
461
|
-
features/background/failing_background.feature:5:in `Given failing without a table':in `flunker'
|
462
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
463
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
464
|
-
features/background/failing_background.feature:5:in `Given failing without a table':in `/^failing without a table$/'
|
465
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
466
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
467
|
-
features/background/failing_background.feature:5:in `Given failing without a table':in `Given failing without a table'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
468
|
-
<span class="linenum">1</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">FAIL</span><span class="punct">"</span>
|
469
|
-
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre> <script type="text/javascript">moveProgressBar('5.9');</script> <script type="text/javascript">moveProgressBar('6.5');</script><li id='features_background_failing_background_feature_9' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('7.1');</script></ol></div><div class='scenario'><h3 id="scenario_4"><span class="keyword">Scenario:</span> <span class="val">another failing background</span></h3><ol> <script type="text/javascript">moveProgressBar('7.6');</script> <script type="text/javascript">moveProgressBar('8.2');</script><li id='features_background_failing_background_feature_12' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('8.8');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Failing background after previously successful background sample</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val"></span></h3><ol><li id='features_background_failing_background_after_success_feature_4' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('9.4');</script><li id='features_background_failing_background_after_success_feature_5' class='step passed'><div class="step_name"><span class="keyword">And </span><span class="step val">'<span class="param">10</span>' global cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:35</span></div></li> <script type="text/javascript">moveProgressBar('10.0');</script></ol></div><div class='scenario'><h3 id="scenario_5"><span class="keyword">Scenario:</span> <span class="val">passing background</span></h3><ol> <script type="text/javascript">moveProgressBar('10.6');</script> <script type="text/javascript">moveProgressBar('11.2');</script><li id='features_background_failing_background_after_success_feature_8' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' global cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:42</span></div></li> <script type="text/javascript">moveProgressBar('11.8');</script></ol></div><div class='scenario'><h3 id="scenario_6"><span class="keyword">Scenario:</span> <span class="val">failing background</span></h3><ol> <script type="text/javascript">moveProgressBar('12.4');</script><script>makeRed('scenario_6');</script><li id='features_background_failing_background_after_success_feature_5' class='step failed'><div class="message"><pre>FAIL</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:2:in `flunker'
|
470
|
-
./features/step_definitions/sample_steps.rb:37:in `/^'(.+)' global cukes$/'
|
471
|
-
features/background/failing_background_after_success.feature:5:in `And '10' global cukes':in `flunker'
|
472
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
473
|
-
./features/step_definitions/sample_steps.rb:37:in `/^'(.+)' global cukes$/'
|
474
|
-
features/background/failing_background_after_success.feature:5:in `And '10' global cukes':in `/^'(.+)' global cukes$/'
|
475
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
476
|
-
./features/step_definitions/sample_steps.rb:37:in `/^'(.+)' global cukes$/'
|
477
|
-
features/background/failing_background_after_success.feature:5:in `And '10' global cukes':in `And '10' global cukes'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
478
|
-
<span class="linenum">1</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">FAIL</span><span class="punct">"</span>
|
479
|
-
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('13.0');</script><li id='features_background_failing_background_after_success_feature_11' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' global cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:42</span></div></li> <script type="text/javascript">moveProgressBar('13.6');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Passing background with multiline args</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val"></span></h3><ol><li id='features_background_multiline_args_background_feature_4' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:46</span></div><table><tr class='step' id='row_5'><td class="step" id="row_5_0"><div><span class="step param">a</span></div></td><td class="step" id="row_5_1"><div><span class="step param">b</span></div></td></tr> <script type="text/javascript">moveProgressBar('14.7');</script><tr class='step' id='row_6'><td class="step" id="row_6_0"><div><span class="step param">c</span></div></td><td class="step" id="row_6_1"><div><span class="step param">d</span></div></td></tr> <script type="text/javascript">moveProgressBar('15.3');</script></table></li> <script type="text/javascript">moveProgressBar('15.3');</script><li id='features_background_multiline_args_background_feature_7' class='step passed'><div class="step_name"><span class="keyword">And </span><span class="step val">multiline string</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:50</span></div><pre class="val"> I'm a cucumber and I'm okay. 
 I sleep all night and I test all day</pre></li> <script type="text/javascript">moveProgressBar('15.9');</script></ol></div><div class='scenario'><h3 id="scenario_7"><span class="keyword">Scenario:</span> <span class="val">passing background</span></h3><ol> <script type="text/javascript">moveProgressBar('16.5');</script> <script type="text/javascript">moveProgressBar('17.1');</script><li id='features_background_multiline_args_background_feature_14' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">the table should be</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:54</span></div><table><tr class='step' id='row_15'><td class="step" id="row_15_0"><div><span class="step param">a</span></div></td><td class="step" id="row_15_1"><div><span class="step param">b</span></div></td></tr> <script type="text/javascript">moveProgressBar('18.3');</script><tr class='step' id='row_16'><td class="step" id="row_16_0"><div><span class="step param">c</span></div></td><td class="step" id="row_16_1"><div><span class="step param">d</span></div></td></tr> <script type="text/javascript">moveProgressBar('18.9');</script></table></li> <script type="text/javascript">moveProgressBar('18.9');</script><li id='features_background_multiline_args_background_feature_17' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">the multiline string should be</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:58</span></div><pre class="val"> I'm a cucumber and I'm okay. 
 I sleep all night and I test all day</pre></li> <script type="text/javascript">moveProgressBar('19.5');</script></ol></div><div class='scenario'><h3 id="scenario_8"><span class="keyword">Scenario:</span> <span class="val">another passing background</span></h3><ol> <script type="text/javascript">moveProgressBar('20.1');</script> <script type="text/javascript">moveProgressBar('20.7');</script><li id='features_background_multiline_args_background_feature_24' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">the table should be</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:54</span></div><table><tr class='step' id='row_25'><td class="step" id="row_25_0"><div><span class="step param">a</span></div></td><td class="step" id="row_25_1"><div><span class="step param">b</span></div></td></tr> <script type="text/javascript">moveProgressBar('21.8');</script><tr class='step' id='row_26'><td class="step" id="row_26_0"><div><span class="step param">c</span></div></td><td class="step" id="row_26_1"><div><span class="step param">d</span></div></td></tr> <script type="text/javascript">moveProgressBar('22.4');</script></table></li> <script type="text/javascript">moveProgressBar('22.4');</script><li id='features_background_multiline_args_background_feature_27' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">the multiline string should be</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:58</span></div><pre class="val"> I'm a cucumber and I'm okay. 
 I sleep all night and I test all day</pre></li> <script type="text/javascript">moveProgressBar('23.0');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Passing background sample</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val"></span></h3><ol><li id='features_background_passing_background_feature_4' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('23.6');</script></ol></div><div class='scenario'><h3 id="scenario_9"><span class="keyword">Scenario:</span> <span class="val">passing background</span></h3><ol> <script type="text/javascript">moveProgressBar('24.2');</script><li id='features_background_passing_background_feature_7' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('24.8');</script></ol></div><div class='scenario'><h3 id="scenario_10"><span class="keyword">Scenario:</span> <span class="val">another passing background</span></h3><ol> <script type="text/javascript">moveProgressBar('25.4');</script><li id='features_background_passing_background_feature_10' class='step passed'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('26.0');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Pending background sample</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val"></span></h3><ol><script>makeYellow('scenario_10');</script><li id='features_background_pending_background_feature_4' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">pending</span></div><div class="step_file"><span>features/background/pending_background.feature:4</span></div><pre>Given /^pending$/ do
|
480
|
-
pending # express the regexp above with the code you wish you had
|
481
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('26.6');</script></ol></div><div class='scenario'><h3 id="scenario_11"><span class="keyword">Scenario:</span> <span class="val">pending background</span></h3><ol> <script type="text/javascript">moveProgressBar('27.2');</script><li id='features_background_pending_background_feature_7' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('27.8');</script></ol></div><div class='scenario'><h3 id="scenario_12"><span class="keyword">Scenario:</span> <span class="val">another pending background</span></h3><ol> <script type="text/javascript">moveProgressBar('28.4');</script><li id='features_background_pending_background_feature_10' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('28.9');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Failing background with scenario outlines sample</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val"></span></h3><ol><script>makeRed('scenario_12');</script><li id='features_background_scenario_outline_failing_background_feature_4' class='step failed'><div class="step_name"><span class="keyword">Given </span><span class="step val">failing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:15</span></div><div class="message"><pre>FAIL</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:2:in `flunker'
|
482
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
483
|
-
features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table':in `flunker'
|
484
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
485
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
486
|
-
features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table':in `/^failing without a table$/'
|
487
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
488
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
489
|
-
features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table':in `Given failing without a table'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
490
|
-
<span class="linenum">1</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">FAIL</span><span class="punct">"</span>
|
491
|
-
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('29.5');</script></ol></div><div class='scenario outline'><h3 id="scenario_13"><span class="keyword">Scenario Outline:</span> <span class="val">failing background</span></h3><ol><li id='features_background_scenario_outline_failing_background_feature_7' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<count>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('30.1');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_9'><th class="step skipped_param" id="row_9_0"><div><span class="step param">count</span></div></th></tr> <script type="text/javascript">moveProgressBar('30.7');</script><tr class='step' id='row_10'><td class="step skipped" id="row_10_0"><div><span class="step param">10</span></div></td></tr><tr><td class="failed" colspan="1"><pre>FAIL
|
492
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
493
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
494
|
-
features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table'</pre></td></tr><script>makeRed('scenario_13');</script> <script type="text/javascript">moveProgressBar('31.3');</script></table></div></div><div class='scenario outline'><h3 id="scenario_14"><span class="keyword">Scenario Outline:</span> <span class="val">another failing background</span></h3><ol><li id='features_background_scenario_outline_failing_background_feature_13' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<count>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('31.9');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_15'><th class="step skipped_param" id="row_15_0"><div><span class="step param">count</span></div></th></tr> <script type="text/javascript">moveProgressBar('32.5');</script><tr class='step' id='row_16'><td class="step skipped" id="row_16_0"><div><span class="step param">10</span></div></td></tr> <script type="text/javascript">moveProgressBar('33.1');</script></table></div></div></div><div class="feature"><h2><span class="val">Feature: Passing background with scenario outlines sample</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val"></span></h3><ol><li id='features_background_scenario_outline_passing_background_feature_4' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">10</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('33.7');</script></ol></div><div class='scenario outline'><h3 id="scenario_15"><span class="keyword">Scenario Outline:</span> <span class="val">passing background</span></h3><ol><li id='features_background_scenario_outline_passing_background_feature_7' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<count>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('34.3');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_9'><th class="step skipped_param" id="row_9_0"><div><span class="step param">count</span></div></th></tr> <script type="text/javascript">moveProgressBar('34.9');</script><tr class='step' id='row_10'><td class="step passed" id="row_10_0"><div><span class="step param">10</span></div></td></tr> <script type="text/javascript">moveProgressBar('35.5');</script></table></div></div><div class='scenario outline'><h3 id="scenario_16"><span class="keyword">Scenario Outline:</span> <span class="val">another passing background</span></h3><ol><li id='features_background_scenario_outline_passing_background_feature_13' class='step skipped'><div class="step_name"><span class="keyword">Then </span><span class="step val">I should have '<count>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:31</span></div></li> <script type="text/javascript">moveProgressBar('36.0');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_15'><th class="step skipped_param" id="row_15_0"><div><span class="step param">count</span></div></th></tr> <script type="text/javascript">moveProgressBar('36.6');</script><tr class='step' id='row_16'><td class="step passed" id="row_16_0"><div><span class="step param">10</span></div></td></tr> <script type="text/javascript">moveProgressBar('37.2');</script></table></div></div></div><div class="feature"><h2><span class="val">Feature: Calling undefined step</span></h2><p class="narrative"></p><div class='scenario'><h3 id="scenario_17"><span class="keyword">Scenario:</span> <span class="val">Call directly</span></h3><ol><script>makeYellow('scenario_17');</script><li id='features_call_undefined_step_from_step_def_feature_4' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">a step definition that calls an undefined step</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:19</span></div><div class="message"><pre>Undefined step: "this does not exist"</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:19:in `/^a step definition that calls an undefined step$/'
|
495
|
-
features/call_undefined_step_from_step_def.feature:4:in `Given a step definition that calls an undefined step':in `/^a step definition that calls an undefined step$/'
|
496
|
-
./features/step_definitions/sample_steps.rb:19:in `/^a step definition that calls an undefined step$/'
|
497
|
-
features/call_undefined_step_from_step_def.feature:4:in `Given a step definition that calls an undefined step':in `Given a step definition that calls an undefined step'</pre></div><pre class="ruby"><code><span class="linenum">17</span><span class="keyword">end</span>
|
466
|
+
</script></head><body><!-- Step count 104--><div class="cucumber"><div id="cucumber-header"><div id="label"><h1>Cucumber Features</h1></div><div id="summary"><p id="totals"></p><p id="duration"></p><div id="expand-collapse"><p id="expander">Expand All</p><p id="collapser">Collapse All</p></div></div></div><div class="feature"><h2><span class="val">Feature: Calling undefined step</span></h2><p class="narrative"></p><div class='scenario'><span class="scenario_file">features/call_undefined_step_from_step_def.feature:3</span><h3 id="scenario_1"><span class="keyword">Scenario:</span> <span class="val">Call directly</span></h3><ol><script>makeYellow('cucumber-header');makeYellow('scenario_1');</script><li id='features_call_undefined_step_from_step_def_feature_4' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">a step definition that calls an undefined step</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:19</span></div><div class="message"><pre>Undefined step: "this does not exist"</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:19:in `/^a step definition that calls an undefined step$/'
|
467
|
+
features/call_undefined_step_from_step_def.feature:4:in `Given a step definition that calls an undefined step'</pre></div><pre class="ruby"><code><span class="linenum">17</span><span class="keyword">end</span>
|
498
468
|
<span class="linenum">18</span>
|
499
469
|
<span class="offending"><span class="linenum">19</span><span class="constant">Given</span> <span class="punct">/^</span><span class="ident">a</span> <span class="ident">step</span> <span class="ident">definition</span> <span class="ident">that</span> <span class="ident">calls</span> <span class="ident">an</span> <span class="ident">undefined</span> <span class="ident">step</span><span class="global">$/</span> <span class="keyword">do</span> <span class="constant">Given</span> <span class="punct">'</span><span class="string">this does not exist</span><span class="punct">'</span></span>
|
500
470
|
<span class="linenum">20</span><span class="keyword">end</span></code></pre><pre>Given /^$/ do
|
501
471
|
pending # express the regexp above with the code you wish you had
|
502
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
503
|
-
features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step definition that calls an undefined step"'
|
504
|
-
./features/step_definitions/sample_steps.rb:19:in `/^a step definition that calls an undefined step$/'
|
505
|
-
features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step definition that calls an undefined step"':in `Given call step "a step definition that calls an undefined step"'</pre></div><pre class="ruby"><code><span class="linenum">17</span><span class="keyword">end</span>
|
472
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('0.9');</script></ol></div><div class='scenario'><span class="scenario_file">features/call_undefined_step_from_step_def.feature:6</span><h3 id="scenario_2"><span class="keyword">Scenario:</span> <span class="val">Call via another</span></h3><ol><script>makeYellow('cucumber-header');makeYellow('scenario_2');</script><li id='features_call_undefined_step_from_step_def_feature_7' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">call step "<span class="param">a step definition that calls an undefined step</span>"</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:23</span></div><div class="message"><pre>Undefined step: "this does not exist"</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:19:in `/^a step definition that calls an undefined step$/'
|
473
|
+
features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step definition that calls an undefined step"'</pre></div><pre class="ruby"><code><span class="linenum">17</span><span class="keyword">end</span>
|
506
474
|
<span class="linenum">18</span>
|
507
475
|
<span class="offending"><span class="linenum">19</span><span class="constant">Given</span> <span class="punct">/^</span><span class="ident">a</span> <span class="ident">step</span> <span class="ident">definition</span> <span class="ident">that</span> <span class="ident">calls</span> <span class="ident">an</span> <span class="ident">undefined</span> <span class="ident">step</span><span class="global">$/</span> <span class="keyword">do</span> <span class="constant">Given</span> <span class="punct">'</span><span class="string">this does not exist</span><span class="punct">'</span></span>
|
508
476
|
<span class="linenum">20</span><span class="keyword">end</span></code></pre><pre>Given /^$/ do
|
509
477
|
pending # express the regexp above with the code you wish you had
|
510
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
478
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('1.9');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Failing expectation</span></h2><p class="narrative"></p><div class='scenario'><span class="scenario_file">features/failing_expectation.feature:3</span><h3 id="scenario_3"><span class="keyword">Scenario:</span> <span class="val">Failing expectation</span></h3><ol><script>makeRed('cucumber-header');makeRed('scenario_3');</script><li id='features_failing_expectation_feature_4' class='step failed'><div class="step_name"><span class="keyword">Given </span><span class="step val">failing expectation</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:62</span></div><div class="message"><pre>expected: "that"
|
511
479
|
got: "this" (using ==)</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
|
512
|
-
features/failing_expectation.feature:4:in `Given failing expectation'
|
513
|
-
./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
|
514
|
-
features/failing_expectation.feature:4:in `Given failing expectation':in `Given failing expectation'</pre></div><pre class="ruby"><code><span class="linenum">61</span>
|
480
|
+
features/failing_expectation.feature:4:in `Given failing expectation'</pre></div><pre class="ruby"><code><span class="linenum">61</span>
|
515
481
|
<span class="linenum">62</span><span class="constant">Given</span> <span class="punct">/^</span><span class="ident">failing</span> <span class="ident">expectation</span><span class="global">$/</span> <span class="keyword">do</span> <span class="ident">x</span><span class="punct">=</span><span class="number">1</span>
|
516
482
|
<span class="offending"><span class="linenum">63</span> <span class="punct">'</span><span class="string">this</span><span class="punct">'.</span><span class="ident">should</span> <span class="punct">==</span> <span class="punct">'</span><span class="string">that</span><span class="punct">'</span></span>
|
517
|
-
<span class="linenum">64</span><span class="keyword">end</span></code></pre></li> <script type="text/javascript">moveProgressBar('
|
483
|
+
<span class="linenum">64</span><span class="keyword">end</span></code></pre></li> <script type="text/javascript">moveProgressBar('2.8');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: Lots of undefined</span></h2><p class="narrative"></p><div class='scenario'><span class="scenario_file">features/lots_of_undefined.feature:3</span><h3 id="scenario_4"><span class="keyword">Scenario:</span> <span class="val">Implement me</span></h3><ol><script>makeYellow('scenario_4');</script><li id='features_lots_of_undefined_feature_4' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">it snows in Sahara</span></div><div class="step_file"><span>features/lots_of_undefined.feature:4</span></div><pre>Given /^it snows in Sahara$/ do
|
518
484
|
pending # express the regexp above with the code you wish you had
|
519
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
485
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('3.8');</script><script>makeYellow('scenario_4');</script><li id='features_lots_of_undefined_feature_5' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">it's 40 degrees in Norway</span></div><div class="step_file"><span>features/lots_of_undefined.feature:5</span></div><pre>Given /^it's (\d+) degrees in Norway$/ do |arg1|
|
520
486
|
pending # express the regexp above with the code you wish you had
|
521
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
487
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('4.8');</script><script>makeYellow('scenario_4');</script><li id='features_lots_of_undefined_feature_6' class='step undefined'><div class="step_name"><span class="keyword">And </span><span class="step val">it's 40 degrees in Norway</span></div><div class="step_file"><span>features/lots_of_undefined.feature:6</span></div><pre>Given /^it's (\d+) degrees in Norway$/ do |arg1|
|
522
488
|
pending # express the regexp above with the code you wish you had
|
523
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
489
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('5.7');</script><script>makeYellow('scenario_4');</script><li id='features_lots_of_undefined_feature_7' class='step undefined'><div class="step_name"><span class="keyword">When </span><span class="step val">I stop procrastinating</span></div><div class="step_file"><span>features/lots_of_undefined.feature:7</span></div><pre>When /^I stop procrastinating$/ do
|
524
490
|
pending # express the regexp above with the code you wish you had
|
525
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
491
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('6.7');</script><script>makeYellow('scenario_4');</script><li id='features_lots_of_undefined_feature_8' class='step undefined'><div class="step_name"><span class="keyword">And </span><span class="step val">there is world peace</span></div><div class="step_file"><span>features/lots_of_undefined.feature:8</span></div><pre>When /^there is world peace$/ do
|
526
492
|
pending # express the regexp above with the code you wish you had
|
527
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
528
|
-
which goes on and on and on for three lines
|
529
|
-
yawn</span></h3><ol><li id='features_multiline_name_feature_6' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('
|
530
|
-
which goes on and on and on for three lines
|
531
|
-
yawn</span></h3><ol> <script type="text/javascript">moveProgressBar('
|
532
|
-
which goes on and on and on for three lines
|
533
|
-
yawn</span></h3><ol><li id='features_multiline_name_feature_16' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('
|
534
|
-
which goes on and on and on for three lines
|
535
|
-
yawn</span></h4><table><tr class='step' id='row_26'><th class="step skipped_param" id="row_26_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('
|
493
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('7.6');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: multiline</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val">I'm a multiline name
|
494
|
+
which goes on and on and on for three lines
|
495
|
+
yawn</span></h3><ol><li id='features_multiline_name_feature_6' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('8.6');</script></ol></div><div class='scenario'><span class="scenario_file">features/multiline_name.feature:8</span><h3 id="scenario_5"><span class="keyword">Scenario:</span> <span class="val">I'm a multiline name
|
496
|
+
which goes on and on and on for three lines
|
497
|
+
yawn</span></h3><ol> <script type="text/javascript">moveProgressBar('9.6');</script><li id='features_multiline_name_feature_11' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('10.5');</script></ol></div><div class='scenario outline'><span class="scenario_file">features/multiline_name.feature:13</span><h3 id="scenario_6"><span class="keyword">Scenario Outline:</span> <span class="val">I'm a multiline name
|
498
|
+
which goes on and on and on for three lines
|
499
|
+
yawn</span></h3><ol><li id='features_multiline_name_feature_16' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('11.5');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_18'><th class="step skipped_param" id="row_18_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('12.5');</script><tr class='step' id='row_19'><td class="step passed" id="row_19_0"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('13.4');</script></table></div></div><div class='scenario outline'><span class="scenario_file">features/multiline_name.feature:21</span><h3 id="scenario_7"><span class="keyword">Scenario Outline:</span> <span class="val">name</span></h3><ol><li id='features_multiline_name_feature_22' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('14.4');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val">I'm a multiline name
|
500
|
+
which goes on and on and on for three lines
|
501
|
+
yawn</span></h4><table><tr class='step' id='row_26'><th class="step skipped_param" id="row_26_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('15.3');</script><tr class='step' id='row_27'><td class="step passed" id="row_27_0"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('16.3');</script></table></div></div></div><div class="feature"><h2><span class="val">Feature: Outline Sample</span></h2><p class="narrative"></p><div class='scenario'><span class="scenario_file">features/outline_sample.feature:3</span><h3 id="scenario_8"><span class="keyword">Scenario:</span> <span class="val">I have no steps</span></h3><ol></ol></div><div class='scenario outline'><span class="scenario_file">features/outline_sample.feature:5</span><h3 id="scenario_9"><span class="keyword">Scenario Outline:</span> <span class="val">Test state</span></h3><ol><li id='features_outline_sample_feature_6' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('17.3');</script><li id='features_outline_sample_feature_7' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><other_state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('18.2');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val">Rainbow colours</span></h4><table><tr class='step' id='row_9'><th class="step skipped_param" id="row_9_0"><div><span class="step param">state</span></div></th><th class="step skipped_param" id="row_9_1"><div><span class="step param">other_state</span></div></th></tr> <script type="text/javascript">moveProgressBar('19.2');</script><tr class='step' id='row_10'><td class="step undefined" id="row_10_0"><div><span class="step param">missing</span></div></td><script>makeYellow('scenario_9');</script><td class="step skipped" id="row_10_1"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('20.1');</script><tr class='step' id='row_11'><td class="step passed" id="row_11_0"><div><span class="step param">passing</span></div></td><td class="step passed" id="row_11_1"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('21.1');</script><tr class='step' id='row_12'><td class="step failed" id="row_12_0"><div><span class="step param">failing</span></div></td><script>makeRed('scenario_9');</script><td class="step skipped" id="row_12_1"><div><span class="step param">passing</span></div></td></tr><tr><td class="failed" colspan="2"><pre>FAIL
|
536
502
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
537
503
|
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
538
|
-
features/outline_sample.feature:6:in `Given <state> without a table'</pre></td></tr><script></script> <script type="text/javascript">moveProgressBar('
|
504
|
+
features/outline_sample.feature:6:in `Given <state> without a table'</pre></td></tr><script></script> <script type="text/javascript">moveProgressBar('22.1');</script></table></div><div class="examples"><h4><span class="keyword">Examples</span> <span class="val">Only passing</span></h4><table><tr class='step' id='row_14'><th class="step skipped_param" id="row_14_0"><div><span class="step param">state</span></div></th><th class="step skipped_param" id="row_14_1"><div><span class="step param">other_state</span></div></th></tr> <script type="text/javascript">moveProgressBar('23.0');</script><tr class='step' id='row_15'><td class="step passed" id="row_15_0"><div><span class="step param">passing</span></div></td><td class="step passed" id="row_15_1"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('24.0');</script></table></div></div></div><div class="feature"><pre class="comment"># Feature comment<br/></pre><span class="tag">@one</span><h2><span class="val">Feature: Sample</span></h2><p class="narrative"></p><div class='scenario'><span class="tag">@two</span> <span class="tag">@three</span><span class="scenario_file">features/sample.feature:6</span><h3 id="scenario_10"><span class="keyword">Scenario:</span> <span class="val">Missing</span></h3><ol><script>makeYellow('scenario_10');</script><li id='features_sample_feature_7' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">missing</span></div><div class="step_file"><span>features/sample.feature:7</span></div><pre>Given /^missing$/ do
|
539
505
|
pending # express the regexp above with the code you wish you had
|
540
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
541
|
-
./features/step_definitions/sample_steps.rb:9:in `/^failing$/'
|
542
|
-
features/sample.feature:18:in `Given failing':in `flunker'
|
543
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
506
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('25.0');</script></ol></div><div class='scenario'><pre class="comment"># Scenario comment<br/></pre><span class="tag">@three</span><span class="scenario_file">features/sample.feature:11</span><h3 id="scenario_11"><span class="keyword">Scenario:</span> <span class="val">Passing</span></h3><ol><li id='features_sample_feature_12' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:5</span></div><table><tr class='step' id='row_13'><td class="step" id="row_13_0"><div><span class="step param">a</span></div></td><td class="step" id="row_13_1"><div><span class="step param">b</span></div></td></tr> <script type="text/javascript">moveProgressBar('26.9');</script><tr class='step' id='row_14'><td class="step" id="row_14_0"><div><span class="step param">c</span></div></td><td class="step" id="row_14_1"><div><span class="step param">d</span></div></td></tr> <script type="text/javascript">moveProgressBar('27.8');</script></table></li> <script type="text/javascript">moveProgressBar('27.8');</script></ol></div><div class='scenario'><span class="tag">@four</span><span class="scenario_file">features/sample.feature:17</span><h3 id="scenario_12"><span class="keyword">Scenario:</span> <span class="val">Failing</span></h3><ol><script>makeRed('scenario_12');</script><li id='features_sample_feature_18' class='step failed'><div class="step_name"><span class="keyword">Given </span><span class="step val">failing</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:8</span></div><pre class="val">hello</pre><div class="message"><pre>FAIL</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:2:in `flunker'
|
544
507
|
./features/step_definitions/sample_steps.rb:9:in `/^failing$/'
|
545
|
-
features/sample.feature:18:in `Given failing'
|
546
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
547
|
-
./features/step_definitions/sample_steps.rb:9:in `/^failing$/'
|
548
|
-
features/sample.feature:18:in `Given failing':in `Given failing'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
508
|
+
features/sample.feature:18:in `Given failing'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
549
509
|
<span class="linenum">1</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">FAIL</span><span class="punct">"</span>
|
550
|
-
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('
|
551
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
552
|
-
features/search_sample.feature:10:in `Given failing without a table':in `flunker'
|
553
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
554
|
-
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
555
|
-
features/search_sample.feature:10:in `Given failing without a table':in `/^failing without a table$/'
|
556
|
-
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
510
|
+
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('28.8');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: search examples</span></h2><p class="narrative"></p><div class="background"><h3><span class="keyword">Background</span> <span class="val">Hantu Pisang background match</span></h3><ol><li id='features_search_sample_feature_4' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('29.8');</script></ol></div><div class='scenario'><span class="scenario_file">features/search_sample.feature:6</span><h3 id="scenario_13"><span class="keyword">Scenario:</span> <span class="val">should match Hantu Pisang</span></h3><ol> <script type="text/javascript">moveProgressBar('30.7');</script><li id='features_search_sample_feature_7' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">passing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('31.7');</script></ol></div><div class='scenario'><span class="scenario_file">features/search_sample.feature:9</span><h3 id="scenario_14"><span class="keyword">Scenario:</span> <span class="val">Ignore me</span></h3><ol> <script type="text/javascript">moveProgressBar('32.6');</script><script>makeRed('scenario_14');</script><li id='features_search_sample_feature_10' class='step failed'><div class="step_name"><span class="keyword">Given </span><span class="step val">failing without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:15</span></div><div class="message"><pre>FAIL</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:2:in `flunker'
|
557
511
|
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
558
|
-
features/search_sample.feature:10:in `Given failing without a table'
|
512
|
+
features/search_sample.feature:10:in `Given failing without a table'</pre></div><pre class="ruby"><code><span class="linenum">0</span><span class="keyword">def </span><span class="method">flunker</span>
|
559
513
|
<span class="linenum">1</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">FAIL</span><span class="punct">"</span>
|
560
|
-
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('
|
514
|
+
<span class="offending"><span class="linenum">2</span><span class="keyword">end</span></span></code></pre></li> <script type="text/javascript">moveProgressBar('33.6');</script></ol></div><div class='scenario outline'><span class="scenario_file">features/search_sample.feature:12</span><h3 id="scenario_15"><span class="keyword">Scenario Outline:</span> <span class="val">Ignore me</span></h3><ol><li id='features_search_sample_feature_13' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:15</span></div></li> <script type="text/javascript">moveProgressBar('34.6');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_15'><th class="step skipped_param" id="row_15_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('35.5');</script><tr class='step' id='row_16'><td class="step failed" id="row_16_0"><div><span class="step param">failing</span></div></td><script>makeRed('scenario_15');</script></tr><tr><td class="failed" colspan="1"><pre>FAIL
|
561
515
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
562
516
|
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
563
|
-
features/search_sample.feature:13:in `Given <state> without a table'</pre></td></tr><script></script> <script type="text/javascript">moveProgressBar('
|
517
|
+
features/search_sample.feature:13:in `Given <state> without a table'</pre></td></tr><script></script> <script type="text/javascript">moveProgressBar('36.5');</script></table></div></div><div class='scenario outline'><span class="scenario_file">features/search_sample.feature:18</span><h3 id="scenario_16"><span class="keyword">Scenario Outline:</span> <span class="val">Hantu Pisang match</span></h3><ol><li id='features_search_sample_feature_19' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('37.5');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_21'><th class="step skipped_param" id="row_21_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('38.4');</script><tr class='step' id='row_22'><td class="step passed" id="row_22_0"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('39.4');</script></table></div></div><div class='scenario outline'><span class="scenario_file">features/search_sample.feature:24</span><h3 id="scenario_17"><span class="keyword">Scenario Outline:</span> <span class="val">no match in name but in examples</span></h3><ol><li id='features_search_sample_feature_25' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state> without a table</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:12</span></div></li> <script type="text/javascript">moveProgressBar('40.3');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val">Hantu Pisang</span></h4><table><tr class='step' id='row_27'><th class="step skipped_param" id="row_27_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('41.3');</script><tr class='step' id='row_28'><td class="step passed" id="row_28_0"><div><span class="step param">passing</span></div></td></tr> <script type="text/javascript">moveProgressBar('42.3');</script></table></div><div class="examples"><h4><span class="keyword">Examples</span> <span class="val">Ignore me</span></h4><table><tr class='step' id='row_31'><th class="step skipped_param" id="row_31_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('43.2');</script><tr class='step' id='row_32'><td class="step failed" id="row_32_0"><div><span class="step param">failing</span></div></td><script>makeRed('scenario_17');</script></tr><tr><td class="failed" colspan="1"><pre>FAIL
|
564
518
|
./features/step_definitions/sample_steps.rb:2:in `flunker'
|
565
519
|
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
|
566
|
-
features/search_sample.feature:25:in `Given <state> without a table'</pre></td></tr><script></script> <script type="text/javascript">moveProgressBar('
|
520
|
+
features/search_sample.feature:25:in `Given <state> without a table'</pre></td></tr><script></script> <script type="text/javascript">moveProgressBar('44.2');</script></table></div></div></div><div class="feature"><span class="tag">@sample_one</span><h2><span class="val">Feature: Tag samples</span></h2><p class="narrative"></p><div class='scenario'><span class="tag">@sample_two</span> <span class="tag">@sample_four</span><span class="scenario_file">features/tags_sample.feature:5</span><h3 id="scenario_18"><span class="keyword">Scenario:</span> <span class="val">Passing</span></h3><ol><script>makeYellow('scenario_18');</script><li id='features_tags_sample_feature_6' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">missing</span></div><div class="step_file"><span>features/tags_sample.feature:6</span></div><pre>Given /^missing$/ do
|
567
521
|
pending # express the regexp above with the code you wish you had
|
568
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
522
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('45.1');</script></ol></div><div class='scenario outline'><span class="tag">@sample_three</span><span class="scenario_file">features/tags_sample.feature:9</span><h3 id="scenario_19"><span class="keyword">Scenario Outline:</span> <span class="val"></span></h3><ol><li id='features_tags_sample_feature_10' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val"><state></span></div><div class="step_file"><span>features/tags_sample.feature:10</span></div></li> <script type="text/javascript">moveProgressBar('46.1');</script></ol><div class="examples"><h4><span class="keyword">Examples</span> <span class="val"></span></h4><table><tr class='step' id='row_12'><th class="step skipped_param" id="row_12_0"><div><span class="step param">state</span></div></th></tr> <script type="text/javascript">moveProgressBar('47.1');</script><tr class='step' id='row_13'><td class="step undefined" id="row_13_0"><div><span class="step param">missing</span></div></td><script>makeYellow('scenario_19');</script></tr> <script type="text/javascript">moveProgressBar('48.0');</script></table></div></div><div class='scenario'><span class="tag">@sample_three</span> <span class="tag">@sample_four</span><span class="scenario_file">features/tags_sample.feature:16</span><h3 id="scenario_20"><span class="keyword">Scenario:</span> <span class="val">Skipped</span></h3><ol><script>makeYellow('scenario_20');</script><li id='features_tags_sample_feature_17' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">missing</span></div><div class="step_file"><span>features/tags_sample.feature:17</span></div><pre>Given /^missing$/ do
|
569
523
|
pending # express the regexp above with the code you wish you had
|
570
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
571
|
-
features/tons_of_cukes.feature:5:in `Given '2' cukes'
|
572
|
-
./features/step_definitions/sample_steps.rb:28:in `/^'(.+)' cukes$/'
|
573
|
-
features/tons_of_cukes.feature:5:in `Given '2' cukes':in `Given '2' cukes'</pre></div><pre class="ruby"><code><span class="linenum">26</span>
|
524
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('49.0');</script></ol></div></div><div class="feature"><span class="tag">@lots</span><h2><span class="val">Feature: Tons of cukes</span></h2><p class="narrative"></p><div class='scenario'><span class="scenario_file">features/tons_of_cukes.feature:3</span><h3 id="scenario_21"><span class="keyword">Scenario:</span> <span class="val">Lots and lots</span></h3><ol><li id='features_tons_of_cukes_feature_4' class='step passed'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('50.0');</script><script>makeRed('scenario_21');</script><li id='features_tons_of_cukes_feature_5' class='step failed'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div><div class="message"><pre>We already have 2 cukes!</pre></div><div class="backtrace"><pre>./features/step_definitions/sample_steps.rb:28:in `/^'(.+)' cukes$/'
|
525
|
+
features/tons_of_cukes.feature:5:in `Given '2' cukes'</pre></div><pre class="ruby"><code><span class="linenum">26</span>
|
574
526
|
<span class="linenum">27</span><span class="constant">Given</span> <span class="punct">/^'</span><span class="string">(.+)</span><span class="punct">'</span> <span class="ident">cukes</span><span class="global">$/</span> <span class="keyword">do</span> <span class="punct">|</span><span class="ident">cukes</span><span class="punct">|</span> <span class="ident">x</span><span class="punct">=</span><span class="number">1</span>
|
575
527
|
<span class="offending"><span class="linenum">28</span> <span class="keyword">raise</span> <span class="punct">"</span><span class="string">We already have <span class="expr">#{@cukes}</span> cukes!</span><span class="punct">"</span> <span class="keyword">if</span> <span class="attribute">@cukes</span></span>
|
576
528
|
<span class="linenum">29</span> <span class="attribute">@cukes</span> <span class="punct">=</span> <span class="ident">cukes</span>
|
577
|
-
<span class="linenum">30</span><span class="keyword">end</span></code></pre></li> <script type="text/javascript">moveProgressBar('68.6');</script><li id='features_tons_of_cukes_feature_6' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('69.2');</script><li id='features_tons_of_cukes_feature_7' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('69.8');</script><li id='features_tons_of_cukes_feature_8' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('70.4');</script><li id='features_tons_of_cukes_feature_9' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('71.0');</script><li id='features_tons_of_cukes_feature_10' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('71.5');</script><li id='features_tons_of_cukes_feature_11' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('72.1');</script><li id='features_tons_of_cukes_feature_12' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('72.7');</script><li id='features_tons_of_cukes_feature_13' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('73.3');</script><li id='features_tons_of_cukes_feature_14' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('73.9');</script><li id='features_tons_of_cukes_feature_15' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('74.5');</script><li id='features_tons_of_cukes_feature_16' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('75.1');</script><li id='features_tons_of_cukes_feature_17' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('75.7');</script><li id='features_tons_of_cukes_feature_18' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('76.3');</script><li id='features_tons_of_cukes_feature_19' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('76.9');</script><li id='features_tons_of_cukes_feature_20' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('77.5');</script><li id='features_tons_of_cukes_feature_21' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('78.1');</script><li id='features_tons_of_cukes_feature_22' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('78.6');</script><li id='features_tons_of_cukes_feature_23' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('79.2');</script><li id='features_tons_of_cukes_feature_24' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('79.8');</script><li id='features_tons_of_cukes_feature_25' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('80.4');</script><li id='features_tons_of_cukes_feature_26' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('81.0');</script><li id='features_tons_of_cukes_feature_27' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('81.6');</script><li id='features_tons_of_cukes_feature_28' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('82.2');</script><li id='features_tons_of_cukes_feature_29' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('82.8');</script><li id='features_tons_of_cukes_feature_30' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('83.4');</script><li id='features_tons_of_cukes_feature_31' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('84.0');</script><li id='features_tons_of_cukes_feature_32' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('84.6');</script><li id='features_tons_of_cukes_feature_33' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('85.2');</script><li id='features_tons_of_cukes_feature_34' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('85.7');</script><li id='features_tons_of_cukes_feature_35' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('86.3');</script><li id='features_tons_of_cukes_feature_36' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('86.9');</script><li id='features_tons_of_cukes_feature_37' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('87.5');</script><li id='features_tons_of_cukes_feature_38' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('88.1');</script><li id='features_tons_of_cukes_feature_39' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('88.7');</script><li id='features_tons_of_cukes_feature_40' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('89.3');</script><li id='features_tons_of_cukes_feature_41' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('89.9');</script><li id='features_tons_of_cukes_feature_42' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('90.5');</script><li id='features_tons_of_cukes_feature_43' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('91.1');</script><li id='features_tons_of_cukes_feature_44' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('91.7');</script><li id='features_tons_of_cukes_feature_45' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('92.3');</script><li id='features_tons_of_cukes_feature_46' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('92.8');</script><li id='features_tons_of_cukes_feature_47' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('93.4');</script><li id='features_tons_of_cukes_feature_48' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('94.0');</script><li id='features_tons_of_cukes_feature_49' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('94.6');</script><li id='features_tons_of_cukes_feature_50' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('95.2');</script><li id='features_tons_of_cukes_feature_51' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('95.8');</script><li id='features_tons_of_cukes_feature_52' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('96.4');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: undefined multiline args</span></h2><p class="narrative"></p><div class='scenario'><h3 id="scenario_38"><span class="keyword">Scenario:</span> <span class="val">pystring</span></h3><ol><script>makeYellow('scenario_38');</script><li id='features_undefined_multiline_args_feature_4' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">a pystring</span></div><div class="step_file"><span>features/undefined_multiline_args.feature:4</span></div><pre class="val"> example</pre><pre>Given /^a pystring$/ do |string|
|
529
|
+
<span class="linenum">30</span><span class="keyword">end</span></code></pre></li> <script type="text/javascript">moveProgressBar('50.9');</script><li id='features_tons_of_cukes_feature_6' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('51.9');</script><li id='features_tons_of_cukes_feature_7' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('52.8');</script><li id='features_tons_of_cukes_feature_8' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('53.8');</script><li id='features_tons_of_cukes_feature_9' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('54.8');</script><li id='features_tons_of_cukes_feature_10' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('55.7');</script><li id='features_tons_of_cukes_feature_11' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('56.7');</script><li id='features_tons_of_cukes_feature_12' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('57.6');</script><li id='features_tons_of_cukes_feature_13' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('58.6');</script><li id='features_tons_of_cukes_feature_14' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('59.6');</script><li id='features_tons_of_cukes_feature_15' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('60.5');</script><li id='features_tons_of_cukes_feature_16' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('61.5');</script><li id='features_tons_of_cukes_feature_17' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('62.5');</script><li id='features_tons_of_cukes_feature_18' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('63.4');</script><li id='features_tons_of_cukes_feature_19' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('64.4');</script><li id='features_tons_of_cukes_feature_20' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('65.3');</script><li id='features_tons_of_cukes_feature_21' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('66.3');</script><li id='features_tons_of_cukes_feature_22' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('67.3');</script><li id='features_tons_of_cukes_feature_23' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('68.2');</script><li id='features_tons_of_cukes_feature_24' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('69.2');</script><li id='features_tons_of_cukes_feature_25' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('70.1');</script><li id='features_tons_of_cukes_feature_26' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('71.1');</script><li id='features_tons_of_cukes_feature_27' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('72.1');</script><li id='features_tons_of_cukes_feature_28' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('73.0');</script><li id='features_tons_of_cukes_feature_29' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('74.0');</script><li id='features_tons_of_cukes_feature_30' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('75.0');</script><li id='features_tons_of_cukes_feature_31' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('75.9');</script><li id='features_tons_of_cukes_feature_32' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('76.9');</script><li id='features_tons_of_cukes_feature_33' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('77.8');</script><li id='features_tons_of_cukes_feature_34' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('78.8');</script><li id='features_tons_of_cukes_feature_35' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('79.8');</script><li id='features_tons_of_cukes_feature_36' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('80.7');</script><li id='features_tons_of_cukes_feature_37' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('81.7');</script><li id='features_tons_of_cukes_feature_38' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('82.6');</script><li id='features_tons_of_cukes_feature_39' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('83.6');</script><li id='features_tons_of_cukes_feature_40' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('84.6');</script><li id='features_tons_of_cukes_feature_41' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('85.5');</script><li id='features_tons_of_cukes_feature_42' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('86.5');</script><li id='features_tons_of_cukes_feature_43' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('87.5');</script><li id='features_tons_of_cukes_feature_44' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('88.4');</script><li id='features_tons_of_cukes_feature_45' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('89.4');</script><li id='features_tons_of_cukes_feature_46' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('90.3');</script><li id='features_tons_of_cukes_feature_47' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('91.3');</script><li id='features_tons_of_cukes_feature_48' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('92.3');</script><li id='features_tons_of_cukes_feature_49' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('93.2');</script><li id='features_tons_of_cukes_feature_50' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('94.2');</script><li id='features_tons_of_cukes_feature_51' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('95.1');</script><li id='features_tons_of_cukes_feature_52' class='step skipped'><div class="step_name"><span class="keyword">Given </span><span class="step val">'<span class="param">2</span>' cukes</span></div><div class="step_file"><span>features/step_definitions/sample_steps.rb:27</span></div></li> <script type="text/javascript">moveProgressBar('96.1');</script></ol></div></div><div class="feature"><h2><span class="val">Feature: undefined multiline args</span></h2><p class="narrative"></p><div class='scenario'><span class="scenario_file">features/undefined_multiline_args.feature:3</span><h3 id="scenario_22"><span class="keyword">Scenario:</span> <span class="val">pystring</span></h3><ol><script>makeYellow('scenario_22');</script><li id='features_undefined_multiline_args_feature_4' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">a pystring</span></div><div class="step_file"><span>features/undefined_multiline_args.feature:4</span></div><pre class="val"> example</pre><pre>Given /^a pystring$/ do |string|
|
578
530
|
pending # express the regexp above with the code you wish you had
|
579
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('97.
|
531
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('97.1');</script></ol></div><div class='scenario'><span class="scenario_file">features/undefined_multiline_args.feature:9</span><h3 id="scenario_23"><span class="keyword">Scenario:</span> <span class="val">table</span></h3><ol><script>makeYellow('scenario_23');</script><li id='features_undefined_multiline_args_feature_10' class='step undefined'><div class="step_name"><span class="keyword">Given </span><span class="step val">a table</span></div><div class="step_file"><span>features/undefined_multiline_args.feature:10</span></div><table><tr class='step' id='row_11'><td class="step" id="row_11_0"><div><span class="step param">table</span></div></td></tr> <script type="text/javascript">moveProgressBar('99.0');</script><tr class='step' id='row_12'><td class="step" id="row_12_0"><div><span class="step param">example</span></div></td></tr> <script type="text/javascript">moveProgressBar('100.0');</script></table><pre>Given /^a table$/ do |table|
|
580
532
|
# table is a Cucumber::Ast::Table
|
581
533
|
pending # express the regexp above with the code you wish you had
|
582
|
-
end</pre></li> <script type="text/javascript">moveProgressBar('
|
534
|
+
end</pre></li> <script type="text/javascript">moveProgressBar('100.0');</script></ol></div></div><script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>0m30.005s seconds</strong>";</script><script type="text/javascript">document.getElementById('totals').innerHTML = "27 scenarios (7 failed, 10 undefined, 10 passed)<br />91 steps (7 failed, 49 skipped, 14 undefined, 21 passed)";</script></div></body></html>
|
@@ -29,50 +29,49 @@ Feature: Language help
|
|
29
29
|
Then STDERR should be empty
|
30
30
|
Then it should pass with
|
31
31
|
"""
|
32
|
-
| ar | Arabic
|
33
|
-
| bg | Bulgarian
|
34
|
-
| ca | Catalan
|
35
|
-
| cs | Czech
|
36
|
-
| cy-GB | Welsh
|
37
|
-
| da | Danish
|
38
|
-
| de | German
|
39
|
-
| en | English
|
40
|
-
| en-Scouse | Scouse
|
41
|
-
| en-au | Australian
|
42
|
-
| en-lol | LOLCAT
|
43
|
-
| en-pirate | Pirate
|
44
|
-
| en-tx | Texan
|
45
|
-
| eo | Esperanto
|
46
|
-
| es | Spanish
|
47
|
-
| et | Estonian
|
48
|
-
| fi | Finnish
|
49
|
-
| fr | French
|
50
|
-
| he | Hebrew
|
51
|
-
| hr | Croatian
|
52
|
-
| hu | Hungarian
|
53
|
-
| id | Indonesian
|
54
|
-
| it | Italian
|
55
|
-
| ja | Japanese
|
56
|
-
| ko | Korean
|
57
|
-
| lt | Lithuanian
|
58
|
-
| lu | Luxemburgish
|
59
|
-
| lv | Latvian
|
60
|
-
| nl | Dutch
|
61
|
-
| no | Norwegian
|
62
|
-
| pl | Polish
|
63
|
-
| pt | Portuguese
|
64
|
-
| ro | Romanian
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
| sr-
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
| zh-
|
76
|
-
| zh-TW | Chinese traditional | 繁體中文 |
|
32
|
+
| ar | Arabic | العربية |
|
33
|
+
| bg | Bulgarian | български |
|
34
|
+
| ca | Catalan | català |
|
35
|
+
| cs | Czech | Česky |
|
36
|
+
| cy-GB | Welsh | Cymraeg |
|
37
|
+
| da | Danish | dansk |
|
38
|
+
| de | German | Deutsch |
|
39
|
+
| en | English | English |
|
40
|
+
| en-Scouse | Scouse | Scouse |
|
41
|
+
| en-au | Australian | Australian |
|
42
|
+
| en-lol | LOLCAT | LOLCAT |
|
43
|
+
| en-pirate | Pirate | Pirate |
|
44
|
+
| en-tx | Texan | Texan |
|
45
|
+
| eo | Esperanto | Esperanto |
|
46
|
+
| es | Spanish | español |
|
47
|
+
| et | Estonian | eesti keel |
|
48
|
+
| fi | Finnish | suomi |
|
49
|
+
| fr | French | français |
|
50
|
+
| he | Hebrew | עברית |
|
51
|
+
| hr | Croatian | hrvatski |
|
52
|
+
| hu | Hungarian | magyar |
|
53
|
+
| id | Indonesian | Bahasa Indonesia |
|
54
|
+
| it | Italian | italiano |
|
55
|
+
| ja | Japanese | 日本語 |
|
56
|
+
| ko | Korean | 한국어 |
|
57
|
+
| lt | Lithuanian | lietuvių kalba |
|
58
|
+
| lu | Luxemburgish | Lëtzebuergesch |
|
59
|
+
| lv | Latvian | latviešu |
|
60
|
+
| nl | Dutch | Nederlands |
|
61
|
+
| no | Norwegian | norsk |
|
62
|
+
| pl | Polish | polski |
|
63
|
+
| pt | Portuguese | português |
|
64
|
+
| ro | Romanian | română |
|
65
|
+
| ru | Russian | русский |
|
66
|
+
| sk | Slovak | Slovensky |
|
67
|
+
| sr-Cyrl | Serbian | Српски |
|
68
|
+
| sr-Latn | Serbian (Latin) | Srpski (Latinica) |
|
69
|
+
| sv | Swedish | Svenska |
|
70
|
+
| tr | Turkish | Türkçe |
|
71
|
+
| uk | Ukrainian | Українська |
|
72
|
+
| uz | Uzbek | Узбекча |
|
73
|
+
| vi | Vietnamese | Tiếng Việt |
|
74
|
+
| zh-CN | Chinese simplified | 简体中文 |
|
75
|
+
| zh-TW | Chinese traditional | 繁體中文 |
|
77
76
|
|
78
77
|
"""
|