Project

speccle

0.0
No commit activity in last 3 years
No release in over 3 years
Speccle - wrapper for spec that colorizes iTerm window background to reflect spec pass/pend/fail (Mac OSX only)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
= Speccle =

RSpec formatter that changes the background color of the current
terminal in iTerm to match current spec state. When it starts, the
screen turns green. If any specs are pending, it turns yellow. If any
specs fail, it turns red. Colors are "sticky", so if you get a pending
after a fail the screen will stay red.

= Now With 100% More Gem Action =

 sudo gem install dbrady-speccle

And now in your project folder, type speccle where you would type
spec. Speccle passes any extra arguments it is given through to spec,
so it should just work as a drop-in replacement for spec.

= Using It The Hard Way =

Here's how to include it from the command line. You can probably hook
this up from inside spec.opts, too.

Assuming $GEMDIR contains the path to your gems folder,

 spec --require $GEMDIR/speccle-0.0.1/lib/iterm_color_progress_formatter.rb --format Spec::Runner::Formatter::ItermColorProgressFormatter spec

= Notes = 

* This requires iTerm to work right.

* This does not check to see if you are running iTerm, so Terminal
  users, YMMV. At best it will start iTerm and color it for you. More
  likely it will probably just crash.