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