Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 591 Bytes

Readme.md

File metadata and controls

35 lines (18 loc) · 591 Bytes

Timed Specs

A Rspec formatter built upon the default DocumentationFormatter which shows the time taken for each example along with the other information shown by the DocumentationFormatter. You also have the option to list the slowest 'n' examples at the end.

Installation

gem install timed_specs

Or

gem 'timed_specs'

Usage

bundle exec rspec -f TimedSpecs --colour spec/

Or, even easier, add this to your .rspec file:

-- colour
-f TimedSpecs

Testing

To run the tests:

$ bundle exec rspec spec/