r/ruby • u/ombulabs • Jun 16 '26
Blog post How to Parallelize Your RSpec Test Suite Locally (from 2 hours to 5 minutes) 🚀
https://www.fastruby.io/blog/test-parallelization.html
22
Upvotes
r/ruby • u/ombulabs • Jun 16 '26
11
u/blowmage Jun 16 '26
I’ve had good results using the parallel_rspec gem. Don’t understand why it’s not more popular.
[This comment is not an endorsement of using RSpec over Minitest.]
2
u/pigoz Jun 16 '26
I've been working on a new rails app using minitest, fixtures, and postgres. I have 980 tests and about 2500 assertions. It runs in 3 seconds.
The old app it's replacing was using rspec, factory bot, and mongoid and 300 tests took 2 minutes. Less tests because it has much smaller scope.
I can't believe how many teams are missing out by not following the rails way.
-11
u/[deleted] Jun 16 '26
[removed] — view removed comment