Sha256: b815fad71734600c9abc70929bfdd2c2e8b9cdd62822739f89f69c62b6356944

Contents?: true

Size: 1.24 KB

Versions: 25

Compression:

Stored size: 1.24 KB

Contents

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

desc 'Generates a coverage report for integration tests'
task :integration_tests do
  Dir.glob('test/smoke_tests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
gitlab-fog-azure-rm-0.7.0 rakefile
gitlab-fog-azure-rm-0.6.0 rakefile
fog-azure-rm-0.5.3 rakefile
fog-azure-rm-0.5.2 rakefile
far-gem-0.5.6 rakefile
fog-azure-rm-0.5.1 rakefile
far-gem-0.5.5 rakefile
fog-azure-rm-0.5.0 rakefile
far-gem-0.5.4 rakefile
far-gem-0.5.3 rakefile
fog-azure-rm-0.4.9 rakefile
far-gem-0.5.2 rakefile
fog-azure-rm-0.4.8 rakefile
fog-azure-rm-0.4.7 rakefile
fog-azure-rm-0.4.6 rakefile
fog-azure-rm-0.4.5 rakefile
fog-azure-rm-temp-0.0.5 rakefile
fog-azure-rm-0.4.4 rakefile
fog-azure-rm-0.4.3 rakefile
far-gem-0.5.1 rakefile