Sha256: e1d7035e70f5f95c8dc2972ff6f48b49d824ad7e90542b00b15d51f2886023e5
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
module Lemon module Reporters require 'lemon/reporter' # Generic Reporter class Verbose < Reporter # def report_start(suite) end # def report_concern(concern) puts puts concern.description end # def report_success(testunit) puts "* [PASS] #{testunit}" end # def report_failure(testunit, exception) puts "* [FAIL] #{testunit.target}" #puts exception end # def report_error(testunit, exception) puts "* [ERROR] #{testunit.target}" #puts exception end def report_finish(successes, failures, errors) puts; puts failures.each do |testunit, exception| puts " #{testunit}" puts " #{exception}" puts end errors.each do |testunit, exception| puts " #{testunit}" puts " #{exception}" puts end total = successes.size + failures.size + errors.size puts "#{total} tests, #{failures.size} failures, #{errors.size} errors" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lemon-0.5 | lib/lemon/reporters/verbose.rb |