class RubyUnit::Result

The RubyUnit::Result class is a result of individual tests

Attributes

error[RW]
params[RW]
test[RW]
test_case[RW]

Public Class Methods

new(test_case, test, params = [], error = nil) click to toggle source
# File lib/RubyUnit/Result.rb, line 13
def initialize test_case, test, params = [], error = nil
  @test_case = test_case
  @test      = test
  @params    = params
  @error     = error

  # Automatically add result to the test results...
  Report.record self
end