[Python-3000] doctests vs. unittests (was Re: pimp; restructuring the standard library)

Guido van Rossum guido at python.org
Fri Jun 29 16:49:05 CEST 2007


If I have any say in it, unittest isn't going away (unless replaced by
something very similar, and doctest ain't it). Religion is all fine
and well, as long as there's room for other views. I personally find
using unit tests a lot easier than using doctest, for many of the
things I tend to do (and most of my co-workers at Google see it that
way, too).

That said, I hope that the doctest community will contribute a  better
way for the 2to3 tool to find and fix doctests; the -d option is too
cumbersome to use.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list