Class Object
In: lib/object_extension.rb
Parent: Object

Methods

Public Instance methods

Used to define a block of functional tests.

   functional_tests do
     test "verify something" do
       ...
     end
   end

Configuration Options:

  * allow - Allows you to specify the methods that are allowed despite being disallowed.
    See Test::Unit::TestCase.disallow_helpers! or Test::Unit::TestCase.disallow_setup! for more info

Used to define a block of unit tests.

   unit_tests do
     test "verify something" do
       ...
     end
   end

Configuration Options:

  * allow - Allows you to specify the methods that are allowed despite being disallowed.
    See Test::Unit::TestCase.disallow_helpers! or Test::Unit::TestCase.disallow_setup! for more info

[Validate]