[Monetdb-developers] Tests for XQuery admin GUI (-functionality)

Ying Zhang Y.Zhang at cwi.nl
Thu Jul 3 14:04:19 CEST 2008


Hi Stefan,

Sure,  I'm working on this.

Jennie


On Wed, Jul 02, 2008 at 08:33:53PM +0200, Stefan Manegold wrote:
> Jennie,
> 
> with the conference trip, vacation and deadline belonging to the past,
> would you have time to have a look at potential (non-interactive) tests that
> test the MonetDB/XQuery + XRPC functionality as required by the
> administrative GUI?
> 
> Stefan
> 
> On Thu, Jun 19, 2008 at 09:25:30AM +0200, Stefan Manegold wrote:
> > On Thu, Jun 19, 2008 at 08:11:21AM +0200, Ying Zhang wrote:
> > > Hi Stefan,
> > > 
> > > There are no tests yet for the functionalities of the admin GUI and I  
> > > agree that there is an urgent need to add them.
> > > One that can be easily done is adding tests containing XQuery queries  
> > > that call the admin functions over XRPC.  This way, it is slightly  
> > > easier to know in which part the problem is, if things go wrong.
> > > 
> > > Another possibility might be to add a small (C) program that sends the  
> > > same request messages as what the admin interface does, and check if  
> > > the response messages are as expected.
> > > 
> > > The reason that we still don't have tests for the admin GUI is that I  
> > > really don't know how to mimic/trigger the 'click' actions in  
> > > (different) web browsers and check if the results are expected.  So,  
> > > if anyone has an idea how to test the admin GUI on different OS-s, on  
> > > different (versions of) web browsers, I would love to know.
> > 
> > I could not think of s simple way to simulate web browser clicks,
> > either (well, there are tools that, e.g., record and replay interactive
> > sessions, but they do no easily fit into our testing environment),
> > but since each click results in a request sent to the server via XRPC,
> > using scripts and/or (C-) programs that send all relevant/used requests to
> > a server via XRPC and test the correctness of the result (by simply dumping
> > it to stdout or into a file and have Mtest/Mdiff check it as usually), would
> > indeed be a good starting point, and possibly even "sufficient" for the time
> > being.
> > 
> > 
> > > > OPEN:
> > > >
> > > > [ 1899258 ] PF: Error message with Administrative Console
> > > > https://sourceforge.net/tracker/index.php?func=detail&aid=1899258&group_id=56967&atid=482468
> > > 
> > > The problem is caused by a bug in libxml2 version 2.6.31.  Since a new  
> > > version of libxml2 has been released, this problem is solved (tested  
> > > by the demo).  I think we can close this bug.  What would be a proper  
> > > resolution for this bug, fixed/invalid/out-of-date?
> > 
> > out-of-date seems reasonable to me.
> > 
> > Stefan
> > 
> > > 
> > > Regards,
> > > 
> > > Jennie
> > > 
> > > 
> > > 
> > > 
> > > > [ 1989573 ] no collections in db while collections do exist
> > > > https://sourceforge.net/tracker/index.php?func=detail&aid=1989573&group_id=56967&atid=482468
> > > >
> > > > [ 1990815 ] backup creates 8.5GB data from 78MB database
> > > > https://sourceforge.net/tracker/index.php?func=detail&aid=1990815&group_id=56967&atid=482468
> > > >
> > > >
> > > > Stefan
> > > >
> > > > -- 
> > > > | Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
> > > > | CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
> > > > | 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
> > > > | The Netherlands     | Fax : +31 (20) 592-4312       |
> > > 
> > > 
> > > -------------------------------------------------------------------------
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > _______________________________________________
> > > Monetdb-developers mailing list
> > > Monetdb-developers at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> > > 
> > > 
> > 
> > -- 
> > | Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
> > | CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
> > | 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
> > | The Netherlands     | Fax : +31 (20) 592-4312       |
> > 
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Monetdb-developers mailing list
> > Monetdb-developers at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> 
> -- 
> | Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
> | CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
> | 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
> | The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list