What is a good way of having several versions of a python module installed in parallell?

Neil Cerutti horpner at yahoo.com
Thu Sep 27 09:24:54 EDT 2007


On 2007-09-25, Joel Hedlund <joel.hedlund at gmail.com> 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



More information about the Python-list mailing list