Sha256: c560ecfc71ec5eda6df64410d59c56b9b9f03ef30e581064a1d3107c847412d3

Contents?: true

Size: 763 Bytes

Versions: 6

Compression:

Stored size: 763 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'

import 'test/benchmarks/benchmark.rake'

task default: :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/unit/*_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

6 entries across 6 versions & 1 rubygems

Version Path
coverband-3.0.0.alpha Rakefile
coverband-2.0.3 Rakefile
coverband-2.0.3.alpha Rakefile
coverband-2.0.2 Rakefile
coverband-2.0.2.alpha2 Rakefile
coverband-2.0.2.alpha Rakefile