Sha256: 2932d8368f15813b36c31feb864ed5951357ed03db42594ff9575de61e8234ba

Contents?: true

Size: 781 Bytes

Versions: 5

Compression:

Stored size: 781 Bytes

Contents

require 'rake/testtask'
task default: :cc_coverage
task :test do
  ENV['COVERAGE'] = nil
  ENV['CODECLIMATE_REPO_TOKEN'] = nil
  Dir.glob('**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
end

desc 'Generates a coverage report for minitest-cases using simple-cov'
task :coverage do
  ENV['CODECLIMATE_REPO_TOKEN'] = nil
  ENV['COVERAGE'] = 'true'
  Dir.glob('**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
end

desc 'Generates a coverage report for minitest-cases using code-climate'
task :cc_coverage do
  ENV['COVERAGE'] = nil
  ENV['CODECLIMATE_REPO_TOKEN'] = 'b1401494baa004d90402414cb33a7fc6420fd3693e60c677a120ddefd7d84cfd'
  Dir.glob('**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.9 rakefile
fog-azure-rm-0.0.8 rakefile
fog-azure-rm-0.0.6 rakefile
fog-azure-rm-0.0.5 rakefile
fog-azure-rm-0.0.4 rakefile