Sha256: 3e3ced3b6e596a91ca63bb8306702c02d1e379d1d5fa950c3733b59a324b5f25

Contents?: true

Size: 831 Bytes

Versions: 4

Compression:

Stored size: 831 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'

import 'test/benchmarks/benchmark.rake'

task default: [: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

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

4 entries across 4 versions & 1 rubygems

Version Path
coverband-4.2.0 Rakefile
coverband-4.2.0.rc3 Rakefile
coverband-4.2.0.rc2 Rakefile
coverband-4.1.1 Rakefile