Re: [Anygui-devel] Interim release?
Brought to you by:
mlh
From: Uriel <ur...@bi...> - 2004-04-11 21:02:44
|
Hi I have been following this project for some time, and I think it's great to have a pythonic GUI framework, I was hopping to do some work in anygui for my own projects, but other projects that didn't need it took priority, still I hope to contribute something... > What the heck -- why don't we just release? Exactly what I thought while reading the previous thread, you lose nothing by making a release... just call it experimental-pre-alpha or whatever, and if someone complains, screw them... at least it get something out of the door for people to try, test and play with. You mentioned in another email that there is a need to have a better way to run tests; while I was evaluating anygui some months ago, I tried to run the tests in the test/ directory, but it didn't really work very well, they are not very complete in their coverage, and a bit cumbersome to run... so just to try anygui I wrote a small testing framework using pyunit, the "framework" itself is ~50 lines, and I wrote a few tests for Button in another ~50 lines. The idea was, IIRC, that each test should be isolated, and that due to the nature of GUIs, most of the evaluations had to be done by a human(to determine if what was supposed to show up in the screen actually did), so every test runs inside a frame and shows 3 buttons after the test have been run: Fail, Pass, Exit, the tests are run one after the other, and the user only has to click the button depending on his evaluating of the results in the screen. (probably a label explaining what one should expect from each test should be added) The tests can also be "deferred", when testing something at "runtime", a button "Run" is presented, otherwise the test is run automatically, I'm not sure now why I did this, but it made sense at the time =) I have no clue if this is really a good idea, but you might find it useful: http://www.binarydream.org/~uriel/anygui_utest/ Thanks for your great work and best wishes uriel P.S.: Hi laura, I'm also a (lurking) 9fan ;) |