Socket
Book a DemoInstallSign in
Socket

minitest-profiler

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitest-profiler

0.0.2
bundlerRubygems
Version published
Maintainers
2
Created
Source

Minitest::Profiler

minitest-profiler hooks into Minitest and finds your slow-running tests.

Installation

Add this line to your application's Gemfile:

gem 'minitest-profiler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install minitest-profiler

Usage

  • In your test_helper file, mix in the profiler to your test case class.
class ActiveSupport::TestCase
  include Minitest::Profiler
end
  • Run your tests as usual. A report will be printed out after all your tests finish running.

Notes

  • We've only tested this on a Rails 4 app so far.

Contributing

  • Fork it ( http://github.com/nilenso/minitest-profiler/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 15 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.