Sha256: ea25837c0073d44ea8dae51a36deae73709faad44ed38ee9d27ecf52974b8d3d
Contents?: true
Size: 626 Bytes
Versions: 58
Compression:
Stored size: 626 Bytes
Contents
# Setup Tests namespace :test do desc "Test Discovery plugin" Rake::TestTask.new(:discovery) do |t| test_dir = File.join(File.dirname(__FILE__), '..', 'test') t.libs << ["test",test_dir] if ENV['FILE'] || ENV['TEST'] t.pattern = ENV['FILE'] || ENV['TEST'] else t.pattern = "#{test_dir}/**/*_test.rb" end t.verbose = true t.warning = false end end Rake::Task[:test].enhance do Rake::Task['test:discovery'].invoke end load 'tasks/jenkins.rake' if Rake::Task.task_defined?(:'jenkins:unit') Rake::Task["jenkins:unit"].enhance do Rake::Task['test:discovery'].invoke end end
Version data entries
58 entries across 58 versions & 1 rubygems