[python-uk] Unit Testing Framework

John J Lee jjl at pobox.com
Wed Mar 24 11:34:18 EST 2004


On Wed, 24 Mar 2004, Francis Moore wrote:
> From: Chris Withers [mailto:lists at simplistix.co.uk]
[re doctest]
> > Bah humbug.
[...]
> > I believe code should be in code, even if it is testing code.
>
> You're right. I wouldn't want to use doctest to replace a proper set of
> unit tests.  However, for example code or a quick hack, it's ideal.
[...]

Tim says it's designed for testing documentation, not for testing code
(though maybe he's been persuaded it's useful for code too, by now...).


John



More information about the python-uk mailing list