First cut at GUI front end for doctest

I was inspired by the recent talk of putting together some sort of GUI front end for PyUnit, so I cobbled together a front end for doctest, my test program of choice. It does two things, first it wraps a siimple GUI front end around doctest so that one can select tests to run by selecting a file or package (in which case it tests the whole package). This isn't rocket science, but it's convenient. Second, it makes doctest more friendly to wxPython by running each test individually as part of OnIdle calls. While it's doing this it checks for wxYield calls in the doctests and if it finds one, and if only one file is being testsed, it pauses briefly to allow intereaction with the window.

Anyway, there's still a bunch of stull missing, but if anyone's interested feel free to play with and let me know what you think.

-tim

guitest.py (14 KB)