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,681 of 196,106
Downloads: 623,048

Daily

Ranking: 11,834 of 196,079
Downloads: 46

Depended by

RankDownloadsName
9,155424,322erector
12,971198,817transit-ruby
15,977132,147minigit
18,138104,954sir_trevor_rails
20,20687,336sinatra-synchrony
20,56684,947yaesu
23,75467,967active_mailer
28,58151,718active_column
29,79048,623erector-rails4
30,97246,065psql
33,40241,542vendorificator
34,18940,258tutum
39,03333,574docker_cloud
47,52925,841salesmachine-ruby
48,30625,273factor-connector-rackspace
52,55122,476trickery
53,17822,096translations
56,36820,389environmentor
64,26817,030hamster-the-process-watcher
65,36616,640factor-connector-github

Depends on

RankDownloadsName
191,218,111,982diff-lcs
346150,971,465sexp_processor
365140,718,081ruby_parser
1,73720,955,608ruby2ruby
8,268530,394predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch