Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Nyan Cat inspired RSpec formatter!

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 nyan-cat-formatter.gemspec
README.md

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"
end

And then

bundle install

Contributing

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!

Author

Matt Sears :: @mattsears

Something went wrong with that request. Please try again.