On a recent project, a client’s test suite had slowed down to a painful 15 minutes even when running with parallelization. It was great to see that the team maintained a balanced testing pyramid, but we were surprised by the completion times of even the simplest unit specs. # spec/models/user_spec.rb describe "associations" do subject(:user) { User.new } it { should have_many(:orders) } # 12 addit
![Debugging Why Your Specs Have Slowed Down](https://cdn-ak-scissors.b.st-hatena.com/image/square/33c1c8dcd9c45533e9d970e219018ccbd78144a4/height=288;version=1;width=512/https%3A%2F%2Fimages.thoughtbot.com%2Fblog-vellum-image-uploads%2FcMtZMDhWQ1q6DdOfzEBA_original-test-speed-associations.png)