Object
Factory for constructing either a CI::Reporter::TestUnitFailure or CI::Reporter::TestUnitError depending on the result of the test.
# File lib/ci/reporter/minitest.rb, line 12 def self.new(fault, type = nil, meth = nil) return MiniTestSkipped.new(fault) if type == :skip return MiniTestFailure.new(fault, meth) if type == :failure MiniTestError.new(fault) end
Generated with the Darkfish Rdoc Generator 2.