add parallel testing possibility

3 time speedup on 8 cores, 2,5 on 4. with

NCPU=8 RUBYOPT=-rminitest/parallel_fork ruby test/test_all.rb
This commit is contained in:
Torsten Ruger 2018-09-07 16:08:53 +03:00
parent 7fc104a019
commit 6606593169
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ gem "rye"
gem "rx-file" , git: "https://github.com/ruby-x/rx-file"
#gem "rx-file" , path: "../rx-file"
gem "minitest-parallel_fork"
group :test do
gem "codeclimate-test-reporter" , require: false
gem "simplecov"

View File

@ -51,6 +51,7 @@ GEM
minitest (~> 5)
minitest-fail-fast (0.1.0)
minitest (~> 5)
minitest-parallel_fork (1.1.2)
minitest-profile (0.0.2)
nenv (0.3.0)
net-scp (1.2.1)
@ -99,6 +100,7 @@ DEPENDENCIES
guard-minitest
minitest-color
minitest-fail-fast
minitest-parallel_fork
minitest-profile
net-ssh
rake