unit testing

Steven Bethard steven.bethard at gmail.com
Thu Oct 4 22:08:55 CEST 2007

danmcleran at yahoo.com wrote:
> On Oct 4, 1:02 pm, brad <byte8b... at gmail.com> wrote:
>> Does anyone else feel that unittesting is too much work? Not in general,
>> just the official unittest module for small to medium sized projects?
>  I actually do a lot of unit testing. I find it both annoying and
> highly necessary and useful.

+1 QOTW.

I feel exactly the same way.  Writing tests (whether you use unittest, 
doctest, py.test or whatever) is always a pain and a time sink. But 
writing those tests catches so many bugs that it's worth it for any code 
you expect to use more than twice. =)


More information about the Python-list mailing list