Sha256: c694a7c208655ba6a10446c77d42bc489bbf7d9cc6f3c724bf7724c6752ad2ff

Contents?: true

Size: 935 Bytes

Versions: 34

Compression:

Stored size: 935 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 cli tests")
Rake::TestTask.new(:cli_test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/exe/**/*_test.rb']
end

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

task(default: :test)

Version data entries

34 entries across 34 versions & 3 rubygems

Version Path
krane-2.3.4 Rakefile
krane-2.3.3 Rakefile
krane-2.3.2 Rakefile
krane-2.3.1 Rakefile
krane-2.3.0 Rakefile
krane-2.2.0 Rakefile
krane-2.1.10 Rakefile
krane-2.1.9 Rakefile
krane-2.1.8 Rakefile
krane-2.1.7 Rakefile
krane-2.1.6 Rakefile
krane-2.1.5 Rakefile
krane-2.1.4 Rakefile
krane-2.1.3 Rakefile
krane-2.1.2 Rakefile
krane-2.1.1 Rakefile
krane-2.1.0 Rakefile
krane-2.0.0 Rakefile
kubernetes-deploy-1.0.0.pre.2 Rakefile
krane-1.1.4 Rakefile