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,030 of 184,896
Downloads: 541,119

Daily

Ranking: 13,688 of 184,880
Downloads: 10

Depended by

RankDownloadsName
8,260392,001erector
11,787185,984transit-ruby
14,692122,916minigit
16,95395,499sir_trevor_rails
18,95779,790sinatra-synchrony
21,74164,748active_mailer
26,27049,344active_column
28,32244,270erector-rails4
28,55943,728psql
31,92037,632vendorificator
32,10237,307tutum
37,78430,008docker_cloud
44,08624,555salesmachine-ruby
47,66022,092factor-connector-rackspace
50,77920,240translations
53,42818,865trickery
62,88815,172hamster-the-process-watcher
64,84814,540knife-dns-update
65,86114,207factor-connector-github
65,92014,184cant

Depends on

RankDownloadsName
121,002,733,456diff-lcs
297132,579,344sexp_processor
313124,642,973ruby_parser
1,65117,247,667ruby2ruby
7,691463,463predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf