RubyGems.org

assertions

1.4.0

This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (Test::Unit::Assertions#assert_greater_than, Test::Unit::Assertions#assert_less_than_or_equal_to, etc.). Shorter aliases also are provided for these (Test::Unit::Assertions#assert_gt, Test::Unit::Assertions#assert_le, etc.). * An assertion that verifies that a given block raises a specified exception with a specified message (Test::Unit::Assertions#assert_raise_message). This allows full testing of error messages. * An assertion that verifies that a given block contains an assertion that fails (Test::Unit::Assertions#assert_fail), which can be used to test new assertions. * An assertion that verifies that a given value is false or nil (Test::Unit::Assertions#assert_not)

installgem install assertions -v 1.4.0
Authors

DesigningPatterns

43,809 total downloads 2,597 for this version
Owners

A5cc1adb7512c5eb66b38c01cf72d2e2B954a23971e0267a15f87f4fc1990e074177100c7295da55efdcfacc005b9d4a

Gemfile
gem 'assertions', '~> 1.4.0'
Versions
  1. 1.4.1 January 15, 2010 (7.5 KB)
  2. 1.4.0 June 28, 2008 (7 KB)
  3. 1.3.0 June 26, 2008 (7 KB)
  4. 1.2.0 June 13, 2008 (7 KB)
  5. 1.1.0 June 9, 2008 (6.5 KB)
Show all versions (7 total)
Runtime Dependencies
  1. hoe >= 1.6.0