Sha256: 73c729d962da0314ff3cfebfcc83ba8980dad7d2e9ed30eaaa8f073315d24bf5

Contents?: true

Size: 1.16 KB

Versions: 51

Compression:

Stored size: 1.16 KB

Contents

require 'cucumber/step_argument'
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

51 entries across 51 versions & 5 rubygems

Version Path
casecumber-1.0.2.1 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.1.2 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.1.1 lib/cucumber/wire_support/wire_protocol.rb
js-log-cucumber-1.0.2 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.1.0 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.6 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.5 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.4 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.3 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.2 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.1 lib/cucumber/wire_support/wire_protocol.rb
cucumber-1.0.0 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.8.7 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.8.6 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.10.7 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.10.6 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.10.5 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.10.3 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.10.2 lib/cucumber/wire_support/wire_protocol.rb
cucumber-0.10.1 lib/cucumber/wire_support/wire_protocol.rb