0.0
No commit activity in last 3 years
No release in over 3 years
Outputs failing spec rerun command
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

RunItBack

Easily rerun failing tests from rspec by copying the last line of this formatter. Will work easily with other rspec formatters.

Installation

Add this line to your application's Gemfile:

gem 'run_it_back'

Example Usage

In your .rspec file:

--format RunItBack

When 10 or less failures occur:

Rerun all failed examples:

rspec ./spec/models/model_one_spec.rb:{5,8} ./spec/models/model_two_spec.rb:{5,8}

When more than 10 failures occur in 10 or less files:

Rerun all files containing failures:

rspec ./spec/models/model_one_spec.rb ./spec/models/model_two_spec.rb

License

MIT