RubyGems Navigation menu

wrong 0.5.0

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail. The Wrong idea is to replace all those countless assert_this, assert_that library methods which only exist to give a more useful failure message than "assertion failed". Wrong replaces all of them in one fell swoop, since if you can write it in Ruby, Wrong can make a sensible failure message out of it. Also provided are several helper methods, like rescuing, capturing, and d.

版本列表:

  1. 0.7.1 - November 11, 2013 java (42.5 KB)
  2. 0.7.1 - November 11, 2013 (42.5 KB)
  3. 0.7.0 - November 23, 2012 java (42.5 KB)
  4. 0.7.0 - November 23, 2012 (42.5 KB)
  5. 0.6.3 - November 14, 2012 java (37.5 KB)
  6. 0.5.0 - December 08, 2010 (37.0 KB)
显示所有 (42 个版本)

所有者:

作者:

  • Steve Conover, Alex Chaffee

SHA 256 checksum:

00b66a9ef3426c8b717b36e54a0b82b94a982a80b7783d35c43f1da6237c53fe

下载总次数 226,338

这个版本 3,102

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

安装:
=

许可s:

需要的 Ruby 版本:

相关链接: