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,293 of 189,628
Downloads: 590,893

Daily

Ranking: 9,194 of 189,601
Downloads: 98

Depended by

RankDownloadsName
8,711410,461erector
12,424193,649transit-ruby
15,365128,406minigit
17,89398,131sir_trevor_rails
19,55084,794sinatra-synchrony
22,83566,498active_mailer
27,47950,950active_column
29,14246,776erector-rails4
29,58645,821psql
32,76139,968vendorificator
33,21839,193tutum
38,30432,326docker_cloud
46,44825,049salesmachine-ruby
47,51724,262factor-connector-rackspace
51,97021,460translations
52,20421,331trickery
63,25916,433hamster-the-process-watcher
65,22715,738factor-connector-github
65,58915,620knife-dns-update
68,22714,744cant

Depends on

RankDownloadsName
161,134,536,488diff-lcs
328142,841,652sexp_processor
343133,853,269ruby_parser
1,71019,131,549ruby2ruby
7,944503,796predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch