specky/ruby/specky_formatter.rb
branchvim-stuff
changeset 24 38db5185d698
parent 23 050dd6dcf346
child 28 2b198f0a86fe
equal deleted inserted replaced
23:050dd6dcf346 24:38db5185d698
   194 ### formatter for status feedback
   194 ### formatter for status feedback
   195 ###
   195 ###
   196 class SpeckyFormatterConsole < SpeckyFormatter
   196 class SpeckyFormatterConsole < SpeckyFormatter
   197 
   197 
   198 	def example_passed( ex );  print '.'; end
   198 	def example_passed( ex );  print '.'; end
   199 	def example_failed( ex );  print 'F'; end
   199 	def example_failed( ex );  print 'F'; super; end
   200 	def example_pending( ex ); print '*'; end
   200 	def example_pending( ex ); print '*'; end
   201 
   201 
   202 	def close
   202 	def close
   203 		puts
   203 		puts
   204 		puts "Failures:" unless @failures.empty?
   204 		puts "Failures:" unless @failures.empty?