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,767 of 198,430
Downloads: 633,571

Daily

Ranking: 9,948 of 198,401
Downloads: 148

Depended by

RankDownloadsName
9,288430,416erector
13,168200,561transit-ruby
16,174134,045minigit
18,285106,810sir_trevor_rails
20,45488,448sinatra-synchrony
20,93485,116yaesu
24,07068,351active_mailer
29,05751,845active_column
29,92749,587erector-rails4
31,50946,146psql
33,86841,774vendorificator
34,67340,455tutum
39,52333,784docker_cloud
48,23125,926salesmachine-ruby
48,82425,485factor-connector-rackspace
50,04624,613environmentor
52,92722,775trickery
53,88522,213translations
65,11917,117hamster-the-process-watcher
66,03716,787factor-connector-github

Depends on

RankDownloadsName
191,259,488,785diff-lcs
353155,056,779sexp_processor
377144,037,655ruby_parser
1,73022,022,972ruby2ruby
8,373539,488predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch