Forum: Ruby [ANN] Dfect 1.0.0

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
79f9616c279f40ef953f366dcfe38dc8?d=identicon&s=25 Suraj Kurapati (sunaku)
on 2009-05-04 10:26
                            Dfect 1.0.0

                Assertion testing library for Ruby

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

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

   Dfect is exciting because:

     * It has only 5 methods to remember: D F E C T.

     * It lets you debug assertion failures interactively.

     * It keeps a detailed report of assertion failures.

     * It lets you nest tests and execution hooks.

     * It is implemented in a mere 479 lines of code.

Version 1.0.0 (2009-05-03)

   This release improves default choices, adds emulation layers
   to mimic other testing libraries, and fixes some bugs.

   Incompatible changes

     * The :debug option is now enabled by default and is no
       longer linked to the value of $DEBUG.

     * Dfect.run() now appends to previous results by default.
       This behavior can be disabled by passing false to the
       method.

   New features

     * Add emulation layers to mimic other testing libraries:
          + dfect/unit -- Test::Unit
          + dfect/mini -- Minitest
          + dfect/spec -- RSpec

   Bug fixes

     * Do not blindly replace Class#to_yaml; it might be fixed
       someday.

   Housekeeping

     * Add [1]Motivation section in user manual to promote
       interactive debugging.

     * Add brief [2]History of this project's inception.

     * Remove redundant assertions for F!() and T!() methods in
       test suite.

     * Add copyright notice at the top of every file.

References

   1. http://snk.tuxfamily.org/lib/dfect/#Motivation
   2. http://snk.tuxfamily.org/lib/dfect/#History
This topic is locked and can not be replied to.