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,442 of 193,214
Downloads: 609,652

Daily

Ranking: 9,018 of 193,188
Downloads: 98

Depended by

RankDownloadsName
8,941417,412erector
12,798195,887transit-ruby
15,743130,602minigit
18,023102,292sir_trevor_rails
20,00885,872sinatra-synchrony
20,24184,337yaesu
23,41367,363active_mailer
28,14851,430active_column
29,60547,701erector-rails4
30,40245,963psql
33,19040,802vendorificator
33,77939,796tutum
38,79632,991docker_cloud
46,89825,627salesmachine-ruby
47,96124,844factor-connector-rackspace
52,43821,954trickery
52,63621,847translations
63,43416,922environmentor
63,85316,759hamster-the-process-watcher
65,24116,247factor-connector-github

Depends on

RankDownloadsName
181,179,970,052diff-lcs
339147,365,183sexp_processor
354137,649,170ruby_parser
1,72520,023,185ruby2ruby
8,051520,176predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch