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

Version Path
instana-1.211.0 Rakefile
instana-1.210.1 Rakefile
instana-1.210.0 Rakefile
instana-1.209.8 Rakefile
instana-1.209.7 Rakefile
instana-1.209.6 Rakefile
instana-1.209.5 Rakefile
instana-1.209.4 Rakefile
instana-1.209.3 Rakefile
instana-1.209.2 Rakefile
instana-1.209.1 Rakefile
instana-1.209.0.pre3 Rakefile
instana-1.209.0.pre2 Rakefile
instana-1.209.0.pre1 Rakefile
instana-1.208.0 Rakefile
instana-1.207.0 Rakefile
instana-1.206.0 Rakefile
instana-1.205.0 Rakefile
instana-1.204.0 Rakefile
instana-1.204.0.pre3 Rakefile