Last active
December 14, 2015 03:38
-
-
Save nyarly/5022008 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
class Uuu < RSpec::Core::Formatters::ProgressFormatter | |
def example_passed(example) | |
if @failed_examples.empty? | |
super | |
else | |
output.print red("u") | |
end | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run:
rspec -r fu.rb -fUuu spec
Output looks like:
...........Fuuuuuuuuuuuuuuuuuu