[Anygui-devel] Unit testing
Brought to you by:
mlh
From: Uriel <ur...@bi...> - 2004-04-15 03:26:05
|
Hi again, I decided to look again into this, I have reworked my framework; and now it's even easier to write tests, in many cases it's even "automatic", also taking advantage of this I have added a quite few new test and now the whole thing can be called from the command line with a parameter to set the backend... it's still far from complete, but starts to look like might be useful. On the down side, the whole thing is more messy, and I'm not sure if the OO approach I have taken is a good idea at all, I would prefer something more "procedural" or "functional"... Please let me know what you think, I have tried to run the tests with gtk, tk, and wx(pyqt in debian sid seems to be broken at the moment, and the curses backend didn't start), and already found a few bugs in the gtk backend, it seems that it doesn't support setting some parameters after widget creation and fails silently; in tk for some reason the Exit button doesn't work, will have to investigate... [Warning: the code is ugly and hacky, you have been warned ;)] http://www.binarydream.org/~uriel/anygui/anygui_utest_2004-04-15.tar.gz Best wishes uriel |