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,703 of 196,721
Downloads: 625,770

Daily

Ranking: 8,433 of 196,694
Downloads: 113

Depended by

RankDownloadsName
9,183426,267erector
13,013199,285transit-ruby
16,024132,557minigit
18,152105,372sir_trevor_rails
20,24087,717sinatra-synchrony
20,65484,966yaesu
23,82268,000active_mailer
28,67051,729active_column
29,79048,878erector-rails4
31,08346,076psql
33,49941,571vendorificator
34,27740,285tutum
39,14533,591docker_cloud
47,63925,853salesmachine-ruby
48,41125,289factor-connector-rackspace
52,60122,525trickery
53,30922,108translations
54,98721,192environmentor
64,42717,036hamster-the-process-watcher
65,46816,662factor-connector-github

Depends on

RankDownloadsName
191,228,181,154diff-lcs
347151,885,747sexp_processor
367141,488,908ruby_parser
1,73921,203,501ruby2ruby
8,290532,612predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch