Sha256: 8dc1efc27aaec50bc6b0d42404df1bdf5b08b063f41e5f35ea2aac1b04221c8f

Contents?: true

Size: 631 Bytes

Versions: 5

Compression:

Stored size: 631 Bytes

Contents

require 'rubygems'
require 'hoe'

Hoe.spec 'metry' do
  developer('Nathaniel Talbott', 'nathaniel@terralien.com')
  self.rubyforge_name = 'terralien'
end

require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:basic_features) do |t|
  t.fork = true
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
end

desc "Run Radiant features with Cucumber"
task :radiant_features do
  Dir.chdir(File.dirname(__FILE__) + "/radiant/example") do
    Cucumber::Rake::Task::ForkedCucumberRunner.new([], Cucumber::BINARY, [], FileList["features/**/*.feature"]).run
  end
end

task :test => [:basic_features, :radiant_features]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metry-2.0.0 Rakefile
metry-1.0.0 Rakefile
metry-1.0.1 Rakefile
metry-1.1.0 Rakefile
metry-1.2.0 Rakefile