Sha256: 9dddaecd43043d030744ebcaa6e8ba22ae8e9323531010a77326750062ad55c8
Contents?: true
Size: 506 Bytes
Versions: 13
Compression:
Stored size: 506 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] t.pattern = "#{test_dir}/**/*_test.rb" t.verbose = true 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
13 entries across 13 versions & 1 rubygems