On 2007-09-25, Joel Hedlund <[EMAIL PROTECTED]> wrote: > First of all, thanks for all the input - it's appreciated. > >> Otherwise, three words: >> >> test driven development > > Do you also do this for all the little stuff, the small hacks > you just whip together to get a particular task done? My > impression is that doing proper unittests adds a lot of time to > development, and I'm thinking that this may be a low return > investment for the small programs.
For documentating and testing small hacks, try the doctest module. It integrates with Python's unit testing modules, so if you need to "graduate", it is simple to do so. -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list