RubyGems Navigation menu

wrong 0.5.3

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.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.7.1 - November 11, 2013 java (42,5 ko)
  2. 0.7.1 - November 11, 2013 (42,5 ko)
  3. 0.7.0 - November 23, 2012 java (42,5 ko)
  4. 0.7.0 - November 23, 2012 (42,5 ko)
  5. 0.6.3 - November 14, 2012 java (37,5 ko)
  6. 0.5.3 - July 09, 2011 (39 ko)
Voir toutes les versions (42)

Dépendances de Runtime (8):

diff-lcs ~> 1.1.2
file-tail ~> 1.0
ParseTree ~> 3.0
predicated >= 0.2.3
ruby2ruby ~> 1.2
ruby_parser ~> 2.0.4
sourcify >= 0.3.0

Propriétaires:

Auteurs:

  • Steve Conover, Alex Chaffee

Total de contrôle SHA 256:

39ae3d7ea4d215b12dec2a7922e38bca368161746c0442687ec999b7fc256195

Total de téléchargements 494 412

Pour cette version 3 059

License:

aucune

Version de Ruby requise: None

Liens: