Re: [Tutor] testing: doctest and unittest

2005-11-11 Thread Kent Johnson
Kent Johnson wrote: > Alex Hunsley wrote: >>Where do you seasoned pythonites see unittest and doctest in relation to >>each other? Do you only use one or the other? > > > I think it is mostly personal preference. Doctest is nice where you > create examples for others, maybe not so nice where you

Re: [Tutor] testing: doctest and unittest

2005-11-08 Thread Kent Johnson
Alex Hunsley wrote: > Regards testing, I've been playing with both the unittest > (http://pyunit.sourceforge.net/pyunit.html) and doctest > (http://docs.python.org/lib/module-doctest.html). I was wondering what > peoples thoughts were on the effectiveness and convenience of one versus > the oth

Re: [Tutor] testing: doctest and unittest

2005-11-08 Thread Alex Hunsley
Colin J. Williams wrote: > Alex Hunsley wrote: > >> Regards testing, I've been playing with both the unittest >> (http://pyunit.sourceforge.net/pyunit.html) and doctest >> (http://docs.python.org/lib/module-doctest.html). I was wondering >> what peoples thoughts were on the effectiveness and co

Re: [Tutor] testing: doctest and unittest

2005-11-08 Thread Colin J. Williams
Alex Hunsley wrote: >Regards testing, I've been playing with both the unittest >(http://pyunit.sourceforge.net/pyunit.html) and doctest >(http://docs.python.org/lib/module-doctest.html). I was wondering what >peoples thoughts were on the effectiveness and convenience of one versus >the other.