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,317 of 190,317
Downloads: 595,003

Daily

Ranking: 8,534 of 190,280
Downloads: 206

Depended by

RankDownloadsName
8,747411,559erector
12,463194,120transit-ruby
15,424128,718minigit
17,96198,426sir_trevor_rails
19,60985,095sinatra-synchrony
22,91066,708active_mailer
27,57951,067active_column
29,21246,963erector-rails4
29,72645,850psql
32,82240,135vendorificator
33,31039,296tutum
38,37032,462docker_cloud
46,51925,153salesmachine-ruby
47,54524,392factor-connector-rackspace
52,13121,512translations
52,20621,467trickery
63,31516,512hamster-the-process-watcher
65,13415,857factor-connector-github
65,55315,713knife-dns-update
68,41614,775cant

Depends on

RankDownloadsName
161,143,498,058diff-lcs
332143,758,587sexp_processor
344134,632,370ruby_parser
1,71619,296,349ruby2ruby
7,964507,335predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch