[Tutor] unit testing

Kirby Urner urnerk@qwest.net
Mon, 17 Sep 2001 09:31:02 -0700


At 09:37 AM 9/17/2001 +0100, alan.gauld@bt.com wrote:

>I actually prefer this approach for formal testing because
>its easy to do regression testing using text files for
>input/output
>
>Alan G

Sure if you like.  You know about the shell option but
prefer this other way.

I think many beginners waste time doing less formal
testing using raw_input loops that would be more easily
accomplished in shell mode.

Once you get into formal testing, there's a utility
called PyUnit that some people like.  It has an optional
GUI front end, and there's talk of merging that into
IDLE at some point (both are Tk apps).

http://www.onlamp.com/lpt/a/python/2001/03/28/pythonnews.html

Kirby