Sha256: 90138b4ca37ad787cbfb87995171f22d0929c565594c84330f93739da96483f0

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

require 'rspec/core/rake_task'

begin
  require 'rcov'
  desc "Run all specs with rcov"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rcov = true
    t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --failure-threshold 100}
  end
rescue LoadError
  desc "Run all specs (without coverage tests)"
  RSpec::Core::RakeTask.new(:spec)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rslt-1.1.10 tasks/rspec.rake
rslt-1.1.9 tasks/rspec.rake