Sha256: 2492ceb97c57a8a10081c4518689abe225549c453d1100a5d751f4e2f096748a
Contents?: true
Size: 780 Bytes
Versions: 9
Compression:
Stored size: 780 Bytes
Contents
require 'rake/testtask' # Tests namespace :test do desc 'Test ForemanSccManager' Rake::TestTask.new(:foreman_scc_manager) do |t| test_dir = File.join(File.dirname(__FILE__), '../..', 'test') t.libs << ['test', test_dir] t.pattern = "#{test_dir}/**/*_test.rb" t.verbose = true t.warning = false end end namespace :jenkins do desc 'Test ForemanSccManager with XML output for jenkins' task 'foreman_scc_manager' do Rake::Task['jenkins:setup:minitest'].invoke Rake::Task['rake:test:foreman_scc_manager'].invoke end end Rake::Task[:test].enhance ['test:foreman_scc_manager'] load 'tasks/jenkins.rake' Rake::Task['jenkins:unit'].enhance ['test:foreman_scc_manager', 'foreman_scc_manager:rubocop'] if Rake::Task.task_defined?(:'jenkins:unit')
Version data entries
9 entries across 9 versions & 1 rubygems