Following a popular demand, a new gem has been released to help you rerun 
those finicky tests: *rspec-rerun*.

https://github.com/dblock/rspec-rerun

Add rspec-rerun to Gemfile in the :development and :test groups.

group :development, :test do
  gem "rspec-rerun"end

Require rspec-rerun and change the default task in Rakefile.

require 'rspec-rerun'task :default => "rspec-rerun:spec"

Run rake or rake rspec-rerun:spec. Failed examples will be rerun 
automatically.

It might also be a good idea to add rspec.failures to .gitignore.
Enjoy,

-dB.

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/wlYXk-QyMJwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to