Tim Peters wrote:

> Equally true of #1, if you write doctest files separate from your
> code.

newer versions of doctest have more extensive support for this, but the old
trick of using doctest to test your *test programs* work remarkably well.

> In fact, it's standard practice there to write "tutorial doctest" files for a
> new feature before writing code to implement it.

another good practice is to add regression doctests for each verified bug,
*before* attempting to fix it.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to