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)

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.4.1 - January 15, 2010 (7.5 KB)
  2. 1.4.0 - June 28, 2008* (7.0 KB)
  3. 1.3.0 - June 26, 2008* (7.0 KB)
  4. 1.2.0 - June 13, 2008* (7.0 KB)
  5. 1.1.0 - June 09, 2008* (6.5 KB)
显示所有版本 (共 7 个)

Runtime 依赖 (1):

hoe >= 1.6.0

业主:

作者:

  • DesigningPatterns

SHA 256 校验和:

9864b760b2960b7e76b3e8e7b340e52994874c34eb2eed36bdc895748221cf93

下载总量 69,288

这个版本 5,357

许可:

需要的 Ruby 版本:

链接: