‹ jan0sch.de

RSpec formatter to see failed tests faster.

2013-06-01

When running rspec you usually have to wait for all tests to be finnished before you can see the failed tests.

The gem fuubar provides a formatter for rspec that displays the failures right when they appear. Just add it to your Gemfile and be sure to have the following options in your .rspec:

--format Fuubar
--color

If you want rspec to bail out on the first failed test you can add the option --fail-fast to you .rspec as well.