Project

beagle

0.0
No commit activity in last 3 years
No release in over 3 years
Provides execution times for your specs for analysis
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.8.7
~> 2.0.0

Runtime

>= 2.0.0
 Project Readme

Beagle¶ ↑

RSpec formatter to analyse your spec suite giving you a breakdown of how long your specs are taking to execute.

Install¶ ↑

gem install beagle

Usage¶ ↑

Add Beagle::TimedFormatter as a formatter to your rspec run, either from the command line or your rake task eg:

rspec spec/models/your_spec.rb -f Beagle::TimedFormatter

RSpec::Core::RakeTask.new(:spec => spec_prereq) do |t|
  t.pattern = "./spec/**/*_spec.rb"
  t.spec_opts = ["-f", "Beagle::TimedFormatter"]
end

Generates an html page under $PROJECT_ROOT/reports/beagle/index.html