Skip to content
Ruby Tests Profiling Toolbox
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
assets
bin
docs docs: add note about fatory_default vs before_all Mar 20, 2019
gemfiles
lib
spec feat: make factory_prof compatible with factory_bot 5 Feb 23, 2019
.gem_release.yml
.gitattributes [ci skip] Add test-prof mindmap Sep 21, 2017
.gitignore Add older RSpec to Travis Oct 17, 2017
.jrubyrc
.rspec
.rubocop.yml travis: ignored vendor in gemfiles Feb 23, 2019
.travis.yml travis: remove arel from rails master gemfile Feb 23, 2019
CHANGELOG.md
Gemfile feat: make factory_prof compatible with factory_bot 5 Feb 23, 2019
LICENSE.txt Add RubyProf integration May 18, 2017
README.md [ci skip] add BalkanRuby links Jan 12, 2019
Rakefile
circle.yml Update circle test command; ignore vendors in rubocop Jul 24, 2017
test-prof.gemspec

README.md

Cult Of Martians Gem Version Build Status 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

  • RuboCop cops

  • etc.

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

📑 Documentation

Supported Ruby versions:

  • Ruby (MRI) >= 2.3.0 (NOTE: for Ruby 2.2 use TestProf < 0.7.0)

  • JRuby >= 9.1.0.0

Sponsored by Evil Martians

Resources

Installation

Add test-prof gem to your application:

group :test do
  gem 'test-prof'
end

And that's it)

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.

You can’t perform that action at this time.