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,717 of 197,085
Downloads: 628,845

Daily

Ranking: 7,938 of 197,066
Downloads: 108

Depended by

RankDownloadsName
9,214427,961erector
13,067199,809transit-ruby
16,060133,257minigit
18,193105,986sir_trevor_rails
20,28288,161sinatra-synchrony
20,76685,018yaesu
23,92168,151active_mailer
28,80051,771active_column
29,76849,291erector-rails4
31,24346,087psql
33,62841,658vendorificator
34,43140,350tutum
39,30033,657docker_cloud
47,89625,868salesmachine-ruby
48,55425,374factor-connector-rackspace
52,70622,634trickery
52,82022,574environmentor
53,55822,136translations
64,75217,059hamster-the-process-watcher
65,73016,715factor-connector-github

Depends on

RankDownloadsName
191,238,550,147diff-lcs
349152,925,389sexp_processor
371142,344,168ruby_parser
1,73521,506,655ruby2ruby
8,329535,181predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch