Sha256: 31ed866e6b9fb726865f5e46168d504ae92397d72fb2d36bff660f4521c7b67d
Contents?: true
Size: 706 Bytes
Versions: 42
Compression:
Stored size: 706 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2016 require 'bundler/gem_tasks' require 'rake/testtask' require 'json' Rake::TestTask.new(:test) do |t| t.verbose = false t.warning = false t.ruby_opts = [] t.libs << "test" t.libs << "lib" if ENV['APPRAISAL_INITIALIZED'] appraised_group = File.basename(ENV['BUNDLE_GEMFILE']).split(/_[0-9]+\./).first suite_files = Dir['test/{instrumentation,frameworks}/*_test.rb'] t.test_files = suite_files.select { |f| File.basename(f).start_with?(appraised_group) } else t.test_files = Dir[ 'test/*_test.rb', 'test/{agent,tracing,backend,snapshot}/*_test.rb' ] end end task :default => :test
Version data entries
42 entries across 42 versions & 1 rubygems