Sha256: 0fa8b07cb4da25e2494f448bc29a42b24151000ded6a3110094d6936714bcc4b

Contents?: true

Size: 774 Bytes

Versions: 11

Compression:

Stored size: 774 Bytes

Contents

# frozen_string_literal: true
require "bundler/gem_tasks"
require "rake/testtask"

desc("Run integration tests that can be run in parallel")
Rake::TestTask.new(:integration_test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/integration/**/*_test.rb']
end

desc("Run integration tests that CANNOT be run in parallel")
Rake::TestTask.new(:serial_integration_test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/integration-serial/**/*_test.rb']
end

desc("Run unit tests")
Rake::TestTask.new(:unit_test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/unit/**/*_test.rb']
end

desc("Run all tests")
task(test: %w(unit_test serial_integration_test integration_test))

task(default: :test)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kubernetes-deploy-0.27.0 Rakefile
kubernetes-deploy-0.26.7 Rakefile
kubernetes-deploy-0.26.6 Rakefile
kubernetes-deploy-0.26.5 Rakefile
kubernetes-deploy-0.26.4 Rakefile
kubernetes-deploy-0.26.3 Rakefile
kubernetes-deploy-0.26.2 Rakefile
kubernetes-deploy-0.26.1 Rakefile
kubernetes-deploy-0.26.0 Rakefile
kubernetes-deploy-0.25.0 Rakefile
kubernetes-deploy-0.24.0 Rakefile