Records a Test::Unit::Pending.
# File test-unit-3.3.7/lib/test/unit/pending.rb, line 131 def add_pending(pending) @pendings << pending notify_fault(pending) notify_changed end
Returns the number of pendings this TestResult has recorded.
# File test-unit-3.3.7/lib/test/unit/pending.rb, line 139 def pending_count @pendings.size end