RubyGems Navigation menu

wrong 0.7.1

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.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.7.1 November 11, 2013 java (42.5KB)
  2. 0.7.1 November 11, 2013 (42.5KB)
  3. 0.7.0 November 23, 2012 java (42.5KB)
  4. 0.7.0 November 23, 2012 (42.5KB)
  5. 0.6.3 November 14, 2012 java (37.5KB)
全てのバージョンを表示(全42件)

Runtime依存関係 (5):

diff-lcs ~> 1.2.5
predicated ~> 0.2.6
ruby2ruby >= 2.0.1
ruby_parser >= 3.0.1

所有者:

作者:

  • Steve Conover, Alex Chaffee

SHA 256チェックサム:

=

累計ダウンロード数 526,202

このバージョンのみ 353,310

このバージョンがリリースされたのは:

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: