RubyGems Navigation menu

wrong 0.4.2-java

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:
= Copy to clipboard Copied!

install:
=

Versions:

  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.4.2 - October 08, 2010 java (29.5 KB)
Show all versions (42 total)

Runtime Dependencies (5):

diff-lcs ~> 1.1.2
predicated >= 0.2.2
ruby2ruby ~> 1.2
ruby_parser ~> 2.0.4

Owners:

Authors:

  • Steve Conover, Alex Chaffee

SHA 256 checksum:

4ac2da18ec13eecf0a820f654c4ad562ca6957dc9ed6fe7b390031329aef9593

Total downloads 489,937

For this version 3,054

Licenses:

N/A

Required Ruby Version: None

Links: