Skip to content

Rspec formatter that shows individual test times and the slowest tests.

Notifications You must be signed in to change notification settings

dipil-saud/timed_specs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Rspec formatter that shows individual test times and the slowest tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages