[Edu-sig] How to introduce test-driven development?

Kent Johnson kent37 at tds.net
Fri Aug 20 12:42:50 CEST 2004


Thanks for the suggestion! I'll have to play around with doctest myself, I have never used it.

BTW the course is open to the public. Anyone in the vicinity of Merrimack, NH, US who wants to learn Python, go to http://www.merrimack.k12.nh.us/ to register!


> From: Peter Fröhlich <phf at cs.ucr.edu>
> Date: 2004/08/19 Thu PM 11:45:46 EDT
> To: Kent Johnson <kent37 at tds.net>
> CC: <edu-sig at python.org>
> Subject: Re: [Edu-sig] How to introduce test-driven development?
> Hi all!
> On Aug 19, 2004, at 18:43, Kent Johnson wrote:
> > I am going to be teaching introductory Python programming in an adult 
> > education program this fall. (Finally! I wanted to do this in the 
> > spring but it didn't work out.) I want to introduce the students to 
> > unittest and test-first programming but I am not sure when and how to 
> > do this.
> I'd suggest introducing doctest instead of pyunit. It's simpler, no 
> classes, just like the interpreter, etc. Worked well for me when I 
> introduced it to my students.
> BTW, please be sure to let the list know how your course is going. I am 
> planning to introduce some Python in an (essentially) social science 
> class next year. :-)
> Peter
> --
> Peter H. Froehlich <><><><><><> http://www.cs.ucr.edu/~phf/
> OpenPGP: D465 CBDD D9D2 0D77 C5AF  353E C86C 2AD9 A6E2 309E

More information about the Edu-sig mailing list