method
should_parallelize?
v7.1.3.4 -
Show latest stable
- Class:
ActiveSupport::Testing::ParallelizeExecutor
should_parallelize?()private
No documentation available.
# File activesupport/lib/active_support/testing/parallelize_executor.rb, line 56
def should_parallelize?
(ENV["PARALLEL_WORKERS"] || tests_count > threshold) && many_workers?
end