Parallel tests. Use all your processor cores to speed up your development
iafonov.github.com
iafonov.github.com
The problem was that some of the groups might have ended up with tests that take 5 minutes each (finished after 15 minutes) and other groups end up with the 20 second ones (finished after 1 minute). Did that balancing every change?
Another question: How does this work for different RSpec formatters? (specifically: junit xml output or html output). Will it still result in a single file?
In all seriousness though, I think that a look at OS scheduling would provide useful inspiration for test scheduling.