mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-23 00:00:55 -04:00
added support for minitest run in parallel
This commit is contained in:
parent
51cdf95aad
commit
703620bc19
7
Gemfile
7
Gemfile
@ -16,7 +16,8 @@ gem "certificate_authority", git: "https://github.com/cchandler/certificate_auth
|
||||
branch: "master",
|
||||
require: false
|
||||
|
||||
gem "simplecov", ">= 0.9"
|
||||
gem "simplecov"
|
||||
|
||||
gem "minitest"
|
||||
gem "rubocop"
|
||||
gem "minitest", require: false
|
||||
gem "minitest-proveit", require: false
|
||||
gem "rubocop", require: false
|
||||
|
@ -3,6 +3,13 @@
|
||||
gem "minitest"
|
||||
require "minitest/autorun"
|
||||
|
||||
if ENV.key?("PARALLEL")
|
||||
require "minitest/hell"
|
||||
class Minitest::Test
|
||||
parallelize_me!
|
||||
end
|
||||
end
|
||||
|
||||
$HTTPX_DEBUG = !!ENV["HTTPX_DEBUG"]
|
||||
|
||||
require "httpx"
|
||||
|
Loading…
x
Reference in New Issue
Block a user