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: 7,150 of 186,947
Downloads: 571,503

Daily

Ranking: 9,896 of 186,938
Downloads: 80

Depended by

RankDownloadsName
8,507400,855erector
12,134190,007transit-ruby
15,001126,368minigit
17,48396,506sir_trevor_rails
19,29382,025sinatra-synchrony
22,28965,538active_mailer
26,85150,124active_column
28,69845,548psql
28,75045,411erector-rails4
32,38038,722vendorificator
32,73038,126tutum
38,22830,896docker_cloud
45,11524,854salesmachine-ruby
47,67523,052factor-connector-rackspace
51,42020,770translations
53,31619,776trickery
63,17615,719hamster-the-process-watcher
65,49914,945knife-dns-update
65,75414,861factor-connector-github
67,07314,426cant

Depends on

RankDownloadsName
141,080,466,325diff-lcs
312137,997,192sexp_processor
330129,704,328ruby_parser
1,68818,187,696ruby2ruby
7,788490,506predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch