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,416
Downloads: 494,990

Daily

Ranking: 5,410 of 180,403
Downloads: 403

Depended by

RankDownloadsName
7,570376,085erector
11,037179,686transit-ruby
13,873118,853minigit
16,20691,229sir_trevor_rails
18,16476,262sinatra-synchrony
20,69162,793active_mailer
24,86048,357active_column
27,34942,305erector-rails4
30,83535,966tutum
30,93435,816vendorificator
36,62028,658docker_cloud
41,84324,230salesmachine-ruby
46,78920,881factor-connector-rackspace
51,16418,478translations
52,52617,816trickery
56,26916,301psql
61,16814,541hamster-the-process-watcher
63,57813,804knife-dns-update
63,79713,729astronomer
63,93013,687cant

Depends on

RankDownloadsName
8880,934,347diff-lcs
269116,013,753sexp_processor
293108,957,790ruby_parser
1,51515,508,448ruby2ruby
7,195420,885predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf