kosmas58-cucumber 0.1.99.23 → 0.1.100.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. data/History.txt +8 -23
  2. data/Manifest.txt +14 -2
  3. data/examples/i18n/en-lol/Rakefile +6 -0
  4. data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +16 -0
  5. data/examples/i18n/en-lol/features/stuffing.feature +8 -0
  6. data/examples/i18n/en-lol/features/support/env.rb +8 -0
  7. data/examples/i18n/en-lol/lib/basket.rb +12 -0
  8. data/examples/i18n/en-lol/lib/belly.rb +11 -0
  9. data/examples/i18n/et/features/jagamine.feature +9 -0
  10. data/examples/jbehave/README.textile +4 -1
  11. data/examples/jbehave/features/trading.feature +4 -0
  12. data/examples/jbehave/pom.xml +5 -0
  13. data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java +6 -1
  14. data/examples/selenium/features/step_definitons/search_steps.rb +13 -0
  15. data/examples/selenium/features/support/env.rb +19 -0
  16. data/examples/selenium_webrat/Rakefile +6 -0
  17. data/examples/selenium_webrat/features/search.feature +9 -0
  18. data/examples/selenium_webrat/features/step_definitons/search_steps.rb +13 -0
  19. data/examples/selenium_webrat/features/support/env.rb +41 -0
  20. data/examples/self_test/Rakefile +1 -1
  21. data/examples/self_test/features/background/failing_background.feature +1 -0
  22. data/examples/self_test/features/step_definitions/sample_steps.rb +1 -1
  23. data/examples/self_test/features/support/tag_count_formatter.rb +1 -1
  24. data/examples/tickets/Rakefile +13 -8
  25. data/examples/tickets/cucumber.yml +2 -1
  26. data/examples/tickets/features/236.feature +13 -0
  27. data/examples/tickets/features/241.feature +13 -0
  28. data/examples/tickets/features/step_definitons/tickets_steps.rb +17 -4
  29. data/examples/tickets/features/tickets.feature +1 -1
  30. data/features/background.feature +9 -11
  31. data/features/cucumber_cli.feature +24 -1
  32. data/features/cucumber_cli_outlines.feature +10 -19
  33. data/features/report_called_undefined_steps.feature +2 -0
  34. data/gem_tasks/rspec.rake +3 -2
  35. data/lib/cucumber.rb +7 -15
  36. data/lib/cucumber/ast.rb +3 -3
  37. data/lib/cucumber/ast/background.rb +28 -66
  38. data/lib/cucumber/ast/examples.rb +15 -3
  39. data/lib/cucumber/ast/feature.rb +20 -24
  40. data/lib/cucumber/ast/feature_element.rb +46 -0
  41. data/lib/cucumber/ast/features.rb +2 -21
  42. data/lib/cucumber/ast/outline_table.rb +46 -14
  43. data/lib/cucumber/ast/py_string.rb +9 -3
  44. data/lib/cucumber/ast/scenario.rb +34 -73
  45. data/lib/cucumber/ast/scenario_outline.rb +40 -42
  46. data/lib/cucumber/ast/step.rb +51 -90
  47. data/lib/cucumber/ast/step_collection.rb +66 -0
  48. data/lib/cucumber/ast/step_invocation.rb +110 -0
  49. data/lib/cucumber/ast/table.rb +41 -21
  50. data/lib/cucumber/ast/tags.rb +4 -11
  51. data/lib/cucumber/ast/visitor.rb +35 -19
  52. data/lib/cucumber/broadcaster.rb +1 -3
  53. data/lib/cucumber/cli/configuration.rb +25 -17
  54. data/lib/cucumber/cli/language_help_formatter.rb +4 -4
  55. data/lib/cucumber/cli/main.rb +6 -4
  56. data/lib/cucumber/core_ext/proc.rb +2 -2
  57. data/lib/cucumber/formatter/ansicolor.rb +0 -1
  58. data/lib/cucumber/formatter/console.rb +24 -34
  59. data/lib/cucumber/formatter/html.rb +18 -11
  60. data/lib/cucumber/formatter/pretty.rb +48 -36
  61. data/lib/cucumber/formatter/profile.rb +6 -6
  62. data/lib/cucumber/formatter/progress.rb +14 -22
  63. data/lib/cucumber/formatter/rerun.rb +6 -6
  64. data/lib/cucumber/jbehave.rb +21 -26
  65. data/lib/cucumber/languages.yml +17 -2
  66. data/lib/cucumber/parser/feature.rb +26 -29
  67. data/lib/cucumber/parser/feature.tt +17 -12
  68. data/lib/cucumber/parser/treetop_ext.rb +13 -13
  69. data/lib/cucumber/platform.rb +0 -1
  70. data/lib/cucumber/rails/world.rb +2 -2
  71. data/lib/cucumber/rake/task.rb +1 -2
  72. data/lib/cucumber/step_definition.rb +21 -12
  73. data/lib/cucumber/step_match.rb +49 -0
  74. data/lib/cucumber/step_mother.rb +100 -80
  75. data/lib/cucumber/version.rb +2 -2
  76. data/lib/cucumber/world.rb +53 -0
  77. data/rails_generators/cucumber/templates/paths.rb +1 -1
  78. data/rails_generators/cucumber/templates/webrat_steps.rb +17 -17
  79. data/rails_generators/feature/feature_generator.rb +5 -1
  80. data/rails_generators/feature/templates/steps.erb +0 -4
  81. data/spec/cucumber/ast/background_spec.rb +32 -41
  82. data/spec/cucumber/ast/feature_factory.rb +10 -1
  83. data/spec/cucumber/ast/feature_spec.rb +7 -30
  84. data/spec/cucumber/ast/py_string_spec.rb +7 -0
  85. data/spec/cucumber/ast/scenario_outline_spec.rb +3 -0
  86. data/spec/cucumber/ast/scenario_spec.rb +8 -25
  87. data/spec/cucumber/ast/step_collection_spec.rb +8 -0
  88. data/spec/cucumber/ast/step_spec.rb +49 -28
  89. data/spec/cucumber/ast/table_spec.rb +13 -3
  90. data/spec/cucumber/ast/tags_spec.rb +2 -18
  91. data/spec/cucumber/broadcaster_spec.rb +6 -5
  92. data/spec/cucumber/cli/configuration_spec.rb +7 -0
  93. data/spec/cucumber/cli/main_spec.rb +1 -1
  94. data/spec/cucumber/parser/feature_parser_spec.rb +6 -5
  95. data/spec/cucumber/step_definition_spec.rb +16 -5
  96. data/spec/cucumber/step_mother_spec.rb +6 -6
  97. data/spec/cucumber/world/pending_spec.rb +1 -1
  98. metadata +24 -5
  99. data/lib/cucumber/ast/filter.rb +0 -22
  100. data/lib/cucumber/ast/steps.rb +0 -13
@@ -0,0 +1,8 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ module Cucumber
4
+ module Ast
5
+ describe StepCollection do
6
+ end
7
+ end
8
+ end
@@ -5,40 +5,61 @@ require 'cucumber/core_ext/string'
5
5
 
6
6
  module Cucumber
7
7
  module Ast
8
- describe StepMother do
9
- it "should calculate comment padding" do
10
- scenario = Scenario.new(comment=nil, tags=nil, line=nil, keyword='Given', name='Gazpacho', steps=[
11
- Step.new(22, "Given", "tøtal 13"),
12
- Step.new(23, "And", "the total 15")
8
+ describe Step do
9
+ it "should replace arguments in name" do
10
+ step = Step.new(1, 'Given', 'a <color> cucumber')
11
+
12
+ invocation_table = Table.new([
13
+ %w{color taste},
14
+ %w{green juicy}
13
15
  ])
14
- step1, step2 = *scenario.instance_variable_get('@steps')
16
+ cells = invocation_table.cells_rows[1]
17
+ step_invocation = step.step_invocation_from_cells(cells)
18
+
19
+ step_invocation.name.should == 'a green cucumber'
20
+ end
21
+
22
+ it "should use empty string for the replacement of arguments in name when replace value is nil" do
23
+ step = Step.new(1, 'Given', 'a <color>cucumber')
15
24
 
16
- step1.source_indent.should == 2
17
- step2.source_indent.should == 0
25
+ invocation_table = Table.new([
26
+ ['color'],
27
+ [nil]
28
+ ])
29
+ cells = invocation_table.cells_rows[1]
30
+ step_invocation = step.step_invocation_from_cells(cells)
31
+
32
+ step_invocation.name.should == 'a cucumber'
18
33
  end
19
- end
20
-
21
- describe Step do
22
- describe "execute step with arguments" do
23
-
24
- it "should replace arguments in multiline args" do
25
- mock_multiline_arg = mock('multiline arg')
26
- step = Step.new(23, 'Given', '<test>', mock_multiline_arg)
27
34
 
28
- mock_multiline_arg.should_receive(:arguments_replaced).with({'<test>' => '10'}).and_return(mock_multiline_arg)
35
+ it "should replace arguments in table arg" do
36
+ arg_table = Table.new([%w{taste_<taste> color_<color>}])
37
+
38
+ step = Step.new(1, 'Given', 'a <color> cucumber', arg_table)
39
+
40
+ invocation_table = Table.new([
41
+ %w{color taste},
42
+ %w{green juicy}
43
+ ])
44
+ cells = invocation_table.cells_rows[1]
45
+ step_invocation = step.step_invocation_from_cells(cells)
29
46
 
30
- step.execute_with_arguments({'test' => '10'}, stub('world'), :passed, visitor=nil, line=-1)
31
- end
32
-
33
- it "should invoke step with replaced multiline args" do
34
- mock_step_definition = mock('step definition')
35
- mock_multiline_arg_replaced = mock('multiline arg replaced')
36
- mock_multiline_arg = mock('multiline arg', :arguments_replaced => mock_multiline_arg_replaced)
37
- step = Step.new(45, 'Given', '<test>', mock_multiline_arg)
47
+ step_invocation.instance_variable_get('@multiline_arg').raw.should == [%w{taste_juicy color_green}]
48
+ end
49
+
50
+ it "should replace arguments in py string arg" do
51
+ py_string = PyString.new(1, 2, 'taste_<taste> color_<color>', 0)
52
+
53
+ step = Step.new(1, 'Given', 'a <color> cucumber', py_string)
54
+
55
+ invocation_table = Table.new([
56
+ %w{color taste},
57
+ %w{green juicy}
58
+ ])
59
+ cells = invocation_table.cells_rows[1]
60
+ step_invocation = step.step_invocation_from_cells(cells)
38
61
 
39
- step.execute_with_arguments({'test' => '10'}, stub('world'), :passed, visitor=nil, line=-1)
40
- end
41
-
62
+ step_invocation.instance_variable_get('@multiline_arg').to_s.should == 'taste_juicy color_green'
42
63
  end
43
64
  end
44
65
  end
@@ -103,6 +103,16 @@ module Cucumber
103
103
  table_with_replaced_args.hashes[0]['book'].should == nil
104
104
  end
105
105
 
106
+ it "should preserve values which don't match a placeholder when replacing with nil" do
107
+ table = Table.new([
108
+ %w{book},
109
+ %w{cat}
110
+ ])
111
+ table_with_replaced_args = table.arguments_replaced({'<book>' => nil})
112
+
113
+ table_with_replaced_args.hashes[0]['book'].should == 'cat'
114
+ end
115
+
106
116
  it "should not change the original table" do
107
117
  @table.arguments_replaced({'<book>' => 'Unbearable lightness of being'})
108
118
 
@@ -111,11 +121,11 @@ module Cucumber
111
121
 
112
122
  it "should not raise an error when there are nil values in the table" do
113
123
  table = Table.new([
114
- ['book'],
115
- [nil]
124
+ ['book', 'qty'],
125
+ ['<book>', nil],
116
126
  ])
117
127
  lambda{
118
- table.arguments_replaced({'<book>' => 'The great sheep chase'})
128
+ table.arguments_replaced({'<book>' => nil, '<qty>' => '5'})
119
129
  }.should_not raise_error
120
130
  end
121
131
 
@@ -8,27 +8,11 @@ module Cucumber
8
8
  end
9
9
 
10
10
  it "should be among other tags" do
11
- @tags.should be_among(%w{one})
12
- end
13
-
14
- it "should be among other tags even with @ prefix" do
15
- @tags.should be_among(%w{@one})
16
- end
17
-
18
- it "should not be among other tags" do
19
- @tags.should_not be_among(%w{one ~two})
20
- end
21
-
22
- it "should not be among other tags with @ prefix" do
23
- @tags.should_not be_among(%w{one ~@two})
24
- end
25
-
26
- it "should be among other tags with irrelevant negative tag" do
27
- @tags.should be_among(%w{~bacon})
11
+ @tags.should have_tags(%w{one})
28
12
  end
29
13
 
30
14
  it "should not be among other tags with irrelevent tag" do
31
- @tags.should_not be_among(%w{bacon})
15
+ @tags.should_not have_tags(%w{bacon})
32
16
  end
33
17
  end
34
18
  end
@@ -2,13 +2,14 @@ require File.dirname(__FILE__) + '/../spec_helper'
2
2
 
3
3
  module Cucumber
4
4
  describe Broadcaster do
5
+ before do
6
+ @receiver = mock('receiver')
7
+ @broadcaster = Broadcaster.new([@receiver])
8
+ end
5
9
 
6
10
  it "should broadcast methods to registered objects" do
7
- receiver = mock('receiver')
8
- broadcaster = Broadcaster.new([receiver])
9
-
10
- receiver.should_receive(:konbanwa).with('good evening')
11
- broadcaster.konbanwa('good evening')
11
+ @receiver.should_receive(:konbanwa).with('good evening')
12
+ @broadcaster.konbanwa('good evening')
12
13
  end
13
14
  end
14
15
  end
@@ -201,6 +201,13 @@ END_OF_MESSAGE
201
201
  config.parse!(['--no-color'])
202
202
  end
203
203
 
204
+ it "should parse tags" do
205
+ config = Configuration.new(nil)
206
+ includes, excludes = config.parse_tags("one,~two,@three,~@four")
207
+ includes.should == ['one', 'three']
208
+ excludes.should == ['two', 'four']
209
+ end
210
+
204
211
  describe "--backtrace" do
205
212
  before do
206
213
  Exception.cucumber_full_backtrace = false
@@ -26,7 +26,7 @@ module Cli
26
26
  describe "verbose mode" do
27
27
 
28
28
  before(:each) do
29
- @empty_feature = Ast::Feature.new(Ast::Comment.new(''), Ast::Tags.new(2, []), "Feature", [])
29
+ @empty_feature = Ast::Feature.new(nil, Ast::Comment.new(''), Ast::Tags.new(2, []), "Feature", [])
30
30
  Dir.stub!(:[])
31
31
  end
32
32
 
@@ -94,14 +94,15 @@ Feature: hi
94
94
  Given Pepper
95
95
 
96
96
  @st3
97
- @st4 @ST5 @#^%&ST6**!
97
+ @st4 @ST5 @#^%&ST6**!
98
98
  Scenario: Second}).to_sexp.should ==
99
99
  [:feature, "Feature: hi",
100
100
  [:comment, "# FC\n "],
101
101
  [:tag, "ft"],
102
102
  [:scenario, 6, 'Scenario:', 'First',
103
103
  [:tag, "st1"], [:tag, "st2"],
104
- [:step, 7, "Given", "Pepper"]],
104
+ [:step_invocation, 7, "Given", "Pepper"]
105
+ ],
105
106
  [:scenario, 11, 'Scenario:', 'Second',
106
107
  [:tag, "st3"], [:tag, "st4"], [:tag, "ST5"], [:tag, "#^%&ST6**!"]]]
107
108
  end
@@ -135,7 +136,7 @@ Scenario: bar
135
136
  parse("Feature: Hi\nScenario: Hello\nGiven I am a step\n").to_sexp.should ==
136
137
  [:feature, "Feature: Hi",
137
138
  [:scenario, 2, "Scenario:", "Hello",
138
- [:step, 3, "Given", "I am a step"]]]
139
+ [:step_invocation, 3, "Given", "I am a step"]]]
139
140
  end
140
141
 
141
142
  it "should have steps with inline table" do
@@ -146,7 +147,7 @@ Given I have a table
146
147
  }).to_sexp.should ==
147
148
  [:feature, "Feature: Hi",
148
149
  [:scenario, 2, "Scenario:", "Hello",
149
- [:step, 3, "Given", "I have a table",
150
+ [:step_invocation, 3, "Given", "I have a table",
150
151
  [:table,
151
152
  [:row,
152
153
  [:cell, "a"],
@@ -167,7 +168,7 @@ Given I have a string
167
168
  }).to_sexp.should ==
168
169
  [:feature, "Feature: Hi",
169
170
  [:scenario, 2, "Scenario:", "Hello",
170
- [:step, 3, "Given", "I have a string",
171
+ [:step_invocation, 3, "Given", "I have a string",
171
172
  [:py_string, "hello\nworld"]]]]
172
173
  end
173
174
  end
@@ -8,7 +8,7 @@ module Cucumber
8
8
  describe StepDefinition do
9
9
  before do
10
10
  extend StepMother
11
- @world = new_world
11
+ @world = new_world!
12
12
  $inside = nil
13
13
  end
14
14
 
@@ -20,7 +20,7 @@ module Cucumber
20
20
  $inside = true
21
21
  end
22
22
 
23
- step_definition("Outside").execute(nil, @world)
23
+ step_match("Outside").invoke(@world, nil)
24
24
  $inside.should == true
25
25
  end
26
26
 
@@ -32,7 +32,7 @@ module Cucumber
32
32
  $inside = table.raw[0][0]
33
33
  end
34
34
 
35
- step_definition("Outside").execute(nil, @world)
35
+ step_match("Outside").invoke(@world, nil)
36
36
  $inside.should == 'inside'
37
37
  end
38
38
 
@@ -45,7 +45,7 @@ module Cucumber
45
45
  step.should_receive(:exception=)
46
46
  lambda do
47
47
  @world.__cucumber_current_step = step
48
- step_definition('Outside').execute(nil, @world)
48
+ step_match('Outside').invoke(@world, nil)
49
49
  end.should raise_error(Undefined, 'Undefined step: "Inside"')
50
50
  end
51
51
 
@@ -55,7 +55,7 @@ module Cucumber
55
55
  end
56
56
 
57
57
  lambda do
58
- step_definition("Outside").execute(nil, @world)
58
+ step_match("Outside").invoke(@world, nil)
59
59
  end.should raise_error(Pending, "Do me!")
60
60
  end
61
61
 
@@ -66,5 +66,16 @@ module Cucumber
66
66
  stepdef.to_s.should == '/Hello (.*)/ # spec/cucumber/step_definition_spec.rb:63'
67
67
  stepdef.to_s(2).should == '/Hello (.*)/ # spec/cucumber/step_definition_spec.rb:63'
68
68
  end
69
+
70
+ it "should allow announce" do
71
+ v = mock('visitor')
72
+ v.should_receive(:announce).with('wasup')
73
+ self.visitor = v
74
+ world = new_world!
75
+ Given /Loud/ do
76
+ announce 'wasup'
77
+ end
78
+ step_match("Loud").invoke(world, nil)
79
+ end
69
80
  end
70
81
  end
@@ -15,7 +15,7 @@ module Cucumber
15
15
  end
16
16
  @step_mother.Given(/nope something else/) do |what, month|
17
17
  end
18
- format = @step_mother.step_definition("it snows in april").format_args("it snows in april", "[%s]")
18
+ format = @step_mother.step_match("it snows in april").format_args("[%s]")
19
19
  format.should == "it [snows] in [april]"
20
20
  end
21
21
 
@@ -24,7 +24,7 @@ module Cucumber
24
24
  @step_mother.Given(/Three blind (.*)/) {|animal|}
25
25
 
26
26
  lambda do
27
- @step_mother.step_definition("Three blind mice")
27
+ @step_mother.step_match("Three blind mice")
28
28
  end.should raise_error(Ambiguous, %{Ambiguous match of "Three blind mice":
29
29
 
30
30
  spec/cucumber/step_mother_spec.rb:23:in `/Three (.*) mice/'
@@ -39,7 +39,7 @@ spec/cucumber/step_mother_spec.rb:24:in `/Three blind (.*)/'
39
39
  @step_mother.Given(/Three (.*)/) {|animal|}
40
40
 
41
41
  lambda do
42
- @step_mother.step_definition("Three blind mice")
42
+ @step_mother.step_match("Three blind mice")
43
43
  end.should_not raise_error
44
44
  end
45
45
 
@@ -47,19 +47,19 @@ spec/cucumber/step_mother_spec.rb:24:in `/Three blind (.*)/'
47
47
  @step_mother.options = {:guess => true}
48
48
  right = @step_mother.Given(/Three (.*) mice/) {|disability|}
49
49
  wrong = @step_mother.Given(/Three (.*)/) {|animal|}
50
- @step_mother.step_definition("Three blind mice").should == right
50
+ @step_mother.step_match("Three blind mice").step_definition.should == right
51
51
  end
52
52
 
53
53
  it "should pick right step definition when --guess is enabled and unequal number of capture groups" do
54
54
  @step_mother.options = {:guess => true}
55
55
  right = @step_mother.Given(/Three (.*) mice ran (.*)/) {|disability|}
56
56
  wrong = @step_mother.Given(/Three (.*)/) {|animal|}
57
- @step_mother.step_definition("Three blind mice ran far").should == right
57
+ @step_mother.step_match("Three blind mice ran far").step_definition.should == right
58
58
  end
59
59
 
60
60
  it "should raise Undefined error when no step definitions match" do
61
61
  lambda do
62
- @step_mother.step_definition("Three blind mice")
62
+ @step_mother.step_match("Three blind mice")
63
63
  end.should raise_error(Undefined)
64
64
  end
65
65
 
@@ -7,7 +7,7 @@ module Cucumber
7
7
  before(:each) do
8
8
  @step_mom = Object.new
9
9
  @step_mom.extend(StepMother)
10
- @world = @step_mom.new_world
10
+ @world = @step_mom.__send__(:new_world!)
11
11
  end
12
12
 
13
13
  it 'should raise a Pending if no block is supplied' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kosmas58-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.99.23
4
+ version: 0.1.100.5
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-03-13 00:00:00 -07:00
12
+ date: 2009-03-18 00:00:00 -07:00
13
13
  default_executable: cucumber
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -117,6 +117,12 @@ files:
117
117
  - examples/i18n/de/features/division.feature
118
118
  - examples/i18n/de/features/step_definitons/calculator_steps.rb
119
119
  - examples/i18n/de/lib/calculator.rb
120
+ - examples/i18n/en-lol/Rakefile
121
+ - examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
122
+ - examples/i18n/en-lol/features/stuffing.feature
123
+ - examples/i18n/en-lol/features/support/env.rb
124
+ - examples/i18n/en-lol/lib/basket.rb
125
+ - examples/i18n/en-lol/lib/belly.rb
120
126
  - examples/i18n/en/Rakefile
121
127
  - examples/i18n/en/features/addition.feature
122
128
  - examples/i18n/en/features/division.feature
@@ -127,6 +133,7 @@ files:
127
133
  - examples/i18n/es/features/step_definitons/calculador_steps.rb
128
134
  - examples/i18n/es/lib/calculador.rb
129
135
  - examples/i18n/et/Rakefile
136
+ - examples/i18n/et/features/jagamine.feature
130
137
  - examples/i18n/et/features/liitmine.feature
131
138
  - examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
132
139
  - examples/i18n/et/lib/kalkulaator.rb
@@ -213,9 +220,15 @@ files:
213
220
  - examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Trader.java
214
221
  - examples/jbehave/src/main/java/cukes/jbehave/examples/trader/persistence/TraderPersister.java
215
222
  - examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java
223
+ - examples/jbehave/target/maven-archiver/pom.properties
216
224
  - examples/selenium/Rakefile
217
225
  - examples/selenium/features/search.feature
218
- - examples/selenium/features/step_definitons/stories_steps.rb
226
+ - examples/selenium/features/step_definitons/search_steps.rb
227
+ - examples/selenium/features/support/env.rb
228
+ - examples/selenium_webrat/Rakefile
229
+ - examples/selenium_webrat/features/search.feature
230
+ - examples/selenium_webrat/features/step_definitons/search_steps.rb
231
+ - examples/selenium_webrat/features/support/env.rb
219
232
  - examples/self_test/README.textile
220
233
  - examples/self_test/Rakefile
221
234
  - examples/self_test/features/background/failing_background.feature
@@ -250,6 +263,8 @@ files:
250
263
  - examples/tickets/features/177/2.feature
251
264
  - examples/tickets/features/177/3.feature
252
265
  - examples/tickets/features/180.feature
266
+ - examples/tickets/features/236.feature
267
+ - examples/tickets/features/241.feature
253
268
  - examples/tickets/features/lib/eatting_machine.rb
254
269
  - examples/tickets/features/lib/pantry.rb
255
270
  - examples/tickets/features/scenario_outline.feature
@@ -291,14 +306,15 @@ files:
291
306
  - lib/cucumber/ast/comment.rb
292
307
  - lib/cucumber/ast/examples.rb
293
308
  - lib/cucumber/ast/feature.rb
309
+ - lib/cucumber/ast/feature_element.rb
294
310
  - lib/cucumber/ast/features.rb
295
- - lib/cucumber/ast/filter.rb
296
311
  - lib/cucumber/ast/outline_table.rb
297
312
  - lib/cucumber/ast/py_string.rb
298
313
  - lib/cucumber/ast/scenario.rb
299
314
  - lib/cucumber/ast/scenario_outline.rb
300
315
  - lib/cucumber/ast/step.rb
301
- - lib/cucumber/ast/steps.rb
316
+ - lib/cucumber/ast/step_collection.rb
317
+ - lib/cucumber/ast/step_invocation.rb
302
318
  - lib/cucumber/ast/table.rb
303
319
  - lib/cucumber/ast/tags.rb
304
320
  - lib/cucumber/ast/visitor.rb
@@ -338,8 +354,10 @@ files:
338
354
  - lib/cucumber/rails/world.rb
339
355
  - lib/cucumber/rake/task.rb
340
356
  - lib/cucumber/step_definition.rb
357
+ - lib/cucumber/step_match.rb
341
358
  - lib/cucumber/step_mother.rb
342
359
  - lib/cucumber/version.rb
360
+ - lib/cucumber/world.rb
343
361
  - rails_generators/cucumber/USAGE
344
362
  - rails_generators/cucumber/cucumber_generator.rb
345
363
  - rails_generators/cucumber/templates/cucumber
@@ -357,6 +375,7 @@ files:
357
375
  - spec/cucumber/ast/py_string_spec.rb
358
376
  - spec/cucumber/ast/scenario_outline_spec.rb
359
377
  - spec/cucumber/ast/scenario_spec.rb
378
+ - spec/cucumber/ast/step_collection_spec.rb
360
379
  - spec/cucumber/ast/step_spec.rb
361
380
  - spec/cucumber/ast/table_spec.rb
362
381
  - spec/cucumber/ast/tags_spec.rb