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: 5,175 of 160,630
Downloads: 276,061

Daily

Ranking: 4,597 of 160,599
Downloads: 178

Depended by

RankDownloadsName
5,037292,744erector
8,574102,235transit-ruby
10,27975,315minigit
11,95759,503sir_trevor_rails
12,95753,003sinatra-synchrony
15,40141,724active_mailer
15,74040,504active_column
21,50826,282erector-rails4
22,72324,388tutum
26,10820,377salesmachine-ruby
26,65719,847vendorificator
33,97714,605docker_cloud
40,54811,688astronomer
43,59110,656factor-connector-rackspace
46,2259,851translations
48,1189,363hamster-the-process-watcher
48,2319,336cant
51,2108,599trickery
54,9777,781junkfood
54,9777,781junkfood

Depends on

RankDownloadsName
4521,894,588diff-lcs
23142,171,857sexp_processor
24939,533,523ruby_parser
9369,522,676ruby2ruby
5,611233,393predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf