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,248 of 162,090
Downloads: 286,895

Daily

Ranking: 8,104 of 162,072
Downloads: 93

Depended by

RankDownloadsName
5,173295,985erector
8,707105,311transit-ruby
10,36578,146minigit
12,07461,420sir_trevor_rails
13,30553,445sinatra-synchrony
15,64942,490active_mailer
16,08540,862active_column
21,85026,642erector-rails4
23,26124,526tutum
26,24320,921salesmachine-ruby
27,10720,037vendorificator
33,96115,020docker_cloud
40,75111,924astronomer
43,73410,894factor-connector-rackspace
46,8159,947translations
48,6139,478cant
48,6689,464hamster-the-process-watcher
51,7678,709trickery
55,6377,863junkfood
55,6377,863junkfood

Depends on

RankDownloadsName
4536,609,463diff-lcs
22245,879,020sexp_processor
25142,901,007ruby_parser
9659,794,379ruby2ruby
5,681244,267predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf