mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-15 00:00:39 -04:00
23 lines
546 B
Ruby
23 lines
546 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "simplecov" if ENV.key?("CI")
|
|
|
|
gem "minitest"
|
|
require "minitest/autorun"
|
|
|
|
if ENV.key?("PARALLEL")
|
|
require "minitest/hell"
|
|
class Minitest::Test
|
|
parallelize_me!
|
|
end
|
|
end
|
|
|
|
require "httpx"
|
|
|
|
# TODO: remove this once ruby 2.5 bug is fixed:
|
|
# https://github.com/ruby/openssl/issues/187
|
|
ENV["CI"] && OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:verify_mode] = 0
|
|
|
|
Dir[File.join(".", "test", "support", "*.rb")].each { |f| require f }
|
|
Dir[File.join(".", "test", "support", "**", "*.rb")].each { |f| require f }
|