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,583 of 193,756
Downloads: 612,991

Daily

Ranking: 8,460 of 193,649
Downloads: 179

Depended by

RankDownloadsName
9,063418,612erector
12,843196,436transit-ruby
15,791130,991minigit
18,048102,960sir_trevor_rails
20,06086,059sinatra-synchrony
20,32184,418yaesu
23,48367,434active_mailer
28,23151,478active_column
29,70347,734erector-rails4
30,50545,989psql
33,22540,938vendorificator
33,85739,876tutum
38,80533,129docker_cloud
47,05725,638salesmachine-ruby
48,00524,931factor-connector-rackspace
52,42122,070trickery
52,74621,877translations
61,56517,710environmentor
63,83516,832hamster-the-process-watcher
65,19316,348factor-connector-github

Depends on

RankDownloadsName
181,189,100,090diff-lcs
340148,264,632sexp_processor
357138,412,196ruby_parser
1,72620,234,544ruby2ruby
8,202522,737predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch