[Pyunit-interest] New GUI Version
Brought to you by:
purcell
From: Nathan H. <na...@he...> - 2000-06-05 03:42:03
|
Hi all. I made a new version of the wxPython gui. Here's the new features: * The modules are guaranteed to be reloaded on every test, all of them. * As the test is running the numbers of how many test, failures, and errors have occured will be updated. I'm currently working on making the GUI take test names input in the flexible manner that TextTestRunner does. I'll make it totally compatible with the unittest.py as Steve had it. That's next. I'd also like to have the gauge update itself too, but I haven't played with the code that gets the total number of tests yet. I'm not sure the total number of tests is available before they are all run... The module reloading is achieved by creating a new process of the gui which displays nothing and relays results to the GUI through a pipe. I know Steve didn't like this way, but well it _is_ working. I'd be happy if any could test it or make (more) suggestions. It's bad code, so any patches (if you feel so inclined) are welcome. I've attached the gui as gui.py. -- Nathan Heagy ------------ Blow Your Beef Away http://cowcomics.com |