Giter Club home page Giter Club logo

fuubar's Introduction

Fuubar Travis CI Status

Fuubar is an instafailing RSpec formatter that uses a progress bar instead of a string of letters and dots as feedback. Here's a video of Fuubar in action.

Supported Rubies

  • MRI Ruby 1.8.7
  • MRI Ruby 1.9.2
  • MRI Ruby 1.9.3
  • MRI Ruby 2.0.0
  • JRuby (in 1.8 compat mode)
  • JRuby (in 1.9 compat mode)

Installation

First:

gem install ruby-progressbar

or in your Gemfile

gem 'ruby-progressbar'

Then, when running rspec:

rspec --format Fuubar --color spec

Or, if you want to use Fuubar as your default formatter, simply put the options in your .rspec file:

--format Fuubar
--color

Advanced Usage

Customizing the Bar

Fuubar exposes an RSpec configuration variable called fuubar_progress_bar_options which, when set will be passed directly to ruby-progressbar which does all the heavy lifting. Take a look at the documentation for details on all of the options you can pass in.

Let's say for example that you would like to change the format of the bar. You would do that like so:

# spec_helper.rb

RSpec.configure do |config|
  config.fuubar_progress_bar_options = { :format => 'My Fuubar! <%B> %p%% %a' }
end

would make it so that, when Fuubar is output, it would look something like:

My Fuubar! <================================                  > 53.44% 00:12:31

Issues

If you have problems, please create a Github issue.

Credits

fuubar was created by Jeff Kreeftmeijer fuubar is maintained by Jeff Kreeftmeijer and The Kompanee, Ltd.

Contributing

Found an issue? Have a great idea? Want to help? Great! Create an issue issue for it, or even better; fork the project and fix the problem yourself. Pull requests are always welcome. :)

License

fuubar is Copyright © 2010-2013 Jeff Kreeftmeijer and Jeff Felchner. It is free software, and may be redistributed under the terms specified in the LICENSE file.

fuubar's People

Contributors

arsduo avatar bradx3 avatar danielbayerlein avatar elia avatar hron avatar iain avatar jfelchner avatar nashby avatar tfe avatar twalpole avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.