[ANN] Dfect 1.0.0

S

Suraj Kurapati

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] Dfect 1.1.0 0
[ANN] Dfect 2.0.0 (2010-03-21) 0
[ANN] Dfect 0.1.0 0
[ANN] Dfect 2.1.0 (2010-03-31) 0
[ANN] Dfect 2.2.0 0
[ANN] Dfect 1.0.1 0
[ANN] DIFECTS 3.0.0 1
[ANN] Inochi 1.0.0 0

Members online

No members online now.

Forum statistics

Threads
473,828
Messages
2,569,736
Members
45,518
Latest member
vlonesshirt

Latest Threads

Top