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,204 of 187,950
Downloads: 581,922

Daily

Ranking: 7,876 of 187,922
Downloads: 268

Depended by

RankDownloadsName
8,598405,734erector
12,252192,084transit-ruby
15,178127,299minigit
17,67297,256sir_trevor_rails
19,37383,598sinatra-synchrony
22,59465,952active_mailer
27,17650,558active_column
28,93246,191erector-rails4
29,15545,694psql
32,66639,212vendorificator
32,92138,774tutum
38,23131,673docker_cloud
45,88524,937salesmachine-ruby
47,52523,743factor-connector-rackspace
51,65221,178translations
52,63920,653trickery
63,15716,128hamster-the-process-watcher
65,51515,323knife-dns-update
65,66815,266factor-connector-github
67,62414,628cant

Depends on

RankDownloadsName
141,104,271,527diff-lcs
319140,014,604sexp_processor
334131,456,007ruby_parser
1,69518,514,231ruby2ruby
7,848497,460predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch