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,399 of 192,692
Downloads: 606,239

Daily

Ranking: 6,960 of 192,666
Downloads: 90

Depended by

RankDownloadsName
8,867416,046erector
12,742195,387transit-ruby
15,676130,317minigit
18,020101,474sir_trevor_rails
19,91185,674sinatra-synchrony
23,33167,164active_mailer
28,04951,352active_column
29,55847,524erector-rails4
30,26645,942psql
33,11440,652vendorificator
33,69739,674tutum
38,74932,818docker_cloud
46,68125,614salesmachine-ruby
47,90624,717factor-connector-rackspace
52,43721,826trickery
52,54421,765translations
63,76616,691hamster-the-process-watcher
65,04216,227environmentor
65,33016,129factor-connector-github
65,94815,913knife-dns-update

Depends on

RankDownloadsName
181,170,756,802diff-lcs
336146,433,788sexp_processor
351136,875,182ruby_parser
1,72619,820,722ruby2ruby
8,028517,264predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch