Re: Interim release?

Uriel <[email protected]> Tue, 13 Apr 2004 07:27:00 +0100
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
hi!

Thanks for your prompt reply, and sorry for the delay...

On Sun, Apr 11, 2004 at 11:15:54PM +0200, Magnus Lie Hetland wrote:
> Right -- that's exactly the kind of thing I started to write (you can
> find it in my sandbox directory in the nondist package in CVS). But I
> didn't really get anywhere (just started to fiddle with it) -- if
> you're working on something like this, keep it up!
I think to recall taking a look at it, but for some reason I can't
recall I didn't like it, but maybe I'm thinking of something else, I
will take a look again...

 
> Yes. I thought about another possibility for a while, that would work
> even if Anygui didn't really work at all. (It would be good to be able
> to run the tests even if, say, anygui.Window has a bug in it, right?)
> That was using a local HTTP server to display successive HTML
> documents describing the test, trying to launch the test, and having
> the Pass/Fail thing being done through (local) CGI. Just an idea. Some
> early code for this, too, can be found in my sandbox directory.
I think the option with "Pass" and "Fail" buttons seems the simples, I
personally don't like the idea of running a whole web app for the rare
cases when the GUI tests wont work at all, which should be so critical
that probably would make running any test quite pointless... also, IMHO
the simpler the system is, the better, and most important of all, it
should be really easy to run and to write new test cases...

 
> > 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 =)
> 
> Who knows. Might be a good idea :)
Ok, I think now I remember why I did that, it's a way to test "dynamic"
update of attributes, for example to test if you can change the position
of a button once the app is running instead of passing it to the
constructor; I guess that some kind of threading with a timer or
something might work, but I hate threads :) (but I love Limbo/Alef/Plan9 style
threading: http://plan9.bell-labs.com/who/rsc/thread/ ;))

 
> > I have no clue if this is really a good idea, but you might find it
> > useful: http://www.binarydream.org/~uriel/anygui_utest/
> Looks good.
Did you take a look at the code? do you really think it's a good idea?
dunno, I wasn't very sure, but if you say it looks good... :)
 
> Would you be interested in trying to clean up the tests in the
> distribution, using this framework? 
That was my original plan, I'm really busy at the moment, in the middle
of deploying one system, with a deadline for another... the typical ;)
But I will give it a try next time I have some spare time to play with
it... just don't hold the release for it! just tar the whole thing and
put it up, the sooner the better!

Oh, and remember to announce it in the home page so the project doesn't
look so dead ;) BTW, who takes care of the web site? I'd say it could
use some updating and clean up, I might give that a try too...

> (If you want check-in privileges, just email me your SourceForge username.)
hmmmm... if I do some work I will probably import the whole thing into
arch, cvs really gets to my nerves :) But as it's so self contained it
should be easy to merge...

Best regards

uriel


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click