Sha256: b8e191c6d143c9878ec7b7bfe56e510e1cc562c8fcc7a9a3969ad1aa2d66d4e0
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' import 'test/benchmarks/benchmark.rake' require 'rubocop/rake_task' RuboCop::RakeTask.new task default: %i[test benchmarks] task :test require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' # exclude benchmark from the tests as the way it functions resets code coverage during executions # test.pattern = 'test/unit/*_test.rb' # using test files opposed to pattern as it outputs which files are run test.test_files = FileList['test/integration/**/*_test.rb', 'test/coverband/**/*_test.rb'] test.verbose = true end Rake::TestTask.new(:forked_tests) do |test| test.libs << 'lib' << 'test' test.test_files = FileList['test/forked/**/*_test.rb'] test.verbose = true end desc 'load irb with this gem' task :console do exec 'irb -I lib -r coverband' end # This is really just for testing and development because without configuration # Coverband can't do much desc 'start webserver' task :server do exec 'rackup -I lib' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
coverband-4.2.1.rc3 | Rakefile |
coverband-4.2.1.rc2 | Rakefile |
coverband-4.2.1.rc1 | Rakefile |