Thoughts on slow rails test suites
I have joined yet another company with a slow rails test suite (2+ hr to run locally, ~15min to run on a CI server). Maybe there is no other kind. In addition, the OSS project I maintain, which is just ~8mo old, has a test suite that takes ~4 min to run locally. All of this seems excessive and I am not resigned yet.
- https://medium.com/appaloosa-store-engineering/tips-to-improve-speed-of-your-test-suite-8418b485205c
- https://rollout.io/blog/faster-rails-tests/
- https://www.youtube.com/watch?v=q52n4p0wkIs
- https://thoughtbot.com/blog/debugging-why-your-specs-have-slowed-down
- https://relishapp.com/rspec/rspec-core/docs/configuration/profile-examples
- https://github.com/test-prof/test-prof
- https://github.com/discourse/discourse/pull/7414
- https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14370
- https://github.com/test-prof/test-prof/issues/73
- https://medium.com/appaloosa-store-engineering/
- https://rollout.io/blog/rails-speed-up-tests/
- https://goiabada.blog/improving-spec-speed-in-a-huge-old-rails-app-8f3ab05a33f9
- https://kellysutton.com/2020/05/18/speeding-up-a-rails-continuous-integration-pipeline.html
- https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
- https://chaione.com/blog/increase-performance-rspec-tests/
- https://gist.github.com/kddeisz/66f2e7749535f30f868d36021056fd15
- https://davidlaprade.github.io/speed-up-rails-tests
- https://stackoverflow.com/questions/3663075/speeding-up-rspec-tests-in-a-large-rails-application
- https://github.com/sporkrb/spork