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 verifies that a given block raises a specified exception with a specified message (assert_raise_message). This allows full testing of error messages. * An assertion that verifies that a given block contains an assertion that fails (assert_fail), which can be used to test new assertions.
Copy to clipboard
- 1.0.0 - October 21, 2009 (5.5 KB)
Development Dependencies (1):
hoe >= 2.3.3