Sha256: d4a233b5e65142078a5fcf526460c63587bc9edadbc2f1e2de192ee6eaf7f972
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 KB
Contents
# YertleFormatter [](https://travis-ci.org/edgibbs/yertle_formatter) [](https://coveralls.io/r/edgibbs/yertle_formatter?branch=master) [](https://codeclimate.com/github/edgibbs/yertle_formatter) [](https://www.pullreview.com/github/edgibbs/yertle_formatter/reviews/master)  An RSpec 3 formatter for highlighting slow specs. Slow specs are marked with turtles (:turtle:) and a summary of slow specs are returned at the end of the run. ## Usage Basic usage is like any other RSpec formatter: rspec --format YertleFormatter Or to make it the default add the following to your .rspec file: require --format YertleFormatter It defaults to defining slow specs as slower than 0.2 seconds. You can modify this by setting an environment varaible: YERTLE_SLOW_TIME=1.0 Or you can add the use a configurable flag for yertle_slow_time in your RSpec configuration: ```ruby RSpec.configure do |config| config.yertle_slow_time = 1.0 end ``` ## Installation Add this line to your application's Gemfile: gem 'yertle_formatter' And then execute: $ bundle Or install it yourself as: $ gem install yertle_formatter ## Contributing 1. Fork it ( https://github.com/[my-github-username]/yertle_formatter/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yertle_formatter-0.0.2 | README.md |
yertle_formatter-0.0.1 | README.md |