module Test::Unit::TestResultPendingSupport

def add_pending(pending)

Records a Test::Unit::Pending.
def add_pending(pending)
  @pendings << pending
  notify_fault(pending)
  notify_changed
end

def initialize_containers

def initialize_containers
  super
  @pendings = []
  @summary_generators << :pending_summary
end

def pending_count

recorded.
Returns the number of pendings this TestResult has
def pending_count
  @pendings.size
end

def pending_summary

def pending_summary
  "#{pending_count} pendings"
end