Sha256: fcf9d01463223b145908aa989dc636f66edea8cb76903948ee8ab60669f8504f
Contents?: true
Size: 896 Bytes
Versions: 1
Compression:
Stored size: 896 Bytes
Contents
require 'rake/testtask' require "bundler/gem_tasks" load 'tasks/jenkins.rake' Rake::TestTask.new('test:ruby') do |t| t.libs << 'lib' << 'test' t.test_files = FileList['test/**/*_test.rb'] t.verbose = true end Rake::TestTask.new('test:unit') do |t| t.libs << 'lib' << 'test' t.test_files = FileList['test/kafo/**/*_test.rb'] t.verbose = true end Rake::TestTask.new('test:acceptance') do |t| t.libs << 'lib' << 'test' t.test_files = FileList['test/acceptance/*_test.rb'] t.verbose = true end namespace 'test' do desc 'Run Puppet module tests' task :puppet_modules do Dir['modules/*'].each do |mod| Dir.chdir(mod) do `rake release_checks` end end end end begin require 'rubocop/rake_task' RuboCop::RakeTask.new rescue LoadError puts 'Rubocop not loaded' end CLEAN.include 'test/tmp' task :test => ['test:ruby', 'test:puppet_modules']
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kafo-6.1.2 | Rakefile |