Sha256: 78d9637693e12ad62d32af8f417cd42c9c8dd30f72833e18efde4f7cf3656061
Contents?: true
Size: 255 Bytes
Versions: 1
Compression:
Stored size: 255 Bytes
Contents
require 'testr/config' TestR::Config.after_fork_hooks << proc do |worker_number| # for compatitibilty with parallel_tests gem, # store numbers as strings: "", "2", "3", "4" ENV['TEST_ENV_NUMBER'] = (worker_number + 1).to_s if worker_number > 0 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
testr-14.3.0 | lib/testr/config/parallel_tests.rb |