# \[ann\] difects 3.0.1

**URL:** <https://www.ruby-forum.com/t/ann-difects-3-0-1/192156>\
**Category:** Ruby\
**Created:** [July 25, 2010, 9:54am UTC](https://www.ruby-forum.com/t/ann-difects-3-0-1/192156 "2010-07-25T09:54:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [July 25, 2010, 9:54am UTC](https://www.ruby-forum.com/t/ann-difects-3-0-1/192156/1 "2010-07-25T09:54:55Z")

</div>

```
                          DIFECTS

            Assertion testing library for Ruby

           http://snk.tuxfamily.org/lib/difects/

```

DIFECTS is an assertion testing library for Ruby that  
emphasizes a simple assertion vocabulary, instant  
debuggability of failures, and flexibility in composing  
tests.

Version 3.0.1 (2010-07-25)

This release fixes a bug in Ruby 1.8, refactors the code, and  
better documents test hooks in the manual.

Bug fixes:

```
 * Ruby 1.8 does not pass value to Hash#delete_if(). All
   failure details were being omitted, instead of just the
   unavailable ones, as a result.

```

Housekeeping:

```
 * Refactor variable values hash calculation and pretty
   printing logic.

 * Put FailureDetails pretty-printing modules into their own
   namespace.

 * Raise error if closest insulated test cannot be not
   found.

 * Describe all test hooks and add example to manual, plus
   small revisions.
```
