Sha256: 4332ec1206aa69f654934d4912a36807e9a7836d19d059f2bcc6313dabd74997
Contents?: true
Size: 1 KB
Versions: 2
Compression:
Stored size: 1 KB
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) ENV['INSTANA_GEM_TEST'] = 'true' require "rubygems" require "bundler/setup" Bundler.require(:default, :test) require "minitest/spec" require "minitest/autorun" require "minitest/reporters" require "minitest/debugger" if ENV['DEBUG'] require 'webmock/minitest' require "instana/test" ::Instana::Test.setup_environment # Boot background webservers to test against. require "./test/servers/rackapp_6511" case File.basename(ENV['BUNDLE_GEMFILE']) when /rails50|rails42|rails32/ # Allow localhost calls to the internal rails servers ::WebMock.disable_net_connect!(allow_localhost: true) require './test/servers/rails_3205' when /libraries/ require './test/servers/grpc_50051.rb' end Minitest::Reporters.use! MiniTest::Reporters::SpecReporter.new # Used to reset the gem to boot state. It clears out any queued and/or staged # traces and resets the tracer to no active trace. # def clear_all! ::Instana.processor.clear! ::Instana.tracer.clear! nil end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
instana-1.5.2 | test/test_helper.rb |
instana-1.5.1 | test/test_helper.rb |