A custom RSpec formatter that just outputs 🦩 for everything. This is made from an inside joke and should not be used in any sane workplace.
git clone https://github.com/radiantnode/rspec-flamingo.git
cd rspec-flamingo
gem build rspec-flamingo.gemspec
gem install rspec-flamingo-*.gem
You can invoke the flamingo with the --format
option when calling rspec:
rspec --require rspec-flamingo --format RSpecFlamingo::Formatter
Or if you are brave enable it in your .rspec
file:
--require rspec-flamingo
--format RSpecFlamingo::Formatter
Now you have the flamingo! 🦩 🎉
rspec
🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩🦩
You can customize the emoji and summary output by defining a configuration block in your spec_helper.rb
.
RSpecFlamingo.configure do |config|
config.example_passed_emoji = '🎉'
config.example_failed_emoji = '🐊'
config.example_pending_emoji = '👷'
config.hide_summary = true # Hide default RSpec progress formatter summary
config.hide_failures = true # Hide default RSpec progress formatter failures
end