Project

rspec-live

0.0
No commit activity in last 3 years
No release in over 3 years
Continually updating console output for RSpec 3+
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0.1
~> 2.7.9
~> 3.0
 Project Readme

rspec-live

rspec-live is a test runner and formatter for RSpec 3+ that shows the state of your test suite clearly and concisely in a console window. As files in your project are updated, created, or removed, rspec-live reruns your specs in the background and continually updates the displayed status.

Basic code coverage analysis is used to determine which specs to re-run based on which files have changed. Currently, specs that run code in a separate process may not get re-run as often as necessary (this includes acceptance tests that launch a JavaScript-capable browser). To see updated results for these specs, you may need to re-run all specs by pressing "R".

RSpec background processes are managed intelligently, so that only one RSpec process is running at a time, and future RSpec runs won't get queued up based on outdated file statuses.

Requirements

  • Ruby 1.8.7 or newer
  • RSpec 3.0.0 or newer

Getting Started

Add the gem to your Gemfile,

gem 'rspec-live'

Update your bundle,

bundle

And start it up.

rspec-live

Key Commands

  • A (all): Toggle the display of all specs (as opposed to just failing specs) in the detailed list at the bottom of the screen.

  • R (refresh): Re-run all specs.

  • N (next): Reorder the detailed information about failing specs shown at the bottom of the screen, by rotating the next spec into the top position.

  • V (verbosity): Change the amount of backtrace information shown about failing specs.

  • Q (quit)