Sha256: 39c6f45fbb2983da9461597d863e76f2ea3112da6e8b4fbc6f19225b0a98bd2f

Contents?: true

Size: 915 Bytes

Versions: 8

Compression:

Stored size: 915 Bytes

Contents

require_relative '../base_generator'

module Howitzer
  # This class responsible for Cucumber based files generation
  class CucumberGenerator < BaseGenerator
    def manifest
      { files:
        [
          { source: 'common_steps.rb', destination: 'features/step_definitions/common_steps.rb' },
          { source: 'env.rb', destination: 'features/support/env.rb' },
          { source: 'hooks.rb', destination: 'features/support/hooks.rb' },
          { source: 'transformers.rb', destination: 'features/support/transformers.rb' },
          { source: 'example.feature', destination: 'features/example.feature' },
          { source: 'cucumber.rake', destination: 'tasks/cucumber.rake' },
          { source: 'cuke_sniffer.rake', destination: 'tasks/cuke_sniffer.rake' }
        ] }
    end

    protected

    def banner
      <<-MSG
  * Cucumber integration to the framework ...
      MSG
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/cucumber/cucumber_generator.rb
howitzer-2.6.0 generators/cucumber/cucumber_generator.rb
howitzer-2.5.0 generators/cucumber/cucumber_generator.rb
howitzer-2.4.0 generators/cucumber/cucumber_generator.rb
howitzer-2.3.0 generators/cucumber/cucumber_generator.rb
howitzer-2.2.0 generators/cucumber/cucumber_generator.rb
howitzer-2.1.1 generators/cucumber/cucumber_generator.rb
howitzer-2.1.0 generators/cucumber/cucumber_generator.rb