Posted over 7 years ago. Visible to the public.

RSpec formatter to see failed tests faster.

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.

Owner of this card:

Last edit:
over 7 years ago
Posted by jan0sch to jan0sch's deck
This website uses short-lived cookies to improve usability.
Accept or learn more