unit testing

Ryan Ginstrom software at ginstrom.com
Fri Oct 5 03:08:18 CEST 2007

> On Behalf Of Bruno Desthuilliers
> Or py.test or nose, which are both more complete than doctest 
> and more pythonics than the unittest module.

I second the recommendation of nose. It makes it fantastically easy to write
and run unit tests.

Also, in my experience unit tests help reduce bugs in the development
process, but their main benefits are making code more modular (writing for
testing tends to reduce dependencies) and easier to modify (less fear in

Ryan Ginstrom

More information about the Python-list mailing list