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: 6,904 of 183,471
Downloads: 528,728

Daily

Ranking: 17,333 of 183,459
Downloads: 10

Depended by

RankDownloadsName
8,080387,217erector
11,548184,225transit-ruby
14,518121,022minigit
16,73194,401sir_trevor_rails
18,71078,835sinatra-synchrony
21,40464,274active_mailer
25,83249,093active_column
28,01243,803erector-rails4
31,28437,724psql
31,59537,182vendorificator
31,72736,963tutum
37,39429,686docker_cloud
43,56624,396salesmachine-ruby
47,36621,808factor-connector-rackspace
50,57519,910translations
53,12418,605trickery
62,38415,018hamster-the-process-watcher
64,45114,360knife-dns-update
65,34514,065cant
65,44014,028factor-connector-github

Depends on

RankDownloadsName
12959,557,723diff-lcs
282129,345,653sexp_processor
296121,575,718ruby_parser
1,60616,714,015ruby2ruby
7,394451,981predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf