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,169 of 187,224
Downloads: 574,305

Daily

Ranking: 8,290 of 187,196
Downloads: 216

Depended by

RankDownloadsName
8,536402,549erector
12,165190,879transit-ruby
15,070126,733minigit
17,55496,816sir_trevor_rails
19,30582,702sinatra-synchrony
22,41865,652active_mailer
27,01350,244active_column
28,78145,873erector-rails4
28,89645,609psql
32,54738,866vendorificator
32,78338,491tutum
38,18431,305docker_cloud
45,48524,879salesmachine-ruby
47,53723,429factor-connector-rackspace
51,42921,016translations
52,99120,183trickery
63,15415,920hamster-the-process-watcher
65,40615,148knife-dns-update
65,90514,989factor-connector-github
67,26014,542cant

Depends on

RankDownloadsName
141,088,286,165diff-lcs
315138,695,654sexp_processor
329130,316,618ruby_parser
1,69018,298,198ruby2ruby
7,813491,998predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch