sporkrb/spork — Issue #164: Parallel testing
Author: phuongnd08
Created: 2011-12-21 16:43:30+00:00
State: open

Spork is good. But running a single process on these multi-core machine these days is really a waste.
Any plan on adding parallel support to Spork?
I can imagine everytime Spork is forking, you can set a ENV variable inside the new process (like TEST_ENV_NUM, as parallel_tests do). Spork then can distribute tests to multiple process, each one with different database based on TEST_ENV_NUM (again, like parallet_tests do)
Parallet test has done good job on creating rake tasks to generate multiple test databases so this can be reused.