Sha256: 7235778dc82ec2717454968b148f69220e93bfaceff5deaef84321c7b30be2f4

Contents?: true

Size: 1.01 KB

Versions: 41

Compression:

Stored size: 1.01 KB

Contents

module Cucumber
  # This module defines the API for programming language support in Cucumber.
  # While Cucumber itself is written in Ruby, any programming language can
  # be supported by implementing this API.
  #
  # For the sake of illustration we'll consider an imaginary language called
  # _why. _why files have the .why extension, so we need to put support for
  # this language in the <tt>Cucumber::WhySupport::WhyLanguage</tt>. This
  # class must be defined in a file called <tt>cucumber/why_support/why_language.rb</tt>
  # and be available on Ruby's <tt>$LOAD_PATH</tt>:
  #
  #   module Cucumber
  #     module WhySupport
  #       class WhyLanguage
  #
  #         # Uses whatever available language bridge to load
  #         # +why_file+ and returns an Array of StepDefinition.
  #         def load_code_file(why_file)
  #         end
  #       end
  #     end
  #   end
  #
  # Each language implementation manages its own hooks, and must execute them
  # at appropriate times.
  #
  #
  module LanguageSupport
  end
end

Version data entries

41 entries across 39 versions & 2 rubygems

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