Sha256: 6c610fe200d3b93ac688251a2dc33f2ec2f9b826160d3c67bb6e98ecf76bae9e

Contents?: true

Size: 765 Bytes

Versions: 3

Compression:

Stored size: 765 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
  * Cucumber integration to the framework ...
      EOS
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
howitzer-1.1.1 generators/cucumber/cucumber_generator.rb
howitzer-1.1.0 generators/cucumber/cucumber_generator.rb
howitzer-1.0.2 generators/cucumber/cucumber_generator.rb