Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rspec-long_time_specs_profiler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rspec-long_time_specs_profiler

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RSpec::LongTimeSpecsProfiler

A RSpec 2.x formatter which shows longest time spec files.

This formatter works in only RSpec 2.x. RSpec 3.x is not supported.

Installation

Add this lines to your application's Gemfile:

group :test do
  gem 'rspec-long_time_specs_profiler'
end

And then execute:

$ bundle

Or install it yourself as:

$ gem install rspec-long_time_specs_profiler

Usage

Execute rspec command with -f RSpec::LongTimeSpecsProfiler option.

$ bundle exec rspec -f RSpec::LongTimeSpecsProfiler

After tests, 10 longest time spec files are shown in your console.

If you want to show progress, please specify -f progress option as follows.

$ bundle exec rspec -f progress -f RSpec::LongTimeSpecsProfiler

More than 10 files?

You can use --profile option which specifies how many files are shown in longest time spec files.

$ bundle exec rspec -f RSpec::LongTimeSpecsProfiler --profile 20

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ryu39/rspec-long_time_specs_profiler. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

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

FAQs

Package last updated on 24 Jan 2017

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc