Module: Cucumber::WireSupport::WireProtocol
- Included in:
- Connection
- Defined in:
- lib/cucumber/wire_support/wire_protocol.rb,
lib/cucumber/wire_support/wire_protocol/requests.rb
Defined Under Namespace
Modules: Requests
Instance Method Summary collapse
- #begin_scenario(scenario) ⇒ Object
- #diff_failed ⇒ Object
- #diff_ok ⇒ Object
- #end_scenario ⇒ Object
- #invoke(step_definition_id, args) ⇒ Object
- #snippet_text(step_keyword, step_name, multiline_arg_class_name) ⇒ Object
- #step_matches(name_to_match, name_to_report) ⇒ Object
Instance Method Details
#begin_scenario(scenario) ⇒ Object
32 33 34 35 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 32 def begin_scenario(scenario) handler = Requests::BeginScenario.new(self) handler.execute(scenario) end |
#diff_failed ⇒ Object
22 23 24 25 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 22 def diff_failed handler = Requests::DiffFailed.new(self) handler.execute end |
#diff_ok ⇒ Object
27 28 29 30 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 27 def diff_ok handler = Requests::DiffOk.new(self) handler.execute end |
#end_scenario ⇒ Object
37 38 39 40 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 37 def end_scenario handler = Requests::EndScenario.new(self) handler.execute end |
#invoke(step_definition_id, args) ⇒ Object
17 18 19 20 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 17 def invoke(step_definition_id, args) handler = Requests::Invoke.new(self) handler.execute(step_definition_id, args) end |
#snippet_text(step_keyword, step_name, multiline_arg_class_name) ⇒ Object
12 13 14 15 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 12 def snippet_text(step_keyword, step_name, multiline_arg_class_name) handler = Requests::SnippetText.new(self) handler.execute(step_keyword, step_name, multiline_arg_class_name) end |
#step_matches(name_to_match, name_to_report) ⇒ Object
7 8 9 10 |
# File 'lib/cucumber/wire_support/wire_protocol.rb', line 7 def step_matches(name_to_match, name_to_report) handler = Requests::StepMatches.new(self) handler.execute(name_to_match, name_to_report) end |