Sha256: a82ed8beba6ee9063135593c1c09ae9e320a304ab1f75921171bae4782f17f04

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

desc 'Alias to spec:spec'
task :spec => 'spec:all'

namespace :spec do
  require 'rspec/core/rake_task'

  desc "Run all specs"
  RSpec::Core::RakeTask.new(:all){|task|}

  desc "Run all non-failing specs (for CI)"
  task(:ci) do |task|
    ENV["EXCLUDE_DELIBERATELY_FAILING_SPECS"] = "1"
    exec "ruby spec/run.rb && ruby spec/run.rb --minitest"
  end

  desc "Run specs with RCov"
  RSpec::Core::RakeTask.new(:rcov) do |t|
    t.rcov = true
    t.rcov_opts = ['--exclude', 'spec']
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
evented-spec-1.0.0.beta1 tasks/spec.rake