Module Test::Unit::TestCasePendingSupport
In: lib/test/unit/pending.rb

Methods

included   pend  

Included Modules

PendingHandler

Public Class methods

Public Instance methods

Marks the test or part of the test is pending.

Example:

  def test_pending
    pend
    # Not reached here
  end

  def test_pending_with_here
    pend do
      # Ran here
      # Fails if the block doesn't raise any error.
      # Because it means the block is passed unexpectedly.
    end
    # Reached here
  end

[Validate]