cucumber 2.0.0.rc.4 → 2.0.0.rc.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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +74 -52
  3. data/examples/i18n/ht/Rakefile +6 -0
  4. data/examples/i18n/ht/features/adisyon.feature +17 -0
  5. data/examples/i18n/ht/features/divizyon.feature +10 -0
  6. data/examples/i18n/ht/features/step_definitions/kalkilatris_steps.rb +25 -0
  7. data/examples/i18n/ht/lib/kalkilatris.rb +14 -0
  8. data/features/docs/cli/dry_run.feature +43 -0
  9. data/features/docs/cli/strict_mode.feature +24 -1
  10. data/features/docs/defining_steps/nested_steps.feature +49 -0
  11. data/features/docs/exception_in_after_step_hook.feature +1 -1
  12. data/features/docs/exception_in_around_hook.feature +80 -0
  13. data/features/docs/formatters/json_formatter.feature +65 -1
  14. data/features/docs/formatters/junit_formatter.feature +40 -0
  15. data/features/docs/{wire_protocol_erb.feature → wire_protocol/erb_configuration.feature} +2 -2
  16. data/features/docs/wire_protocol/handle_unexpected_response.feature +30 -0
  17. data/features/docs/wire_protocol/invoke_message.feature +216 -0
  18. data/features/docs/wire_protocol/readme.md +26 -0
  19. data/features/docs/wire_protocol/snippets_message.feature +51 -0
  20. data/features/docs/wire_protocol/step_matches_message.feature +81 -0
  21. data/features/docs/{wire_protocol_table_diffing.feature → wire_protocol/table_diffing.feature} +1 -0
  22. data/features/docs/{wire_protocol_tags.feature → wire_protocol/tags.feature} +1 -0
  23. data/features/docs/{wire_protocol_timeouts.feature → wire_protocol/timeouts.feature} +1 -0
  24. data/features/docs/work_in_progress.feature +1 -1
  25. data/features/docs/writing_support_code/around_hooks.feature +31 -0
  26. data/features/docs/writing_support_code/before_hook.feature +7 -3
  27. data/features/docs/writing_support_code/tagged_hooks.feature +44 -6
  28. data/features/lib/step_definitions/wire_steps.rb +18 -1
  29. data/features/lib/support/fake_wire_server.rb +10 -7
  30. data/lib/cucumber.rb +1 -3
  31. data/lib/cucumber/cli/options.rb +7 -0
  32. data/lib/cucumber/encoding.rb +5 -0
  33. data/lib/cucumber/errors.rb +8 -0
  34. data/lib/cucumber/filters/prepare_world.rb +13 -5
  35. data/lib/cucumber/formatter/console.rb +1 -1
  36. data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +9 -6
  37. data/lib/cucumber/formatter/junit.rb +95 -0
  38. data/lib/cucumber/formatter/legacy_api/adapter.rb +39 -3
  39. data/lib/cucumber/platform.rb +1 -1
  40. data/lib/cucumber/project_initializer.rb +43 -0
  41. data/lib/cucumber/rb_support/rb_step_definition.rb +11 -2
  42. data/lib/cucumber/rb_support/rb_world.rb +2 -2
  43. data/lib/cucumber/rb_support/snippet.rb +1 -1
  44. data/lib/cucumber/rspec/doubles.rb +1 -1
  45. data/lib/cucumber/running_test_case.rb +115 -0
  46. data/lib/cucumber/runtime.rb +5 -1
  47. data/lib/cucumber/runtime/for_programming_languages.rb +2 -2
  48. data/lib/cucumber/runtime/support_code.rb +18 -8
  49. data/spec/cucumber/formatter/junit_spec.rb +212 -156
  50. data/spec/cucumber/formatter/legacy_api/adapter_spec.rb +89 -1
  51. data/spec/cucumber/formatter/pretty_spec.rb +13 -0
  52. data/spec/cucumber/project_initializer_spec.rb +87 -0
  53. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +21 -3
  54. data/spec/cucumber/rb_support/snippet_spec.rb +6 -6
  55. data/spec/cucumber/running_test_case_spec.rb +83 -0
  56. data/spec/spec_helper.rb +1 -4
  57. metadata +35 -18
  58. data/bin/cuke +0 -60
  59. data/features/docs/report_called_undefined_steps.feature +0 -57
  60. data/features/docs/wire_protocol.feature +0 -337
  61. data/lib/cucumber/ast/facade.rb +0 -117
@@ -1884,7 +1884,7 @@ module Cucumber
1884
1884
  end
1885
1885
 
1886
1886
  context 'with an exception in an after hook but no steps' do
1887
- it 'prints the exception after the steps' do
1887
+ it 'prints the exception after the scenario name' do
1888
1888
  filters = [
1889
1889
  Filters::ActivateSteps.new(SimpleStepDefinitions.new),
1890
1890
  Filters::ApplyAfterHooks.new(FailingAfterHook.new),
@@ -1914,6 +1914,94 @@ module Cucumber
1914
1914
  ])
1915
1915
  end
1916
1916
  end
1917
+
1918
+ context 'with an exception in an around hook before the test case is run' do
1919
+ class FailingAroundHookBeforeRunningTestCase
1920
+ def find_around_hooks(test_case)
1921
+ [
1922
+ Hooks.around_hook(test_case.source) { raise Failure }
1923
+ ]
1924
+ end
1925
+ end
1926
+
1927
+ it 'prints the exception after the scenario name' do
1928
+ filters = [
1929
+ Filters::ActivateSteps.new(SimpleStepDefinitions.new),
1930
+ Filters::ApplyAroundHooks.new(FailingAroundHookBeforeRunningTestCase.new),
1931
+ AddBeforeAndAfterHooks.new
1932
+ ]
1933
+ execute_gherkin(filters) do
1934
+ feature do
1935
+ scenario do
1936
+ end
1937
+ end
1938
+ end
1939
+
1940
+ expect( formatter.legacy_messages ).to eq([
1941
+ :before_features,
1942
+ :before_feature,
1943
+ :before_tags,
1944
+ :after_tags,
1945
+ :feature_name,
1946
+ :before_feature_element,
1947
+ :before_tags,
1948
+ :after_tags,
1949
+ :scenario_name,
1950
+ :exception,
1951
+ :after_feature_element,
1952
+ :after_feature,
1953
+ :after_features,
1954
+ ])
1955
+ end
1956
+ end
1957
+
1958
+ context 'with an exception in an around hook after the test case is run' do
1959
+ class FailingAroundHookAfterRunningTestCase
1960
+ def find_around_hooks(test_case)
1961
+ [
1962
+ Hooks.around_hook(test_case.source) { |run_test_case| run_test_case.call; raise Failure }
1963
+ ]
1964
+ end
1965
+ end
1966
+
1967
+ it 'prints the exception after the scenario name' do
1968
+ filters = [
1969
+ Filters::ActivateSteps.new(SimpleStepDefinitions.new),
1970
+ Filters::ApplyAroundHooks.new(FailingAroundHookAfterRunningTestCase.new),
1971
+ AddBeforeAndAfterHooks.new
1972
+ ]
1973
+ execute_gherkin(filters) do
1974
+ feature do
1975
+ scenario do
1976
+ step
1977
+ end
1978
+ end
1979
+ end
1980
+
1981
+ expect( formatter.legacy_messages ).to eq([
1982
+ :before_features,
1983
+ :before_feature,
1984
+ :before_tags,
1985
+ :after_tags,
1986
+ :feature_name,
1987
+ :before_feature_element,
1988
+ :before_tags,
1989
+ :after_tags,
1990
+ :scenario_name,
1991
+ :before_steps,
1992
+ :before_step,
1993
+ :before_step_result,
1994
+ :step_name,
1995
+ :after_step_result,
1996
+ :after_step,
1997
+ :exception,
1998
+ :after_steps,
1999
+ :after_feature_element,
2000
+ :after_feature,
2001
+ :after_features,
2002
+ ])
2003
+ end
2004
+ end
1917
2005
  end
1918
2006
 
1919
2007
  it 'passes nil as the multiline arg when there is none' do
@@ -21,6 +21,19 @@ module Cucumber
21
21
  run_defined_feature
22
22
  end
23
23
 
24
+ describe "with a scenario with no steps" do
25
+ define_feature <<-FEATURE
26
+ Feature: Banana party
27
+
28
+ Scenario: Monkey eats banana
29
+ FEATURE
30
+
31
+ it "outputs the scenario name" do
32
+ expect(@out.string).to include "Scenario: Monkey eats banana"
33
+ end
34
+ end
35
+
36
+
24
37
  describe "with a scenario" do
25
38
  define_feature <<-FEATURE
26
39
  Feature: Banana party
@@ -0,0 +1,87 @@
1
+ require 'spec_helper'
2
+ require 'tmpdir'
3
+
4
+ module Cucumber
5
+ describe ProjectInitializer, :isolated_home => true do
6
+ let(:command_line_config) { ProjectInitializer.new }
7
+
8
+ before do
9
+ allow(command_line_config).to receive(:puts)
10
+ end
11
+
12
+ context "no files created" do
13
+ around(:example) do |example|
14
+
15
+ dir = Dir.mktmpdir
16
+ original_dir = Dir.pwd
17
+ begin
18
+ FileUtils.cd dir
19
+ example.call
20
+ ensure
21
+ FileUtils.cd original_dir
22
+ FileUtils.rm_rf dir
23
+ end
24
+ end
25
+
26
+ it "should create features directory" do
27
+ expect(command_line_config).to receive(:puts).with %r(^\s+create\s+features$)
28
+ command_line_config.run
29
+ end
30
+
31
+ it "should create step_definitions directory" do
32
+ expect(command_line_config).to receive(:puts).with %r(^\s+create\s+features/step_definitions$)
33
+ command_line_config.run
34
+ end
35
+
36
+ it "should create support directory" do
37
+ expect(command_line_config).to receive(:puts).with %r(^\s+create\s+features/support$)
38
+ command_line_config.run
39
+ end
40
+
41
+ it "should create env.rb directory" do
42
+ expect(command_line_config).to receive(:puts).with %r(^\s+create\s+features/support/env.rb$)
43
+ command_line_config.run
44
+ end
45
+
46
+ end
47
+
48
+ context "files created" do
49
+ around(:example) do |example|
50
+ dir = Dir.mktmpdir
51
+ FileUtils.mkdir_p "#{dir}/features"
52
+ FileUtils.mkdir_p "#{dir}/features/step_definitions"
53
+ FileUtils.mkdir_p "#{dir}/features/support"
54
+ FileUtils.touch "#{dir}/features/support/env.rb"
55
+ original_dir = Dir.pwd
56
+ begin
57
+ FileUtils.cd dir
58
+ example.call
59
+ ensure
60
+ FileUtils.cd original_dir
61
+ FileUtils.rm_rf dir
62
+ end
63
+ end
64
+
65
+ it "should not create features directory" do
66
+ expect(command_line_config).to receive(:puts).with %r(^\s+exist\s+features$)
67
+ command_line_config.run
68
+ end
69
+
70
+ it "should not create step_definitions directory" do
71
+ expect(command_line_config).to receive(:puts).with %r(^\s+exist\s+features/step_definitions$)
72
+ command_line_config.run
73
+ end
74
+
75
+ it "should not create support directory" do
76
+ expect(command_line_config).to receive(:puts).with %r(^\s+exist\s+features/support$)
77
+ command_line_config.run
78
+ end
79
+
80
+ it "should not create env.rb directory" do
81
+ expect(command_line_config).to receive(:puts).with %r(^\s+exist\s+features/support/env.rb$)
82
+ command_line_config.run
83
+ end
84
+
85
+ end
86
+ end
87
+ end
@@ -7,13 +7,14 @@ module Cucumber
7
7
  let(:user_interface) { double('user interface') }
8
8
  let(:support_code) { Cucumber::Runtime::SupportCode.new(user_interface) }
9
9
  let(:rb) { support_code.load_programming_language('rb') }
10
+ let(:scenario) { double('scenario', iso_code: 'en').as_null_object }
10
11
  let(:dsl) do
11
12
  rb
12
13
  Object.new.extend(Cucumber::RbSupport::RbDsl)
13
14
  end
14
15
 
15
16
  before do
16
- rb.begin_scenario(double('scenario').as_null_object)
17
+ rb.begin_scenario(scenario)
17
18
  $inside = nil
18
19
  end
19
20
 
@@ -84,16 +85,33 @@ module Cucumber
84
85
 
85
86
  run_step "With symbol on symbol"
86
87
  end
88
+
89
+ it "has the correct location" do
90
+ dsl.Given /With symbol/, :with_symbol
91
+ expect(step_match("With symbol").file_colon_line).to eq "spec/cucumber/rb_support/rb_step_definition_spec.rb:#{__LINE__-1}"
92
+ end
87
93
  end
88
94
 
89
- it "raises Undefined when inside step is not defined" do
95
+ it "raises UndefinedDynamicStep when inside step is not defined" do
90
96
  dsl.Given(/Outside/) do
91
97
  step 'Inside'
92
98
  end
93
99
 
94
100
  expect(-> {
95
101
  run_step "Outside"
96
- }).to raise_error(Cucumber::Undefined)
102
+ }).to raise_error(Cucumber::UndefinedDynamicStep)
103
+ end
104
+
105
+ it "raises UndefinedDynamicStep when an undefined step is parsed dynamically" do
106
+ dsl.Given(/Outside/) do
107
+ steps %{
108
+ Given Inside
109
+ }
110
+ end
111
+
112
+ expect(-> {
113
+ run_step "Outside"
114
+ }).to raise_error(Cucumber::UndefinedDynamicStep)
97
115
  end
98
116
 
99
117
  it "allows forced pending" do
@@ -27,7 +27,7 @@ module Cucumber
27
27
  @pattern = 'A "string" with 4 spaces'
28
28
 
29
29
  expect(snippet_text).to eq unindented(%{
30
- Given(/^A "(.*?)" with (\\d+) spaces$/) do |arg1, arg2|
30
+ Given(/^A "([^"]*)" with (\\d+) spaces$/) do |arg1, arg2|
31
31
  pending # Write code here that turns the phrase above into concrete actions
32
32
  end
33
33
  })
@@ -48,7 +48,7 @@ module Cucumber
48
48
  @multiline_argument = Core::Ast::DataTable.new([[]], Core::Ast::Location.new(''))
49
49
 
50
50
  expect(snippet_text).to eq unindented(%{
51
- Given(/^I have (\\d+) "(.*?)" cukes in (\\d+) "(.*?)"$/) do |arg1, arg2, arg3, arg4, table|
51
+ Given(/^I have (\\d+) "([^"]*)" cukes in (\\d+) "([^"]*)"$/) do |arg1, arg2, arg3, arg4, table|
52
52
  # table is a Cucumber::Core::Ast::DataTable
53
53
  pending # Write code here that turns the phrase above into concrete actions
54
54
  end
@@ -59,7 +59,7 @@ module Cucumber
59
59
  @pattern = 'A "first" arg'
60
60
 
61
61
  expect(snippet_text).to eq unindented(%{
62
- Given(/^A "(.*?)" arg$/) do |arg1|
62
+ Given(/^A "([^"]*)" arg$/) do |arg1|
63
63
  pending # Write code here that turns the phrase above into concrete actions
64
64
  end
65
65
  })
@@ -69,7 +69,7 @@ module Cucumber
69
69
  @pattern = 'A "first" and "second" arg'
70
70
 
71
71
  expect(snippet_text).to eq unindented(%{
72
- Given(/^A "(.*?)" and "(.*?)" arg$/) do |arg1, arg2|
72
+ Given(/^A "([^"]*)" and "([^"]*)" arg$/) do |arg1, arg2|
73
73
  pending # Write code here that turns the phrase above into concrete actions
74
74
  end
75
75
  })
@@ -90,7 +90,7 @@ module Cucumber
90
90
  @multiline_argument = Core::Ast::DataTable.new([[]], Core::Ast::Location.new(""))
91
91
 
92
92
  expect(snippet_text).to eq unindented(%{
93
- Given(/^A "(.*?)" arg$/) do |arg1, table|
93
+ Given(/^A "([^"]*)" arg$/) do |arg1, table|
94
94
  # table is a Cucumber::Core::Ast::DataTable
95
95
  pending # Write code here that turns the phrase above into concrete actions
96
96
  end
@@ -102,7 +102,7 @@ module Cucumber
102
102
  @multiline_argument = MultilineArgument.from("", Core::Ast::Location.new(""))
103
103
 
104
104
  expect(snippet_text).to eq unindented(%{
105
- Given(/^A "(.*?)" arg$/) do |arg1, string|
105
+ Given(/^A "([^"]*)" arg$/) do |arg1, string|
106
106
  pending # Write code here that turns the phrase above into concrete actions
107
107
  end
108
108
  })
@@ -0,0 +1,83 @@
1
+ require 'cucumber/running_test_case'
2
+ require 'cucumber/core'
3
+ require 'cucumber/core/gherkin/writer'
4
+
5
+ module Cucumber
6
+ describe RunningTestCase do
7
+ include Core
8
+ include Core::Gherkin::Writer
9
+
10
+ attr_accessor :wrapped_test_case, :core_test_case
11
+
12
+ before do
13
+ receiver = double.as_null_object
14
+ allow(receiver).to receive(:test_case) { |core_test_case|
15
+ self.core_test_case = core_test_case
16
+ self.wrapped_test_case = RunningTestCase.new(core_test_case)
17
+ }
18
+ compile [gherkin_doc], receiver
19
+ end
20
+
21
+ context "for a regular scenario" do
22
+ let(:gherkin_doc) do
23
+ gherkin do
24
+ feature "feature name" do
25
+ scenario "scenario name" do
26
+ step "passing"
27
+ end
28
+ end
29
+ end
30
+ end
31
+
32
+ it "sets the scenario name correctly" do
33
+ expect(wrapped_test_case.name).to eq "scenario name"
34
+ end
35
+
36
+ it "sets the feature name correctly" do
37
+ expect(wrapped_test_case.feature.name).to eq "feature name"
38
+ end
39
+
40
+ it "exposes properties of the test_case" do
41
+ expect(wrapped_test_case.location).to eq core_test_case.location
42
+ expect(wrapped_test_case.source).to eq core_test_case.source
43
+ expect(wrapped_test_case.keyword).to eq core_test_case.keyword
44
+ end
45
+ end
46
+
47
+ context "for a scenario outline" do
48
+ let(:gherkin_doc) do
49
+ gherkin do
50
+ feature "feature name" do
51
+ scenario_outline "scenario outline name" do
52
+ step "passing with <arg1> <arg2>"
53
+
54
+ examples "examples name" do
55
+ row "arg1", "arg2"
56
+ row "a", "b"
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+
63
+ it "sets the test case's name correctly" do
64
+ expect(wrapped_test_case.name).to eq "scenario outline name, examples name (#1)"
65
+ end
66
+
67
+ it "sets the feature name correctly" do
68
+ expect(wrapped_test_case.feature.name).to eq "feature name"
69
+ end
70
+
71
+ it "exposes properties of the test_case" do
72
+ expect(wrapped_test_case.location).to eq core_test_case.location
73
+ expect(wrapped_test_case.source).to eq core_test_case.source
74
+ expect(wrapped_test_case.keyword).to eq core_test_case.keyword
75
+ end
76
+
77
+ it "exposes the examples table row cell values" do
78
+ expect(wrapped_test_case.cell_values).to eq ["a", "b"]
79
+ end
80
+
81
+ end
82
+ end
83
+ end
@@ -2,10 +2,7 @@ ENV['CUCUMBER_COLORS'] = nil
2
2
  $:.unshift(File.dirname(__FILE__))
3
3
 
4
4
  # For Travis....
5
- if defined? Encoding
6
- Encoding.default_external = 'utf-8'
7
- Encoding.default_internal = 'utf-8'
8
- end
5
+ require 'cucumber/encoding'
9
6
 
10
7
  load File.expand_path(File.dirname(__FILE__) + '/../spec/simplecov_setup.rb')
11
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc.4
4
+ version: 2.0.0.rc.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2015-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-core
@@ -314,7 +314,6 @@ description: Behaviour Driven Development with elegance and joy
314
314
  email: cukes@googlegroups.com
315
315
  executables:
316
316
  - cucumber
317
- - cuke
318
317
  extensions: []
319
318
  extra_rdoc_files: []
320
319
  files:
@@ -330,7 +329,6 @@ files:
330
329
  - README.md
331
330
  - Rakefile
332
331
  - bin/cucumber
333
- - bin/cuke
334
332
  - cucumber.gemspec
335
333
  - cucumber.yml
336
334
  - examples/i18n/README.textile
@@ -416,6 +414,11 @@ files:
416
414
  - examples/i18n/hi/features/division.feature
417
415
  - examples/i18n/hi/features/step_definitions/calculator_steps.rb
418
416
  - examples/i18n/hi/lib/calculator.rb
417
+ - examples/i18n/ht/Rakefile
418
+ - examples/i18n/ht/features/adisyon.feature
419
+ - examples/i18n/ht/features/divizyon.feature
420
+ - examples/i18n/ht/features/step_definitions/kalkilatris_steps.rb
421
+ - examples/i18n/ht/lib/kalkilatris.rb
419
422
  - examples/i18n/hu/Rakefile
420
423
  - examples/i18n/hu/features/osszeadas.feature
421
424
  - examples/i18n/hu/features/osztas.feature
@@ -580,6 +583,7 @@ files:
580
583
  - features/docs/defining_steps/transforms.feature
581
584
  - features/docs/exception_in_after_hook.feature
582
585
  - features/docs/exception_in_after_step_hook.feature
586
+ - features/docs/exception_in_around_hook.feature
583
587
  - features/docs/exception_in_before_hook.feature
584
588
  - features/docs/extending_cucumber/custom_filter.feature
585
589
  - features/docs/extending_cucumber/custom_formatter.feature
@@ -607,12 +611,15 @@ files:
607
611
  - features/docs/profiles.feature
608
612
  - features/docs/rake_task.feature
609
613
  - features/docs/raketask.feature
610
- - features/docs/report_called_undefined_steps.feature
611
- - features/docs/wire_protocol.feature
612
- - features/docs/wire_protocol_erb.feature
613
- - features/docs/wire_protocol_table_diffing.feature
614
- - features/docs/wire_protocol_tags.feature
615
- - features/docs/wire_protocol_timeouts.feature
614
+ - features/docs/wire_protocol/erb_configuration.feature
615
+ - features/docs/wire_protocol/handle_unexpected_response.feature
616
+ - features/docs/wire_protocol/invoke_message.feature
617
+ - features/docs/wire_protocol/readme.md
618
+ - features/docs/wire_protocol/snippets_message.feature
619
+ - features/docs/wire_protocol/step_matches_message.feature
620
+ - features/docs/wire_protocol/table_diffing.feature
621
+ - features/docs/wire_protocol/tags.feature
622
+ - features/docs/wire_protocol/timeouts.feature
616
623
  - features/docs/work_in_progress.feature
617
624
  - features/docs/writing_support_code/after_hooks.feature
618
625
  - features/docs/writing_support_code/around_hooks.feature
@@ -656,7 +663,6 @@ files:
656
663
  - lib/autotest/discover.rb
657
664
  - lib/cucumber.rb
658
665
  - lib/cucumber/ast.rb
659
- - lib/cucumber/ast/facade.rb
660
666
  - lib/cucumber/cli/configuration.rb
661
667
  - lib/cucumber/cli/main.rb
662
668
  - lib/cucumber/cli/options.rb
@@ -666,6 +672,7 @@ files:
666
672
  - lib/cucumber/core_ext/instance_exec.rb
667
673
  - lib/cucumber/core_ext/proc.rb
668
674
  - lib/cucumber/core_ext/string.rb
675
+ - lib/cucumber/encoding.rb
669
676
  - lib/cucumber/errors.rb
670
677
  - lib/cucumber/file_specs.rb
671
678
  - lib/cucumber/filters.rb
@@ -718,6 +725,7 @@ files:
718
725
  - lib/cucumber/multiline_argument/data_table.rb
719
726
  - lib/cucumber/multiline_argument/doc_string.rb
720
727
  - lib/cucumber/platform.rb
728
+ - lib/cucumber/project_initializer.rb
721
729
  - lib/cucumber/rake/task.rb
722
730
  - lib/cucumber/rb_support/rb_dsl.rb
723
731
  - lib/cucumber/rb_support/rb_hook.rb
@@ -729,6 +737,7 @@ files:
729
737
  - lib/cucumber/rb_support/snippet.rb
730
738
  - lib/cucumber/rspec/disable_option_parser.rb
731
739
  - lib/cucumber/rspec/doubles.rb
740
+ - lib/cucumber/running_test_case.rb
732
741
  - lib/cucumber/runtime.rb
733
742
  - lib/cucumber/runtime/after_hooks.rb
734
743
  - lib/cucumber/runtime/before_hooks.rb
@@ -776,12 +785,14 @@ files:
776
785
  - spec/cucumber/formatter/spec_helper.rb
777
786
  - spec/cucumber/hooks_spec.rb
778
787
  - spec/cucumber/multiline_argument/data_table_spec.rb
788
+ - spec/cucumber/project_initializer_spec.rb
779
789
  - spec/cucumber/rake/forked_spec.rb
780
790
  - spec/cucumber/rb_support/rb_language_spec.rb
781
791
  - spec/cucumber/rb_support/rb_step_definition_spec.rb
782
792
  - spec/cucumber/rb_support/rb_transform_spec.rb
783
793
  - spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
784
794
  - spec/cucumber/rb_support/snippet_spec.rb
795
+ - spec/cucumber/running_test_case_spec.rb
785
796
  - spec/cucumber/runtime/for_programming_languages_spec.rb
786
797
  - spec/cucumber/runtime/support_code_spec.rb
787
798
  - spec/cucumber/runtime_spec.rb
@@ -819,7 +830,7 @@ rubyforge_project:
819
830
  rubygems_version: 2.2.2
820
831
  signing_key:
821
832
  specification_version: 4
822
- summary: cucumber-2.0.0.rc.4
833
+ summary: cucumber-2.0.0.rc.5
823
834
  test_files:
824
835
  - features/docs/api/list_step_defs_as_json.feature
825
836
  - features/docs/api/run_cli_main_with_existing_runtime.feature
@@ -845,6 +856,7 @@ test_files:
845
856
  - features/docs/defining_steps/transforms.feature
846
857
  - features/docs/exception_in_after_hook.feature
847
858
  - features/docs/exception_in_after_step_hook.feature
859
+ - features/docs/exception_in_around_hook.feature
848
860
  - features/docs/exception_in_before_hook.feature
849
861
  - features/docs/extending_cucumber/custom_filter.feature
850
862
  - features/docs/extending_cucumber/custom_formatter.feature
@@ -872,12 +884,15 @@ test_files:
872
884
  - features/docs/profiles.feature
873
885
  - features/docs/rake_task.feature
874
886
  - features/docs/raketask.feature
875
- - features/docs/report_called_undefined_steps.feature
876
- - features/docs/wire_protocol.feature
877
- - features/docs/wire_protocol_erb.feature
878
- - features/docs/wire_protocol_table_diffing.feature
879
- - features/docs/wire_protocol_tags.feature
880
- - features/docs/wire_protocol_timeouts.feature
887
+ - features/docs/wire_protocol/erb_configuration.feature
888
+ - features/docs/wire_protocol/handle_unexpected_response.feature
889
+ - features/docs/wire_protocol/invoke_message.feature
890
+ - features/docs/wire_protocol/readme.md
891
+ - features/docs/wire_protocol/snippets_message.feature
892
+ - features/docs/wire_protocol/step_matches_message.feature
893
+ - features/docs/wire_protocol/table_diffing.feature
894
+ - features/docs/wire_protocol/tags.feature
895
+ - features/docs/wire_protocol/timeouts.feature
881
896
  - features/docs/work_in_progress.feature
882
897
  - features/docs/writing_support_code/after_hooks.feature
883
898
  - features/docs/writing_support_code/around_hooks.feature
@@ -925,12 +940,14 @@ test_files:
925
940
  - spec/cucumber/formatter/spec_helper.rb
926
941
  - spec/cucumber/hooks_spec.rb
927
942
  - spec/cucumber/multiline_argument/data_table_spec.rb
943
+ - spec/cucumber/project_initializer_spec.rb
928
944
  - spec/cucumber/rake/forked_spec.rb
929
945
  - spec/cucumber/rb_support/rb_language_spec.rb
930
946
  - spec/cucumber/rb_support/rb_step_definition_spec.rb
931
947
  - spec/cucumber/rb_support/rb_transform_spec.rb
932
948
  - spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
933
949
  - spec/cucumber/rb_support/snippet_spec.rb
950
+ - spec/cucumber/running_test_case_spec.rb
934
951
  - spec/cucumber/runtime/for_programming_languages_spec.rb
935
952
  - spec/cucumber/runtime/support_code_spec.rb
936
953
  - spec/cucumber/runtime_spec.rb