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,880 of 183,107
Downloads: 525,195

Daily

Ranking: 8,870 of 183,092
Downloads: 116

Depended by

RankDownloadsName
8,049385,889erector
11,486183,768transit-ruby
14,449120,800minigit
16,66194,115sir_trevor_rails
18,63378,551sinatra-synchrony
21,32864,143active_mailer
25,72549,024active_column
27,91843,657erector-rails4
31,50337,053vendorificator
31,61236,870tutum
33,09134,746psql
37,28429,585docker_cloud
43,39524,376salesmachine-ruby
47,24921,727factor-connector-rackspace
50,61419,761translations
53,04618,529trickery
62,21814,975hamster-the-process-watcher
64,32914,309knife-dns-update
65,18514,024cant
65,32413,973factor-connector-github

Depends on

RankDownloadsName
11950,064,809diff-lcs
280128,448,767sexp_processor
295120,744,112ruby_parser
1,59916,576,659ruby2ruby
7,365448,661predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch