Categories: None [Edit]

wrong

https://rubygems.org/gems/wrong
https://github.com/sconover/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.

Total

Ranking: 6,720 of 180,392
Downloads: 495,325

Daily

Ranking: 7,132 of 180,379
Downloads: 169

Depended by

RankDownloadsName
7,574376,207erector
11,032179,748transit-ruby
13,870118,867minigit
16,20691,254sir_trevor_rails
18,15076,305sinatra-synchrony
20,67962,805active_mailer
24,85848,363active_column
27,32842,333erector-rails4
30,83235,976tutum
30,92635,830vendorificator
36,59928,672docker_cloud
41,84124,232salesmachine-ruby
46,76920,897factor-connector-rackspace
51,13418,491translations
52,50917,824trickery
55,84816,469psql
61,13214,550hamster-the-process-watcher
63,53613,814knife-dns-update
63,78413,730astronomer
63,91113,690cant

Depends on

RankDownloadsName
8881,537,868diff-lcs
269116,113,965sexp_processor
293109,050,257ruby_parser
1,51515,516,264ruby2ruby
7,195421,176predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf