Ruby Tests Profiling Toolbox
TestProf is a collection of different tools to analyze your test suite performance.
Simply speaking, slow tests waste your time making you less productive.
TestProf toolbox aims to help you identify bottlenecks in your test suite. It contains:
Factories usage analyzers and profilers
RSpec and minitest helpers to write faster tests
Who uses TestProf
- Discourse reduced ~27% of their test suite time
- Gitlab reduced 39% of their API tests time and improved factories usage
- Open Project
- ...and others
test-prof gem to your application:
group :test do gem "test-prof", "~> 1.0" end
And that's it)
Supported Ruby versions:
Ruby (MRI) >= 2.5.0 (NOTE: for Ruby 2.2 use TestProf < 0.7.0, Ruby 2.3 use TestProf ~> 0.7.0, Ruby 2.4 use TestProf <0.12.0)
JRuby >= 220.127.116.11 (NOTE: refinements-dependent features might require 9.2.7+)
Supported RSpec version (for RSpec features only): >= 3.5.0 (for older RSpec versions use TestProf < 0.8.0).
Check out our docs.
Have an idea? Propose a feature request!
Already using TestProf? Share your story!
The gem is available as open source under the terms of the MIT License.