Sha256: 2a8f2f85bdd4b231a72f8a6f5c6a44bf6edc343ab6d6158f851db4e37448c842

Contents?: true

Size: 839 Bytes

Versions: 50

Compression:

Stored size: 839 Bytes

Contents

#### SETUP
require 'bundler'
Bundler.setup
require 'rspec'

require 'support/localhost_server'
require 'support/server'
require_relative 'support/memory_test_helpers'

require 'logger'

if ENV['VERBOSE']
  Ethon.logger = Logger.new($stdout)
  Ethon.logger.level = Logger::DEBUG
end

RSpec.configure do |config|
  config.before(:suite) do
    LocalhostServer.new(TESTSERVER.new, 3001)
  end
  config.include(MemoryTestHelpers)
  config.extend(MemoryTestHelpers::TestMethods)
end

MemoryTestHelpers.setup
MemoryTestHelpers.logger = Logger.new($stdout)
MemoryTestHelpers.logger.level = Logger::INFO
MemoryTestHelpers.logger.formatter = proc do |severity, datetime, progname, msg|
  "\t\t#{msg}\n"
end

if ENV['VERBOSE']
  MemoryTestHelpers.logger.level = Logger::DEBUG
end

MemoryTestHelpers.iterations = ENV.fetch("ITERATIONS", 10_000).to_i

Version data entries

50 entries across 49 versions & 8 rubygems

Version Path
cloudsmith-api-0.49.94 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
cloudsmith-api-0.49.21 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
cloudsmith-api-0.49.15 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
cloudsmith-api-0.49.13 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
cloudsmith-api-0.49.9 vendor/bundle/ruby/2.3.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
cloudsmith-api-0.44.4 vendor/bundle/ruby/2.3.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/perf_spec_helper.rb
approveapi-1.0.8 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
approveapi-1.0.5 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/profile/perf_spec_helper.rb
ethon-0.12.0 profile/perf_spec_helper.rb
cloudsmith-api-0.30.7 vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/perf_spec_helper.rb
color_me_shop-1.0.0 vendor/bundle/ruby/2.5.0/gems/ethon-0.11.0/profile/perf_spec_helper.rb
cloudsmith-api-0.21.4 vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/perf_spec_helper.rb
ethon-0.11.0 profile/perf_spec_helper.rb
ethon-0.10.1 profile/perf_spec_helper.rb
ethon-0.10.0 profile/perf_spec_helper.rb
ethon-0.9.1 profile/perf_spec_helper.rb
ethon-0.9.0 profile/perf_spec_helper.rb
ethon-0.8.1 profile/perf_spec_helper.rb
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/ethon-0.8.0/profile/perf_spec_helper.rb