Sha256: 60a7567df9fa9aebedccf59b7d228a1623a7efe6e5fb1ee33f136814206d0ba3

Contents?: true

Size: 557 Bytes

Versions: 77

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

require "rspec/core/rake_task"

namespace :spec do
  RSpec::Core::RakeTask.new(:simplecov) do |t|
    t.pattern = FileList['spec/**/*_spec.rb']
    t.rspec_opts = %w[--color --format documentation] unless ENV["CI"]
  end

  namespace :simplecov do
    desc "Browse the code coverage report."
    task :browse => "spec:simplecov" do
      require "launchy"
      Launchy.open("coverage/index.html")
    end
  end
end

desc "Alias to spec:simplecov"
task "spec" => "spec:simplecov"

task "clobber" => ["spec:clobber_simplecov"]

Version data entries

77 entries across 77 versions & 12 rubygems

Version Path
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/rspec.rake
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/rspec.rake
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/rspec.rake
cloudsmith-api-2.0.15 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/rspec.rake
cloudsmith-api-2.0.14 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/rspec.rake
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/addressable-2.8.7/tasks/rspec.rake
addressable-2.8.7 tasks/rspec.rake
cloudsmith-api-2.0.13 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/tasks/rspec.rake
cloudsmith-api-2.0.12 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/tasks/rspec.rake
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/rspec.rake
cloudsmith-api-2.0.11 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/tasks/rspec.rake
cloudsmith-api-2.0.10 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/tasks/rspec.rake
cloudsmith-api-2.0.9 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/tasks/rspec.rake
cloudsmith-api-2.0.8 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/tasks/rspec.rake
postfinancecheckout-ruby-sdk-4.5.0 vendor/bundle/ruby/3.3.0/gems/addressable-2.8.6/tasks/rspec.rake
wallee-ruby-sdk-4.5.0 vendor/bundle/ruby/3.3.0/gems/addressable-2.8.6/tasks/rspec.rake
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/rspec.rake
wallee-ruby-sdk-4.4.0 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/tasks/rspec.rake
postfinancecheckout-ruby-sdk-4.4.0 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/tasks/rspec.rake
postfinancecheckout-ruby-sdk-4.2.0 vendor/bundle/ruby/3.0.0/gems/addressable-2.8.6/tasks/rspec.rake