Sha256: 2f76ae4d7f3ae8eb6555840c5ce914cadf545d8ba8c9c1983359f1310efbec98

Contents?: true

Size: 790 Bytes

Versions: 7

Compression:

Stored size: 790 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/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

7 entries across 7 versions & 1 rubygems

Version Path
coverband-4.0.1.alpha Rakefile
coverband-4.0.0 Rakefile
coverband-4.0.0.alpha Rakefile
coverband-3.0.1 Rakefile
coverband-3.0.1.alpha Rakefile
coverband-3.0.0 Rakefile
coverband-3.0.0.alpha2 Rakefile