Better Way to Monitor Progress of Your Rspec Test Suit

RSpec test suit

If you have large test suit which takes tens of minutes or a couple hours to complete then it would have been difficult to check the progress status of the test suit with default RSpec configuration.

By default, RSpec uses the progress formatter, which generates output like this:

This formatting doesn’t give you much idea about how much of the test suit is remaining to complete.

Fuubar gems provide RSpec formatter that shows a progress bar with percent completed instead of a string of letters and dots as feedback.

How to configure in a Rails application?

Add gem to the gem file under test group.

gem 'fuubar'

Set fuubar as formatter to .rspec file

--format Fuubar
--color

Click here for more details…


At BoTree Technologies, we build enterprise applications with our RoR team of 25+ engineers.

We also specialize in RPA, AI, Python, Django, JavaScript and ReactJS.

Consulting is free – let us help you grow!

Related posts

Comparing Kivy and BeeWare: Understanding the Key Differences

by Parth Barot
4 years ago

Rails: define_method in Models

by Chandni Thakkar
5 years ago

Page Load Optimization by Progressive Image Loading (like Medium)

by Ankur Vyas
9 years ago
Exit mobile version