Skip to content

datafruits/fruity_formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dad438f · Jan 4, 2014

History

8 Commits
Jan 4, 2014
Jan 4, 2014
Dec 22, 2013
Jan 4, 2014
Jan 4, 2014
Dec 22, 2013
Dec 22, 2013
Jan 4, 2014
Dec 22, 2013
Dec 24, 2013

Repository files navigation

FruityFormatter

Build Status

A fruit oriented rspec test formatter.

Prints one of several fruits for successes => :apple: :pineapple: :green_apple: :tangerine: :lemon: :cherries: :grapes: :watermelon: :strawberry: :peach: :melon: :banana: :tomato:

and bombs and mushrooms for failures => :mushroom: :bomb:

If your terminal supports emoji ala apple you should see emoji. Otherwise you can install an emoji font in linux.

Installation

Add this line to your application's Gemfile:

gem 'fruity_formatter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fruity_formatter

Usage

You can either specify the formatting when using the rspec command:

rspec --format FruityFormatter

Or add --format FruityFormatter to a .rspec file placed in your project's root directory, so that you won't have to specify the --format option everytime you run the command.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

fruitify your tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages