Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
It'd be good to automatically set up a database similar to Rails. Rails docs.
In Rails, ActiveRecord::Tasks::DatabaseTasks.reconstruct_from_schema is called inside the ActiveSupport::Testing::Parallelization#after_fork_hook. Ref.
It'd be good to automatically set up a database similar to Rails. Rails docs.
In Rails,
ActiveRecord::Tasks::DatabaseTasks.reconstruct_from_schema
is called inside theActiveSupport::Testing::Parallelization#after_fork_hook
. Ref.TODO
command
variable.Originally posted by @pirj in https://github.com/rspec/rspec-rails/issues/2104#issuecomment-1022567077: