[ANNOUNCEMENT] Testing_DocTest-0.4.0 (beta) Released.

From: Date: Mon, 08 Jun 2009 09:53:45 +0000
Subject: [ANNOUNCEMENT] Testing_DocTest-0.4.0 (beta) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29879@lists.php.net to get a copy of this message
The new PEAR package Testing_DocTest-0.4.0 (beta) has been released at http://pear.php.net/. Release notes ------------- * fixed bug #14577 Unmatched code blocks.blocks (thanks kvz), * implemented feature request #15963: ability to include standalone doctest files (thanks to Sofia Cardita for the patch), * implemented feature request #15911: improved stats display, * implemented feature request #15928: added a "-t" option to run only specified tests. Package Info ------------ Testing_DocTest allows the developer to write unit tests directly in the <code></code> blocs of your functions, classes and class methods doc comments. It comes with a default runner (phpdt) that will parse all your <code></code> blocs and will run the extracted tests. Running tests is as simple as: $ phpdt /path/to/your/code There are several advantages in using Testing_DocTest: * it makes unit tests writing funnier, easier and quicker (there's no infrastructure to setup, you just install the package, write your code examples tests and you're done !); * it ensures that doc comments are up-to-date by verifying that all examples work as documented; * it enforces writing of tutorial documentation, liberally illustrated with input-output examples. Related Links ------------- Package home: http://pear.php.net/package/Testing_DocTest Changelog: http://pear.php.net/package/Testing_DocTest/download/0.4.0 Download: http://download.pear.php.net/package/Testing_DocTest-0.4.0.tgz Authors ------- David Jean Louis (lead)

« previous php.pear.general (#29879) next »