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,954 of 184,150
Downloads: 535,374

Daily

Ranking: 10,049 of 184,132
Downloads: 77

Depended by

RankDownloadsName
8,158389,600erector
11,679185,004transit-ruby
14,642121,663minigit
16,84194,933sir_trevor_rails
18,83879,373sinatra-synchrony
21,56364,560active_mailer
26,06049,245active_column
28,17244,092erector-rails4
29,55441,171psql
31,77537,447vendorificator
31,93137,175tutum
37,57629,886docker_cloud
43,92024,454salesmachine-ruby
47,50621,982factor-connector-rackspace
50,60120,147translations
53,24618,771trickery
62,63715,114hamster-the-process-watcher
64,64414,470knife-dns-update
65,61914,143cant
65,62214,142factor-connector-github

Depends on

RankDownloadsName
12977,904,306diff-lcs
292130,850,374sexp_processor
307122,975,045ruby_parser
1,62916,958,246ruby2ruby
7,516458,098predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch