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,183 of 187,571
Downloads: 578,700

Daily

Ranking: 6,442 of 187,548
Downloads: 327

Depended by

RankDownloadsName
8,570404,373erector
12,212191,376transit-ruby
15,135127,014minigit
17,59897,096sir_trevor_rails
19,32983,227sinatra-synchrony
22,50565,778active_mailer
27,10250,419active_column
28,86146,007erector-rails4
29,01845,658psql
32,61239,031vendorificator
32,83838,646tutum
38,16931,511docker_cloud
45,67324,914salesmachine-ruby
47,51023,602factor-connector-rackspace
51,56021,097translations
52,70120,483trickery
63,10716,045hamster-the-process-watcher
65,47215,234knife-dns-update
65,74315,144factor-connector-github
67,47514,581cant

Depends on

RankDownloadsName
141,096,741,418diff-lcs
318139,384,189sexp_processor
331130,917,773ruby_parser
1,69418,409,351ruby2ruby
7,826495,036predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch