Sign in Sign up
rubygems

wrong

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.

Activity

Latest release
12y ago
Total releases
24
Cadence
~12 days
Last 12 months
0

Details

First release
Jul 06, 2010
Releases
Version Released
0.7.1 patch
0.7.0 minor
0.6.3 patch
0.6.2 patch
0.6.1 patch
0.6.0 minor
0.5.5 patch
0.5.6 patch
0.5.4 patch
0.5.3 patch
0.5.2 patch
0.5.0 minor
0.4.4 patch
0.4.5 patch
0.4.3 patch
0.4.2 patch
0.4.1 patch
0.4.0 minor
0.3.2 patch
0.3.3 patch
0.3.1 patch
0.3.0 minor
0.2.0 minor
0.1.0 initial