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