From 788d89e382ad95e53a3087b06e61cbb0b7da2bcf Mon Sep 17 00:00:00 2001 From: Jeff Felchner Date: Wed, 30 Dec 2020 21:46:35 -0600 Subject: [PATCH] Add: fuubar To Relish Documentation Under Formatters --- features/formatters/fuubar.feature | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 features/formatters/fuubar.feature diff --git a/features/formatters/fuubar.feature b/features/formatters/fuubar.feature new file mode 100644 index 0000000000..19060936be --- /dev/null +++ b/features/formatters/fuubar.feature @@ -0,0 +1,55 @@ +Feature: fuubar + +[fuubar](https://github.com/thekompanee/fuubar) is an instafailing formatter +that uses a progress bar instead of a string of letters and dots as feedback. + +It provides visual feedback of how many specs are left to be run as well as +a rough approximation of how long it will take. + +![demo](https://kompanee-public-assets.s3.amazonaws.com/readmes/fuubar-examples.gif) + +Installation +-------------------------------------------------------------------------------- + +```ruby +gem install fuubar + +# or in your Gemfile + +gem 'fuubar' +``` + +Usage +-------------------------------------------------------------------------------- + +In order to use fuubar, you have three options. + +### Option 1: Invoke It Manually Via The Command Line + +```bash +rspec --format Fuubar --color +``` + +### Option 2: Add It To Your Local `.rspec` File + +```text +# .rspec + +--format Fuubar +--color +``` + +### Option 3: Add It To Your `spec_helper.rb` + +```ruby +# spec/spec_helper.rb + +RSpec.configure do |config| + config.add_formatter 'Fuubar' +end +``` + +--- + +For more information, you can [view the fuubar +README](https://github.com/thekompanee/fuubar)