Popularity
6.0
Growing
Activity
7.3
Declining
1,078
12
79

Description

TestProf is a collection of different tools to analyze your test suite performance.

Why does test suite performance matter? First of all, testing is a part of a developer's feedback loop (see @searls talk) and, secondly, it is a part of a deployment cycle.

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: - Plug'n'Play integrations for general Ruby profilers (ruby-prof, stackprof) - Factories usage analyzers and profilers - ActiveSupport-backed profilers - RuboCop cops - etc.

Of course, we have some solutions for common performance issues too, bundled into the gem.

Programming language: Ruby
License: MIT License
Latest version: v0.12.2

Ruby Tests Profiling Toolbox alternatives and similar gems

Based on the "Testing" category

Do you think we are missing an alternative of Ruby Tests Profiling Toolbox or a related project?

Add another 'Testing' Gem

README

Cult Of Martians Gem Version Build JRuby Build Code Triagers Badge Documentation

Ruby Tests Profiling Toolbox

TestProf is a collection of different tools to analyze your test suite performance.

Why does test suite performance matter? First of all, testing is a part of a developer's feedback loop (see @searls talk) and, secondly, it is a part of a deployment cycle.

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:

  • Plug'n'Play integrations for general Ruby profilers (ruby-prof, stackprof)

  • Factories usage analyzers and profilers

  • ActiveSupport-backed profilers

  • RSpec and minitest helpers to write faster tests

  • RuboCop cops

  • etc.

📑 Documentation

Who uses TestProf

Resources

Installation

Add test-prof gem to your application:

group :test do
  gem "test-prof"
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 >= 9.1.0.0 (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).

Usage

Check out our docs.

What's next?

Have an idea? Propose a feature request!

Already using TestProf? Share your story!

License

The gem is available as open source under the terms of the MIT License.


*Note that all licence references and agreements mentioned in the Ruby Tests Profiling Toolbox README section above are relevant to that project's source code only.