module Test::Unit::TestResultPendingSupport

Attributes

pendings[R]

Public Instance Methods

add_pending(pending) click to toggle source

Records a Test::Unit::Pending.

# File test-unit-3.5.7/lib/test/unit/pending.rb, line 131
def add_pending(pending)
  @pendings << pending
  notify_fault(pending)
  notify_changed
end
pending_count() click to toggle source

Returns the number of pendings this TestResult has recorded.

# File test-unit-3.5.7/lib/test/unit/pending.rb, line 139
def pending_count
  @pendings.size
end