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: 5,080 of 158,606
Downloads: 259,083

Daily

Ranking: 5,094 of 158,578
Downloads: 166

Depended by

RankDownloadsName
4,863285,549erector
8,38397,889transit-ruby
10,27670,480minigit
11,88756,494sir_trevor_rails
12,51352,506sinatra-synchrony
14,93341,305active_mailer
15,16840,371active_column
20,88826,052erector-rails4
22,03424,228tutum
25,99219,645vendorificator
27,04518,735salesmachine-ruby
33,57414,310docker_cloud
42,52210,632astronomer
42,87010,529factor-connector-rackspace
45,4369,746translations
47,2109,292hamster-the-process-watcher
47,2739,275cant
50,5138,479trickery
53,9577,724junkfood
53,9577,724junkfood

Depends on

RankDownloadsName
4504,538,732diff-lcs
23337,752,828sexp_processor
24835,456,390ruby_parser
8889,143,659ruby2ruby
5,551216,229predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf