Created
July 22, 2010 09:42
-
-
Save denro/485785 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment