Skip to content

ONLYOFFICE-QA/rspec_passed_time_formatter

Repository files navigation

RspecPassedTimeFormatter

This is formatter for rspec to show end time of each it

rspec result with html output without that gem looks like that:

Screenshot_20221107_093203

rspec result with this gem usage looks like that:

Screenshot_20221107_093311

For very long tests or looking for test history - this formatter allow to better understand when precisely test started and finished

Installation

Add this line to your application's Gemfile:

gem 'rspec_passed_time_formatter'

And then execute:

bundle

Or install it yourself as:

gem install rspec_passed_time_formatter

Usage

rspec --format HtmlWithPassedTime --out out.html