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,253 of 188,757
Downloads: 586,997

Daily

Ranking: 6,584 of 188,742
Downloads: 304

Depended by

RankDownloadsName
8,655408,877erector
12,342193,000transit-ruby
15,285127,889minigit
17,81897,722sir_trevor_rails
19,46384,522sinatra-synchrony
22,74966,323active_mailer
27,36250,861active_column
29,06346,579erector-rails4
29,42545,776psql
32,70839,720vendorificator
33,09239,083tutum
38,21832,159docker_cloud
46,31424,983salesmachine-ruby
47,47924,117factor-connector-rackspace
51,83321,386translations
52,20721,169trickery
63,19816,344hamster-the-process-watcher
65,28215,611factor-connector-github
65,53215,532knife-dns-update
68,01714,709cant

Depends on

RankDownloadsName
161,120,959,856diff-lcs
325141,545,018sexp_processor
338132,769,634ruby_parser
1,70218,874,706ruby2ruby
7,910500,616predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch