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,345 of 191,455
Downloads: 598,457

Daily

Ranking: 10,024 of 191,429
Downloads: 103

Depended by

RankDownloadsName
8,788412,849erector
12,503194,430transit-ruby
15,474129,123minigit
17,96099,047sir_trevor_rails
19,67085,243sinatra-synchrony
22,99466,830active_mailer
27,67351,142active_column
29,29447,075erector-rails4
29,83345,884psql
32,88440,256vendorificator
33,39239,383tutum
38,45132,550docker_cloud
46,26725,463salesmachine-ruby
47,60724,480factor-connector-rackspace
52,17321,601translations
52,25621,546trickery
63,38516,566hamster-the-process-watcher
65,12015,940factor-connector-github
65,58915,776knife-dns-update
68,57214,804cant

Depends on

RankDownloadsName
161,152,675,945diff-lcs
332144,659,022sexp_processor
348135,388,391ruby_parser
1,71819,470,341ruby2ruby
7,989510,392predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf