Sha256: aed625debf4e5ecfbaeb919c5759a884004051ce0ac79ada26b603f329d38cfb

Contents?: true

Size: 474 Bytes

Versions: 14

Compression:

Stored size: 474 Bytes

Contents

require 'rake/testtask'
require 'cane/rake_task'
require "simplecov"

Rake::TestTask.new(:test_unit) do |t|
  t.libs << "test"
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
end

Cane::RakeTask.new(:quality) do |cane|
  cane.abc_max = 45
  # cane.add_threshold 'coverage/covered_percent', :>=, 97
  cane.style_measure = 120
  cane.no_style = true
  cane.no_doc = true
end

task :test => [:test_unit, :quality] do

  system("open coverage/index.html")
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
health-data-standards-3.0.6 Rakefile
health-data-standards-3.0.5 Rakefile
health-data-standards-3.0.4 Rakefile
health-data-standards-3.0.3 Rakefile
health-data-standards-2.2.1 Rakefile
health-data-standards-2.2.0 Rakefile
health-data-standards-2.1.4 Rakefile
health-data-standards-2.1.3 Rakefile
health-data-standards-2.1.2 Rakefile
health-data-standards-2.1.1 Rakefile
health-data-standards-2.1.0 Rakefile
health-data-standards-2.0.0 Rakefile
health-data-standards-1.0.1 Rakefile
health-data-standards-1.0.0 Rakefile