[Edu-sig] testing interactive loops

Andre Roberge andre.roberge at gmail.com
Tue May 16 23:16:30 CEST 2006


On 5/16/06, Andrew Harrington <aharrin at luc.edu> wrote:
>
> We have been discussing testing in tutorials with doctest.
> There is one place that does not work, I think:  testing an interactive
> loop, which is a construction I teach in introductory programming.
>
> It appears that doctest cannot handle interactive input.  I would still
> like to be able to illustrate a session with interactive input and
> explicit output at the end, and check it automatically.
>
> Would this help?

http://mail.python.org/pipermail/python-list/2003-June/170627.html

André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/edu-sig/attachments/20060516/f2234079/attachment.htm 


More information about the Edu-sig mailing list