Sha256: 28fbd587b28a1af0e342f1d5d68fc1e7e947f466b67334c0747f0dff7475a603
Contents?: true
Size: 400 Bytes
Versions: 35
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true require "rake/testtask" Rake::TestTask.new do |t| t.name = "simplecov" t.loader = :direct # uses require() which skips PWD in Ruby 1.9 t.libs.push "test", "spec", Dir.pwd t.test_files = FileList["{test,spec}/**/*_{test,spec}.rb"] t.ruby_opts.push "-r", "simplecov", "-e", "SimpleCov.start(:rails)".inspect end require "rake/clean" CLOBBER.include "coverage"
Version data entries
35 entries across 23 versions & 3 rubygems