Skip to content

Instantly share code, notes, and snippets.

@nyarly
Last active December 14, 2015 03:38
Show Gist options
  • Save nyarly/5022008 to your computer and use it in GitHub Desktop.
Save nyarly/5022008 to your computer and use it in GitHub Desktop.
class Uuu < RSpec::Core::Formatters::ProgressFormatter
def example_passed(example)
if @failed_examples.empty?
super
else
output.print red("u")
end
end
end
@nyarly
Copy link
Author

nyarly commented Feb 24, 2013

Run:
rspec -r fu.rb -fUuu spec

Output looks like:
...........Fuuuuuuuuuuuuuuuuuu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment