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
whitelabelmachinename-ruby-sdk-3.1.3 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.2 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
wallee-ruby-sdk-3.1.2 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
wallee-ruby-sdk-3.1.1 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.0/tasks/rspec.rake
cloudsmith-api-1.61.3 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.0.6 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/rspec.rake
cloudsmith-api-1.42.3 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
cloudsmith-api-1.33.7 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.0/tasks/rspec.rake
cloudsmith-api-1.30.0 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/rspec.rake
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/addressable-2.8.0/tasks/rspec.rake
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/addressable-2.8.0/tasks/rspec.rake
addressable-2.8.0 tasks/rspec.rake