martinciu’s dev blog

about ruby, rails, javascript, nodejs, coffeescript, objective-c, swift


A few days ago Jeff Kreeftmeijer released Fuubar: the instafailing RSpec progress bar formatter. It is great, and I use it as default formatter in all my projects. As I started to use it I realised that it would be great to have similar formatter for Cucumber. At first I wanted to add cucuber formatter class to Jeff’s gem, but later I decided to make it a separet gam because of gem dependencies.

This is where fuubar-cucumber came from. Installation is simple. Just add it to your gem file:

gem 'fuubar-cucumber'

or install manualy

$ gem install fuubar-cucumber

and from now on you can run your cucumber features with ‘–format Cucumber::Formatter::Fuubar’ option. Hope you find it useful.