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,716 of 197,051
Downloads: 628,646

Daily

Ranking: 9,521 of 197,010
Downloads: 146

Depended by

RankDownloadsName
9,212427,875erector
13,062199,801transit-ruby
16,056133,230minigit
18,193105,934sir_trevor_rails
20,27288,129sinatra-synchrony
20,75785,018yaesu
23,92068,123active_mailer
28,79451,766active_column
29,76449,264erector-rails4
31,21646,087psql
33,60741,657vendorificator
34,40440,350tutum
39,27033,657docker_cloud
47,84425,868salesmachine-ruby
48,53125,347factor-connector-rackspace
52,64422,633trickery
53,18522,323environmentor
53,48522,136translations
64,63417,059hamster-the-process-watcher
65,65816,690factor-connector-github

Depends on

RankDownloadsName
191,237,969,367diff-lcs
348152,873,380sexp_processor
371142,302,007ruby_parser
1,73521,487,197ruby2ruby
8,326535,026predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch