RAA - assertions

assertions / 1.0.0

Short description: Additional assertions for the Test::Unit library.
Category: Library/Test
Status: stable
Created: 2008-06-07 06:47:44 GMT
Last update: 2008-06-07 06:51:16 GMT
Owner: Designing Patterns (Projects of this owner)
Homepage: http://assertions.rubyforge.org
Download: http://rubyforge.org/frs/?group_id=6394
License: BSD
Dependency:
None
Description:

This package adds some additional assertions to Test::Unit::Assertions, including:

  • Assertions for all of the comparison operators (assert_greater_than, assert_less_than_or_equal_to, etc.). Shorter aliases also are provided for these (assert_gt, assert_le, etc.).
  • An assertion that tests whether a given block raises a specified exception with a specified message (assert_raise_message). This allows full testing of error messages.
  • An assertion that tests whether a given block contains an assertion that fails (assert_fail), which can be used to test new assertions.

Edit this project (for project owner)

back to RAA top