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,236 of 188,368
Downloads: 584,627

Daily

Ranking: 12,735 of 188,354
Downloads: 58

Depended by

RankDownloadsName
8,634407,390erector
12,302192,688transit-ruby
15,236127,669minigit
17,75997,493sir_trevor_rails
19,43284,095sinatra-synchrony
22,69366,179active_mailer
27,29150,729active_column
29,00946,436erector-rails4
29,30345,749psql
32,68339,532vendorificator
33,00438,971tutum
38,23331,952docker_cloud
46,13124,971salesmachine-ruby
47,50223,964factor-connector-rackspace
51,71921,323translations
52,45020,933trickery
63,23116,241hamster-the-process-watcher
65,49915,459factor-connector-github
65,51915,453knife-dns-update
67,81114,690cant

Depends on

RankDownloadsName
151,114,940,560diff-lcs
325140,938,247sexp_processor
335132,246,381ruby_parser
1,70118,680,715ruby2ruby
7,891499,197predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch