Sha256: 30efb32d3914ec0daf37be5a0f9a318dc3b7a9587be9bda95ed73104eac73ba1

Contents?: true

Size: 508 Bytes

Versions: 13

Compression:

Stored size: 508 Bytes

Contents

require 'rake/testtask'

# Tests
namespace :test do
  desc 'Test ForemanPuppet'
  Rake::TestTask.new(:foreman_puppet) do |t|
    test_dir = File.expand_path('../../test', __dir__)
    t.libs << 'test'
    t.libs << test_dir
    t.pattern = "#{test_dir}/**/*_test.rb"
    t.verbose = true
    t.warning = false
  end
end

Rake::Task[:test].enhance ['test:foreman_puppet']

load 'tasks/jenkins.rake'
if Rake::Task.task_defined?(:'jenkins:unit')
  Rake::Task['jenkins:unit'].enhance ['test:foreman_puppet']
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_puppet-8.0.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.4.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-7.0.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.3.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.2.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.1.1 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-5.1.3 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.1.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.0.1 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-6.0.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-5.1.2 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.1.1 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-5.1.1 lib/tasks/foreman_puppet_tasks.rake