Sha256: 7074477771ccd4651cbc58db72eeb594baa9d45f66428d154eb3ade82284e6e3
Contents?: true
Size: 650 Bytes
Versions: 3
Compression:
Stored size: 650 Bytes
Contents
# Setup Tests namespace :test do desc "Test Discovery plugin" Rake::TestTask.new(:foreman_discovery) do |t| test_dir = File.join(File.dirname(__FILE__), '..', 'test') t.libs << ["test",test_dir] t.pattern = ENV['FILE'] || ENV['TEST'] || "#{test_dir}/**/*_test.rb" t.verbose = true t.warning = false end end Rake::Task[:test].enhance do Rake::Task['test:foreman_discovery'].invoke end load 'tasks/jenkins.rake' if Rake::Task.task_defined?(:'jenkins:unit') # The "unit" tests also include system tests Rake::Task["jenkins:unit"].enhance(['webpack:compile']) do Rake::Task['test:foreman_discovery'].invoke end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foreman_discovery-25.0.1 | lib/foreman_discovery.rake |
foreman_discovery-25.0.0 | lib/foreman_discovery.rake |
foreman_discovery-24.0.2 | lib/foreman_discovery.rake |