cucumber 0.3.103 → 0.3.104

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/History.txt +27 -2
  2. data/Manifest.txt +10 -4
  3. data/examples/ramaze/README.textile +7 -0
  4. data/examples/ramaze/Rakefile +6 -0
  5. data/examples/ramaze/app.rb +21 -0
  6. data/examples/ramaze/features/add.feature +11 -0
  7. data/examples/ramaze/features/step_definitions/add_steps.rb +15 -0
  8. data/examples/ramaze/features/support/env.rb +32 -0
  9. data/examples/ramaze/layout/default.html.erb +8 -0
  10. data/examples/ramaze/view/index.html.erb +5 -0
  11. data/examples/sinatra/features/support/env.rb +1 -1
  12. data/features/cucumber_cli.feature +5 -5
  13. data/features/usage_and_stepdefs_formatter.feature +169 -0
  14. data/lib/cucumber/ast/step_invocation.rb +7 -0
  15. data/lib/cucumber/ast/tags.rb +6 -1
  16. data/lib/cucumber/ast/tree_walker.rb +5 -11
  17. data/lib/cucumber/cli/options.rb +20 -11
  18. data/lib/cucumber/formatter/html.rb +0 -2
  19. data/lib/cucumber/formatter/stepdefs.rb +14 -0
  20. data/lib/cucumber/formatter/usage.rb +106 -50
  21. data/lib/cucumber/language_support/language_methods.rb +6 -9
  22. data/lib/cucumber/rb_support/rb_language.rb +16 -3
  23. data/lib/cucumber/rb_support/rb_step_definition.rb +7 -1
  24. data/lib/cucumber/step_match.rb +4 -0
  25. data/lib/cucumber/step_mother.rb +8 -37
  26. data/lib/cucumber/version.rb +1 -1
  27. data/spec/cucumber/ast/background_spec.rb +0 -6
  28. data/spec/cucumber/ast/tree_walker_spec.rb +0 -7
  29. data/spec/cucumber/cli/options_spec.rb +12 -0
  30. data/spec/cucumber/formatter/html_spec.rb +0 -1
  31. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +0 -9
  32. data/spec/cucumber/step_mother_spec.rb +13 -34
  33. metadata +12 -6
  34. data/features/steps_formatter.feature +0 -26
  35. data/features/usage.feature +0 -126
  36. data/lib/cucumber/formatter/profile.rb +0 -78
  37. data/lib/cucumber/formatters/unicode.rb +0 -7
@@ -2,7 +2,7 @@ module Cucumber #:nodoc:
2
2
  class VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 103
5
+ TINY = 104
6
6
  PATCH = nil # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
@@ -20,17 +20,11 @@ module Cucumber
20
20
  $y = $x * n.to_i
21
21
  end
22
22
 
23
- register
24
-
25
23
  @visitor = TreeWalker.new(@step_mother)
26
24
 
27
25
  @feature = mock('feature', :visit? => true).as_null_object
28
26
  end
29
27
 
30
- def register
31
- @step_mother.register_step_definitions(@rb.step_definitions)
32
- end
33
-
34
28
  it "should execute Before blocks before background steps" do
35
29
  background = Background.new(
36
30
  comment=Comment.new(''),
@@ -2,13 +2,6 @@ require File.dirname(__FILE__) + '/../../spec_helper'
2
2
 
3
3
  module Cucumber::Ast
4
4
  describe TreeWalker do
5
- describe "when one of the listeners implements the method #visit_features" do
6
- it "should issue a warning about that interface being deprecated" do
7
- tw = TreeWalker.new(nil, [mock('listener', :visit_features => nil)], {})
8
- tw.should_receive(:warn).with /no longer supported/
9
- tw.visit_features(mock('features', :accept => nil))
10
- end
11
- end
12
5
  it "should visit features" do
13
6
  tw = TreeWalker.new(nil, [mock('listener', :before_visit_features => nil)], {})
14
7
  tw.should_not_receive(:warn)
@@ -193,6 +193,18 @@ module Cli
193
193
  options[:formats].should == [['progress', output_stream], ['html', 'features.html']]
194
194
  end
195
195
 
196
+ it "does not include STDOUT formatters from the profile if there is a STDOUT formatter in command line" do
197
+ given_cucumber_yml_defined_as({'html' => %w[--format html -o features.html --format pretty]})
198
+ options.parse!(%w{--format progress --profile html})
199
+ options[:formats].should == [['progress', output_stream], ['html', 'features.html']]
200
+ end
201
+
202
+ it "includes any STDOUT formatters from the profile if no STDOUT formatter was specified in command line" do
203
+ given_cucumber_yml_defined_as({'html' => %w[--format html]})
204
+ options.parse!(%w{--format rerun -o rerun.txt --profile html})
205
+ options[:formats].should == [['html', output_stream], ['rerun', 'rerun.txt']]
206
+ end
207
+
196
208
  it "assumes all of the formatters defined in the profile when none are specified on cmd line" do
197
209
  given_cucumber_yml_defined_as({'html' => %w[--format progress --format html -o features.html]})
198
210
  options.parse!(%w{--profile html})
@@ -37,7 +37,6 @@ module Cucumber
37
37
  dsl = Object.new
38
38
  dsl.extend RbSupport::RbDsl
39
39
  dsl.instance_exec &step_defs
40
- @step_mother.register_step_definitions(rb.step_definitions)
41
40
  end
42
41
 
43
42
  Spec::Matchers.define :have_css_node do |css, regexp|
@@ -18,10 +18,6 @@ module Cucumber
18
18
  $inside = nil
19
19
  end
20
20
 
21
- def register
22
- @step_mother.register_step_definitions(@rb.step_definitions)
23
- end
24
-
25
21
  it "should allow calling of other steps" do
26
22
  @dsl.Given /Outside/ do
27
23
  Given "Inside"
@@ -29,7 +25,6 @@ module Cucumber
29
25
  @dsl.Given /Inside/ do
30
26
  $inside = true
31
27
  end
32
- register
33
28
 
34
29
  @step_mother.step_match("Outside").invoke(nil)
35
30
  $inside.should == true
@@ -42,7 +37,6 @@ module Cucumber
42
37
  @dsl.Given /Inside/ do |table|
43
38
  $inside = table.raw[0][0]
44
39
  end
45
- register
46
40
 
47
41
  @step_mother.step_match("Outside").invoke(nil)
48
42
  $inside.should == 'inside'
@@ -52,7 +46,6 @@ module Cucumber
52
46
  @dsl.Given /Outside/ do
53
47
  Given 'Inside'
54
48
  end
55
- register
56
49
 
57
50
  lambda do
58
51
  @step_mother.step_match('Outside').invoke(nil)
@@ -63,7 +56,6 @@ module Cucumber
63
56
  @dsl.Given /Outside/ do
64
57
  pending("Do me!")
65
58
  end
66
- register
67
59
 
68
60
  lambda do
69
61
  @step_mother.step_match("Outside").invoke(nil)
@@ -77,7 +69,6 @@ module Cucumber
77
69
  @dsl.Given /Loud/ do
78
70
  announce 'wasup'
79
71
  end
80
- register
81
72
 
82
73
  @step_mother.step_match("Loud").invoke(nil)
83
74
  end
@@ -16,16 +16,11 @@ module Cucumber
16
16
  @visitor = mock('Visitor')
17
17
  end
18
18
 
19
- def register
20
- @step_mother.register_step_definitions(@rb.step_definitions)
21
- end
22
-
23
19
  it "should format step names" do
24
20
  @dsl.Given(/it (.*) in (.*)/) do |what, month|
25
21
  end
26
22
  @dsl.Given(/nope something else/) do |what, month|
27
23
  end
28
- register
29
24
 
30
25
  format = @step_mother.step_match("it snows in april").format_args("[%s]")
31
26
  format.should == "it [snows] in [april]"
@@ -34,14 +29,13 @@ module Cucumber
34
29
  it "should raise Ambiguous error with guess hint when multiple step definitions match" do
35
30
  @dsl.Given(/Three (.*) mice/) {|disability|}
36
31
  @dsl.Given(/Three blind (.*)/) {|animal|}
37
- register
38
32
 
39
33
  lambda do
40
34
  @step_mother.step_match("Three blind mice")
41
35
  end.should raise_error(Ambiguous, %{Ambiguous match of "Three blind mice":
42
36
 
43
- spec/cucumber/step_mother_spec.rb:35:in `/Three (.*) mice/'
44
- spec/cucumber/step_mother_spec.rb:36:in `/Three blind (.*)/'
37
+ spec/cucumber/step_mother_spec.rb:30:in `/Three (.*) mice/'
38
+ spec/cucumber/step_mother_spec.rb:31:in `/Three blind (.*)/'
45
39
 
46
40
  You can run again with --guess to make Cucumber be more smart about it
47
41
  })
@@ -52,14 +46,13 @@ You can run again with --guess to make Cucumber be more smart about it
52
46
 
53
47
  @dsl.Given(/Three (.*) mice/) {|disability|}
54
48
  @dsl.Given(/Three cute (.*)/) {|animal|}
55
- register
56
-
49
+
57
50
  lambda do
58
51
  @step_mother.step_match("Three cute mice")
59
52
  end.should raise_error(Ambiguous, %{Ambiguous match of "Three cute mice":
60
53
 
61
- spec/cucumber/step_mother_spec.rb:53:in `/Three (.*) mice/'
62
- spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
54
+ spec/cucumber/step_mother_spec.rb:47:in `/Three (.*) mice/'
55
+ spec/cucumber/step_mother_spec.rb:48:in `/Three cute (.*)/'
63
56
 
64
57
  })
65
58
  end
@@ -68,8 +61,7 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
68
61
  @step_mother.options = {:guess => true}
69
62
  @dsl.Given(/Three (.*) mice/) {|disability|}
70
63
  @dsl.Given(/Three (.*)/) {|animal|}
71
- register
72
-
64
+
73
65
  lambda do
74
66
  @step_mother.step_match("Three blind mice")
75
67
  end.should_not raise_error
@@ -79,8 +71,7 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
79
71
  @step_mother.options = {:guess => true}
80
72
  right = @dsl.Given(/Three (.*) mice/) {|disability|}
81
73
  wrong = @dsl.Given(/Three (.*)/) {|animal|}
82
- register
83
-
74
+
84
75
  @step_mother.step_match("Three blind mice").step_definition.should == right
85
76
  end
86
77
 
@@ -88,8 +79,7 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
88
79
  @step_mother.options = {:guess => true}
89
80
  right = @dsl.Given(/Three (.*) mice ran (.*)/) {|disability|}
90
81
  wrong = @dsl.Given(/Three (.*)/) {|animal|}
91
- register
92
-
82
+
93
83
  @step_mother.step_match("Three blind mice ran far").step_definition.should == right
94
84
  end
95
85
 
@@ -98,8 +88,7 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
98
88
  general = @dsl.Given(/Three (.*) mice ran (.*)/) {|disability|}
99
89
  specific = @dsl.Given(/Three blind mice ran far/) {}
100
90
  more_specific = @dsl.Given(/^Three blind mice ran far$/) {}
101
- register
102
-
91
+
103
92
  @step_mother.step_match("Three blind mice ran far").step_definition.should == more_specific
104
93
  end
105
94
 
@@ -109,19 +98,10 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
109
98
  end.should raise_error(Undefined)
110
99
  end
111
100
 
112
- it "should raise Redundant error when same regexp is registered twice" do
113
- @dsl.Given(/Three (.*) mice/) {|disability|}
114
- lambda do
115
- @dsl.Given(/Three (.*) mice/) {|disability|}
116
- register
117
- end.should raise_error(Redundant)
118
- end
119
-
120
101
  # http://railsforum.com/viewtopic.php?pid=93881
121
102
  it "should not raise Redundant unless it's really redundant" do
122
103
  @dsl.Given(/^(.*) (.*) user named '(.*)'$/) {|a,b,c|}
123
104
  @dsl.Given(/^there is no (.*) user named '(.*)'$/) {|a,b|}
124
- register
125
105
  end
126
106
 
127
107
  it "should raise an error if the world is nil" do
@@ -133,7 +113,7 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
133
113
  raise "Should fail"
134
114
  rescue RbSupport::NilWorld => e
135
115
  e.message.should == "World procs should never return nil"
136
- e.backtrace.should == ["spec/cucumber/step_mother_spec.rb:128:in `World'"]
116
+ e.backtrace.should == ["spec/cucumber/step_mother_spec.rb:108:in `World'"]
137
117
  end
138
118
  end
139
119
 
@@ -163,8 +143,8 @@ spec/cucumber/step_mother_spec.rb:54:in `/Three cute (.*)/'
163
143
  end.should raise_error(RbSupport::MultipleWorld, %{You can only pass a proc to #World once, but it's happening
164
144
  in 2 places:
165
145
 
166
- spec/cucumber/step_mother_spec.rb:160:in `World'
167
- spec/cucumber/step_mother_spec.rb:162:in `World'
146
+ spec/cucumber/step_mother_spec.rb:140:in `World'
147
+ spec/cucumber/step_mother_spec.rb:142:in `World'
168
148
 
169
149
  Use Ruby modules instead to extend your worlds. See the Cucumber::RbSupport::RbDsl#World RDoc
170
150
  or http://wiki.github.com/aslakhellesoy/cucumber/a-whole-new-world.
@@ -175,8 +155,7 @@ or http://wiki.github.com/aslakhellesoy/cucumber/a-whole-new-world.
175
155
  it "should find before hooks" do
176
156
  fish = @dsl.Before('@fish'){}
177
157
  meat = @dsl.Before('@meat'){}
178
- register
179
-
158
+
180
159
  scenario = mock('Scenario')
181
160
  scenario.should_receive(:accept_hook?).with(fish).and_return(true)
182
161
  scenario.should_receive(:accept_hook?).with(meat).and_return(false)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.103
4
+ version: 0.3.104
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-24 00:00:00 +02:00
12
+ date: 2009-09-28 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -258,6 +258,14 @@ files:
258
258
  - examples/python/features/step_definitions/fib_steps.rb
259
259
  - examples/python/features/support/env.rb
260
260
  - examples/python/lib/fib.py
261
+ - examples/ramaze/README.textile
262
+ - examples/ramaze/Rakefile
263
+ - examples/ramaze/app.rb
264
+ - examples/ramaze/features/add.feature
265
+ - examples/ramaze/features/step_definitions/add_steps.rb
266
+ - examples/ramaze/features/support/env.rb
267
+ - examples/ramaze/layout/default.html.erb
268
+ - examples/ramaze/view/index.html.erb
261
269
  - examples/selenium/Rakefile
262
270
  - examples/selenium/features/search.feature
263
271
  - examples/selenium/features/step_definitons/search_steps.rb
@@ -366,12 +374,11 @@ files:
366
374
  - features/snippet.feature
367
375
  - features/step_definitions/cucumber_steps.rb
368
376
  - features/step_definitions/extra_steps.rb
369
- - features/steps_formatter.feature
370
377
  - features/support/env.rb
371
378
  - features/table_diffing.feature
372
379
  - features/transform.feature
373
380
  - features/unicode_table.feature
374
- - features/usage.feature
381
+ - features/usage_and_stepdefs_formatter.feature
375
382
  - features/work_in_progress.feature
376
383
  - gem_tasks/contributors.rake
377
384
  - gem_tasks/deployment.rake
@@ -433,14 +440,13 @@ files:
433
440
  - lib/cucumber/formatter/ordered_xml_markup.rb
434
441
  - lib/cucumber/formatter/pdf.rb
435
442
  - lib/cucumber/formatter/pretty.rb
436
- - lib/cucumber/formatter/profile.rb
437
443
  - lib/cucumber/formatter/progress.rb
438
444
  - lib/cucumber/formatter/rerun.rb
445
+ - lib/cucumber/formatter/stepdefs.rb
439
446
  - lib/cucumber/formatter/steps.rb
440
447
  - lib/cucumber/formatter/tag_cloud.rb
441
448
  - lib/cucumber/formatter/unicode.rb
442
449
  - lib/cucumber/formatter/usage.rb
443
- - lib/cucumber/formatters/unicode.rb
444
450
  - lib/cucumber/language_support.rb
445
451
  - lib/cucumber/language_support/language_methods.rb
446
452
  - lib/cucumber/language_support/step_definition_methods.rb
@@ -1,26 +0,0 @@
1
- Feature: --formatter steps option - Steps Formatter
2
- In order to easily see which steps are already defined,
3
- specially when using 3rd party steps libraries,
4
- Cucumber should show the available steps in a user-friendly format
5
-
6
- Background:
7
- Given I am in steps_library
8
-
9
- Scenario: Printing steps
10
- When I run cucumber -f steps features
11
- Then STDERR should be empty
12
- And it should pass with
13
- """
14
- features/step_definitions/steps_lib1.rb
15
- /^I defined a first step$/ # features/step_definitions/steps_lib1.rb:1
16
- /^I define a second step$/ # features/step_definitions/steps_lib1.rb:4
17
- /^I should also have a third step$/ # features/step_definitions/steps_lib1.rb:7
18
-
19
- features/step_definitions/steps_lib2.rb
20
- /^I defined a step 4$/ # features/step_definitions/steps_lib2.rb:1
21
- /^I create a step 5$/ # features/step_definitions/steps_lib2.rb:4
22
- /^I should be too tired for step 6$/ # features/step_definitions/steps_lib2.rb:7
23
-
24
- 6 step definition(s) in 2 source file(s).
25
-
26
- """
@@ -1,126 +0,0 @@
1
- Feature: Cucumber command line
2
- In order to be able to write an editor plugin that can jump between
3
- steps and step definitions, Cucumber must provide a way to
4
- display how they are related.
5
-
6
- @mri186
7
- Scenario: List usage of step definitions
8
- When I run cucumber features --format usage --dry-run
9
- Then it should pass with
10
- """
11
- /^passing without a table$/ # features/step_definitions/sample_steps.rb:12
12
- Given <other_state> without a table # features/outline_sample.feature:7
13
- Given <state> without a table # features/multiline_name.feature:16
14
- Given <state> without a table # features/multiline_name.feature:22
15
- Given <state> without a table # features/outline_sample.feature:6
16
- Given <state> without a table # features/search_sample.feature:19
17
- Given <state> without a table # features/search_sample.feature:25
18
- Given passing without a table # features/background/background_tagged_before_on_outline.feature:5
19
- Given passing without a table # features/background/failing_background_after_success.feature:4
20
- Given passing without a table # features/multiline_name.feature:11
21
- Given passing without a table # features/multiline_name.feature:6
22
- Given passing without a table # features/search_sample.feature:4
23
- Given passing without a table # features/search_sample.feature:7
24
- /^failing without a table$/ # features/step_definitions/sample_steps.rb:15
25
- Given <state> without a table # features/search_sample.feature:13
26
- Given failing without a table # features/background/failing_background.feature:5
27
- Given failing without a table # features/background/scenario_outline_failing_background.feature:4
28
- Given failing without a table # features/search_sample.feature:10
29
- /^a step definition that calls an undefined step$/ # features/step_definitions/sample_steps.rb:19
30
- Given a step definition that calls an undefined step # features/call_undefined_step_from_step_def.feature:4
31
- /^call step "(.*)"$/ # features/step_definitions/sample_steps.rb:23
32
- Given call step "a step definition that calls an undefined step" # features/call_undefined_step_from_step_def.feature:7
33
- /^'(.+)' cukes$/ # features/step_definitions/sample_steps.rb:27
34
- And '10' cukes # features/background/failing_background.feature:6
35
- Given '10' cukes # features/background/background_with_name.feature:4
36
- Given '10' cukes # features/background/passing_background.feature:4
37
- Given '10' cukes # features/background/scenario_outline_passing_background.feature:4
38
- Given '2' cukes # features/tons_of_cukes.feature:10
39
- Given '2' cukes # features/tons_of_cukes.feature:11
40
- Given '2' cukes # features/tons_of_cukes.feature:12
41
- Given '2' cukes # features/tons_of_cukes.feature:13
42
- Given '2' cukes # features/tons_of_cukes.feature:14
43
- Given '2' cukes # features/tons_of_cukes.feature:15
44
- Given '2' cukes # features/tons_of_cukes.feature:16
45
- Given '2' cukes # features/tons_of_cukes.feature:17
46
- Given '2' cukes # features/tons_of_cukes.feature:18
47
- Given '2' cukes # features/tons_of_cukes.feature:19
48
- Given '2' cukes # features/tons_of_cukes.feature:20
49
- Given '2' cukes # features/tons_of_cukes.feature:21
50
- Given '2' cukes # features/tons_of_cukes.feature:22
51
- Given '2' cukes # features/tons_of_cukes.feature:23
52
- Given '2' cukes # features/tons_of_cukes.feature:24
53
- Given '2' cukes # features/tons_of_cukes.feature:25
54
- Given '2' cukes # features/tons_of_cukes.feature:26
55
- Given '2' cukes # features/tons_of_cukes.feature:27
56
- Given '2' cukes # features/tons_of_cukes.feature:28
57
- Given '2' cukes # features/tons_of_cukes.feature:29
58
- Given '2' cukes # features/tons_of_cukes.feature:30
59
- Given '2' cukes # features/tons_of_cukes.feature:31
60
- Given '2' cukes # features/tons_of_cukes.feature:32
61
- Given '2' cukes # features/tons_of_cukes.feature:33
62
- Given '2' cukes # features/tons_of_cukes.feature:34
63
- Given '2' cukes # features/tons_of_cukes.feature:35
64
- Given '2' cukes # features/tons_of_cukes.feature:36
65
- Given '2' cukes # features/tons_of_cukes.feature:37
66
- Given '2' cukes # features/tons_of_cukes.feature:38
67
- Given '2' cukes # features/tons_of_cukes.feature:39
68
- Given '2' cukes # features/tons_of_cukes.feature:4
69
- Given '2' cukes # features/tons_of_cukes.feature:40
70
- Given '2' cukes # features/tons_of_cukes.feature:41
71
- Given '2' cukes # features/tons_of_cukes.feature:42
72
- Given '2' cukes # features/tons_of_cukes.feature:43
73
- Given '2' cukes # features/tons_of_cukes.feature:44
74
- Given '2' cukes # features/tons_of_cukes.feature:45
75
- Given '2' cukes # features/tons_of_cukes.feature:46
76
- Given '2' cukes # features/tons_of_cukes.feature:47
77
- Given '2' cukes # features/tons_of_cukes.feature:48
78
- Given '2' cukes # features/tons_of_cukes.feature:49
79
- Given '2' cukes # features/tons_of_cukes.feature:5
80
- Given '2' cukes # features/tons_of_cukes.feature:50
81
- Given '2' cukes # features/tons_of_cukes.feature:51
82
- Given '2' cukes # features/tons_of_cukes.feature:52
83
- Given '2' cukes # features/tons_of_cukes.feature:6
84
- Given '2' cukes # features/tons_of_cukes.feature:7
85
- Given '2' cukes # features/tons_of_cukes.feature:8
86
- Given '2' cukes # features/tons_of_cukes.feature:9
87
- /^I should have '(.+)' cukes$/ # features/step_definitions/sample_steps.rb:31
88
- Then I should have '10' cukes # features/background/background_with_name.feature:7
89
- Then I should have '10' cukes # features/background/failing_background.feature:12
90
- Then I should have '10' cukes # features/background/failing_background.feature:9
91
- Then I should have '10' cukes # features/background/passing_background.feature:10
92
- Then I should have '10' cukes # features/background/passing_background.feature:7
93
- Then I should have '10' cukes # features/background/pending_background.feature:10
94
- Then I should have '10' cukes # features/background/pending_background.feature:7
95
- Then I should have '<count>' cukes # features/background/background_tagged_before_on_outline.feature:8
96
- Then I should have '<count>' cukes # features/background/scenario_outline_failing_background.feature:13
97
- Then I should have '<count>' cukes # features/background/scenario_outline_failing_background.feature:7
98
- Then I should have '<count>' cukes # features/background/scenario_outline_passing_background.feature:13
99
- Then I should have '<count>' cukes # features/background/scenario_outline_passing_background.feature:7
100
- /^'(.+)' global cukes$/ # features/step_definitions/sample_steps.rb:35
101
- And '10' global cukes # features/background/failing_background_after_success.feature:5
102
- /^I should have '(.+)' global cukes$/ # features/step_definitions/sample_steps.rb:42
103
- Then I should have '10' global cukes # features/background/failing_background_after_success.feature:11
104
- Then I should have '10' global cukes # features/background/failing_background_after_success.feature:8
105
- /^table$/ # features/step_definitions/sample_steps.rb:46
106
- Given table # features/background/multiline_args_background.feature:4
107
- /^multiline string$/ # features/step_definitions/sample_steps.rb:50
108
- And multiline string # features/background/multiline_args_background.feature:7
109
- /^the table should be$/ # features/step_definitions/sample_steps.rb:54
110
- Then the table should be # features/background/multiline_args_background.feature:14
111
- Then the table should be # features/background/multiline_args_background.feature:24
112
- /^the multiline string should be$/ # features/step_definitions/sample_steps.rb:58
113
- Then the multiline string should be # features/background/multiline_args_background.feature:17
114
- Then the multiline string should be # features/background/multiline_args_background.feature:27
115
- /^passing$/ # features/step_definitions/sample_steps.rb:5
116
- Given passing # features/sample.feature:12
117
- /^failing expectation$/ # features/step_definitions/sample_steps.rb:62
118
- Given failing expectation # features/failing_expectation.feature:4
119
- /^failing$/ # features/step_definitions/sample_steps.rb:8
120
- Given failing # features/sample.feature:18
121
- (::) UNUSED (::)
122
- /^unused$/ # features/step_definitions/sample_steps.rb:66
123
- /^another unused$/ # features/step_definitions/sample_steps.rb:69
124
-
125
- """
126
-