Sha256: 491661ab0c5410956b509a0d08d7a682c91106d5d01f10af274abb002906c1a9

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 Bytes

Contents

##
# Cucumber plugin for hoe.
#
# === Tasks Provided:
#
# features::  Run cucumber feature

module Hoe::Cucumberfeatures
  
  def define_cucumberfeatures_tasks
    begin
      gem 'cucumber'
      require 'cucumber/rake/task'

      Cucumber::Rake::Task.new(:features) do |t|
        t.cucumber_opts = "--format progress"
      end
    rescue LoadError => e
      p e
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
newgem-1.5.3 lib/hoe/cucumberfeatures.rb
newgem-1.5.0 lib/hoe/cucumberfeatures.rb
newgem-1.5.1 lib/hoe/cucumberfeatures.rb
newgem-1.5.2 lib/hoe/cucumberfeatures.rb