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,275 of 189,104
Downloads: 588,592

Daily

Ranking: 11,794 of 189,083
Downloads: 73

Depended by

RankDownloadsName
8,689409,713erector
12,392193,313transit-ruby
15,333128,097minigit
17,85198,002sir_trevor_rails
19,51484,678sinatra-synchrony
22,79466,435active_mailer
27,42250,914active_column
29,09846,685erector-rails4
29,51645,797psql
32,74639,845vendorificator
33,16439,129tutum
38,26532,259docker_cloud
46,41025,005salesmachine-ruby
47,47124,213factor-connector-rackspace
51,92221,418translations
52,20121,257trickery
63,22816,397hamster-the-process-watcher
65,21415,694factor-connector-github
65,55515,587knife-dns-update
68,13214,729cant

Depends on

RankDownloadsName
161,127,823,526diff-lcs
325142,241,725sexp_processor
340133,358,163ruby_parser
1,70119,017,420ruby2ruby
7,933501,861predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch