Read more

Better Output for RSpec

Tobias Kraze
August 25, 2010Software engineer at makandra GmbH

rspec_spinner Show archive.org snapshot is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the end).

Installation

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

gem install rspec_spinner

Usage

script/spec -r rspec_spinner -f RspecSpinner::Bar -c

To make a shortcut in your .bashrc

alias ss='script/spec -r rspec_spinner -f RspecSpinner::Bar -c'

There's also an alternate runner RSpecSpinner::Spinner which shows a spinner and the name of the current spec instead of a progress bar.

Posted by Tobias Kraze to makandra dev (2010-08-25 15:37)