Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
The tmp directory is currently fixed to the working directory and is never cleaned up. We can make use of Dir.mktmpdir to have a temporary directory that will clean up itself.
The
tmp
directory is currently fixed to the working directory and is never cleaned up. We can make use ofDir.mktmpdir
to have a temporary directory that will clean up itself.