Closed thedrow closed 8 years ago
@thedrow in a word: no. There is a way to do this if you were to write a custom formatter. ruby-progressbar
has a log
method that will clear the bar, write the message and then redraw the bar on the next line, so with a custom formatter, you can achieve this.
But not just by calling two formatters in the rspec
command.
So if I were to provide one, it'd be using a different gem?
@thedrow you can have a custom formatter class that's just inside your app if you want. You don't need a separate gem if you don't want. Your other option would be to fork fuubar
, look at how the Documentation
formatter works and merge the two.
This issue has been closed automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This is the output I'm getting.
I expect fuubar to keep the progress bar at the end of the output and to not print the test results twice. Is there any way we can easily achieve this?