Sha256: 1e564e5d2542913646c0544529155e4e724a15a1abcac50f29e66b8dd8c20a60

Contents?: true

Size: 742 Bytes

Versions: 5

Compression:

Stored size: 742 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'

task default: :test

Rake::TestTask.new do |t|
  t.name = 'test:main'
  t.description = 'Run tests for main'
  t.libs << 'test/main'
  t.test_files = Dir['test/main/**/test_*.rb']
end

Rake::TestTask.new do |t|
  t.name = 'test:basic_report'
  t.description = 'Run tests for basic report'
  t.libs << 'test' << 'test/basic_report'
  t.test_files = Dir['test/basic_report/**/test_*.rb']
end

Rake::TestTask.new do |t|
  t.name = 'test:section_report'
  t.description = 'Run tests for section report'
  t.libs << 'test' << 'test/section_report'
  t.test_files = Dir['test/section_report/**/test_*.rb']
end

desc 'Run all tests'
task test: %i(test:main test:basic_report test:section_report)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.14.2 Rakefile
thinreports-0.14.1 Rakefile
thinreports-0.14.0 Rakefile
thinreports-0.13.1 Rakefile
thinreports-0.13.0 Rakefile