Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (46 sloc) 1.34 KB

Nyan Cat RSpec Formatter Build Status

_-_-_-_-_-_-_-|   /\_/\
-_-_-_-_-_-_-~|__( ^ .^)
_-_-_-_-_-_-_-""  ""

This is my take on the Nyan Cat RSpec Formatter. It simply creates a rainbow trail of test results. It also counts the number of examples as they execute and highlights failed and pending specs.

The rainbow changes colors as it runs. See it in action here.

Works with RSpec 1.3 and RSpec 2.

rspec --format NyanCatFormatter

Installing Nyan Cat

$ gem install nyan-cat-formatter

If you want to use Nyan Cat as your default formatter, simply put the options in your .rspec file:

--format NyanCatFormatter

Using with Rails rake spec

To use Nyan Cat with Rails "rake spec" you need to add Nyan Cat dependecy in your Gemfile.

group :test do
  gem "nyan-cat-formatter"

And then

bundle install


Once you've made your great commits:

  1. Fork Nyan Cat
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create a Pull Request from your branch
  5. That's it!


Matt Sears :: @mattsears