Sha256: 78ab3a762b7c967eb84cad787486cb6e9f71fefaebc77b91dad5a6f31639385a

Contents?: true

Size: 762 Bytes

Versions: 1

Compression:

Stored size: 762 Bytes

Contents

require_relative '../base_generator'

module Howitzer
  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: 'transformers.rb', destination: 'features/support/transformers.rb'},
          { source: 'example.feature', destination: 'features/example.feature'},
          { source: 'cucumber.rake', destination: 'tasks/cucumber.rake'},
          { source: 'cucumber.yml', destination: 'config/cucumber.yml'}
        ]
      }
    end

    protected
    def banner
      <<-EOS
      Integrates Cucumber to the framework
      EOS
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
howitzer-1.0.1 generators/cucumber/cucumber_generator.rb