Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Formatter for just putting out the error message during runtime
# use with Rspec by --require <path_to_this_file> --formatter FailuresDuringRunFormatter
require 'spec/runner/formatter/progress_bar_formatter'
class FailuresDuringRunFormatter < Spec::Runner::Formatter::ProgressBarFormatter
def example_failed(example, counter, failure)
super #show the 'F' in progress
dump_failure(counter, failure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment