Chris Mellon wrote:

> Doctest is commonly given as the alternative to people who feel this
> way. Personally, I find that anything worth testing is worth having a
> test directory and independent unit tests for.

I like keeping my tests separate as well, and doctest does allow this, using
doctest.testfile(). That is, despite the name, doctests do not necessarily
need to appear in docstrings :-)

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

Reply via email to