Sha256: 21063e683221a06bd54a5fc7705ec5334710e599947509d661953db74aeeeefe

Contents?: true

Size: 1.1 KB

Versions: 41

Compression:

Stored size: 1.1 KB

Contents

require 'cucumber/wire_support/wire_protocol/requests'

module Cucumber
  module WireSupport
    module WireProtocol
      def step_matches(name_to_match, name_to_report)
        handler = Requests::StepMatches.new(self)
        handler.execute(name_to_match, name_to_report)
      end

      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

      def invoke(step_definition_id, args)
        handler = Requests::Invoke.new(self)
        handler.execute(step_definition_id, args)
      end

      def diff_failed
        handler = Requests::DiffFailed.new(self)
        handler.execute
      end

      def diff_ok
        handler = Requests::DiffOk.new(self)
        handler.execute
      end

      def begin_scenario(scenario)
        handler = Requests::BeginScenario.new(self)
        handler.execute(scenario)
      end

      def end_scenario(scenario)
        handler = Requests::EndScenario.new(self)
        handler.execute(scenario)
      end

    end
  end
end

Version data entries

41 entries across 39 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/lib/cucumber/wire_support/wire_protocol.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/lib/cucumber/wire_support/wire_protocol.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.1.0 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.2 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.1 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.3.20 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.rc.5 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.3.19 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.rc.4 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.rc.3 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.rc.2 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.rc.1 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.3.18 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.beta.5 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.beta.4 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.beta.3 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.3.17 lib/cucumber/wire_support/wire_protocol.rb
cucumber-2.0.0.beta.2 lib/cucumber/wire_support/wire_protocol.rb