Rainbow RSpec Formatter

I was really jealous of Minitest’s rainbow test output.

So I made a version for RSpec!


How to use it…

Add this to your application’s Gemfile:

group :test do
  gem 'rspec-rainbow'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rspec-rainbow

Then, when running rspec:

$ rspec --format Rainbow

If you want to use Rainbow by default, add it to your .rspec file.

--format Rainbow

Enjoy! And source is on GitHub.