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,294 of 189,654
Downloads: 591,102

Daily

Ranking: 7,584 of 189,628
Downloads: 209

Depended by

RankDownloadsName
8,713410,512erector
12,425193,653transit-ruby
15,368128,429minigit
17,89698,137sir_trevor_rails
19,55484,799sinatra-synchrony
22,84066,500active_mailer
27,48550,951active_column
29,14646,783erector-rails4
29,59345,821psql
32,75939,974vendorificator
33,22039,197tutum
38,30432,330docker_cloud
46,45425,049salesmachine-ruby
47,51524,267factor-connector-rackspace
51,97521,460translations
52,20821,334trickery
63,26216,435hamster-the-process-watcher
65,22515,742factor-connector-github
65,58615,622knife-dns-update
68,23414,744cant

Depends on

RankDownloadsName
161,135,031,764diff-lcs
329142,888,242sexp_processor
343133,891,556ruby_parser
1,71019,140,246ruby2ruby
7,946503,973predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch