Writing tests is a significant part of the development process, especially in the Ruby and Rails community. We don’t care about test suite performance until we find ourselves wasting too much time waiting for the green light.
You’re probably asking yourself: “Why does test suite performance matter?” TL;DR Slower tests lead to longer feedback loops and deployment cycles. Scaling vertically by dropping more CPU cores or CI workers has its limits. Optimizing your test suite is a better alternative. And with TestProf, you can do that gradually and with as little refactoring as possible!
TestProf toolbox aims to help you identify bottlenecks in your test suite. It contains:
- Plug’n’Play integrations for general Ruby profilers (
- Factories usage analyzers and profilers
- ActiveSupport-backed profilers
- RSpec and minitest helpers to write faster tests
- RuboCop cops
See the documentation!