# HG changeset patch # User Mahlon E. Smith # Date 1345279663 25200 # Node ID 050dd6dcf346518ed151b6ce07c43fcf89c508e2 # Parent ed72213b1788badc207aba49128b175dcd2c5a4e Mimic the Progress formatter for console status feedback. diff -r ed72213b1788 -r 050dd6dcf346 specky/ruby/specky_formatter.rb --- a/specky/ruby/specky_formatter.rb Fri Feb 10 16:08:43 2012 -0800 +++ b/specky/ruby/specky_formatter.rb Sat Aug 18 01:47:43 2012 -0700 @@ -190,10 +190,17 @@ ### Identical to the regular SpeckyFormatter, but it puts summary ### information at the bottom of the screen instead of the top, and just -### spits out rudamentary failure info. +### spits out rudamentary failure info. Mimics the progress +### formatter for status feedback ### class SpeckyFormatterConsole < SpeckyFormatter + + def example_passed( ex ); print '.'; end + def example_failed( ex ); print 'F'; end + def example_pending( ex ); print '*'; end + def close + puts puts "Failures:" unless @failures.empty? @failures.each do |test| metadata = test.metadata