Sha256: 63596668aed4eefdd7792894bdd2859c70cb3306ac78563ea3b9259b59a7b1c3

Contents?: true

Size: 849 Bytes

Versions: 4

Compression:

Stored size: 849 Bytes

Contents

Bundler.setup(:runtime, :test)

$:.unshift File.dirname(__FILE__) + '/lib'
require File.dirname(__FILE__) + '/lib/ey-flex'

require 'spec/rake/spectask'
desc "Run unit specifications"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts << %w(-fs --color)
  t.spec_opts << '--loadby' << 'random'
  t.spec_files = Dir["spec/**/*_spec.rb"]

  t.rcov = ENV['RCOV'] == "true"
  t.rcov_opts << '--exclude' << 'spec'
  t.rcov_opts << '--text-summary'
  t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
  t.cucumber_opts = %w{--format pretty}

  t.rcov = ENV["RCOV"] == "true"
  t.rcov_opts << '--text-summary'
  t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
  t.rcov_opts << '--exclude features/,spec/'
end

desc "Run unit specifications"
task :default => [:spec, :cucumber]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ey_cloud_server-1.4.34 Rakefile
ey_cloud_server-1.4.33 Rakefile
ey_cloud_server-1.4.32 Rakefile
ey_cloud_server-1.4.31 Rakefile