RubyGems Navigation menu

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)

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:

Authors:

  • DesigningPatterns

Owners:

A5cc1adb7512c5eb66b38c01cf72d2e2B954a23971e0267a15f87f4fc1990e074177100c7295da55efdcfacc005b9d4a

Total downloads 44,318

For this version 2,660

Show all versions (7 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'assertions', '~> 1.4.0' = Copy to clipboard Copied!

install:
gem install assertions -v 1.4.0 = Copy to clipboard Copied!

Links: