Re: QT4CG editor’s meeting notes, 26 March 2024

On 26/03/2024 17:40, Norm Tovey-Walsh wrote:
>       * viewer - Interactive browsing of the test suite
>            + JL to see if he can get it working again

I've had a look at the viewer directory at 
https://github.com/qt4cg/qt4tests/tree/master/viewer and have found that 
it does indeed work, at least running the directory on my localhost 
server. (Michael Kay originally wrote it)

I suspect it could be made to run on a GitHub location, but I don't know 
how to set that up on the QT4 one (Norm?). We could pretty easily modify 
it and run under SaxonJS2, but as it stands it doesn't need 
recompilation to be useful.

Basically the code is running SaxonJS 1 and provides a three-level view 
of the test catalog, the test sets and the individual test cases:


    index.html

The (static) title says QT3, but the catalog in the parent directory is 
QT4. Clicking on one of the links takes us to:


    test-set.html

Clicking on one of the tests brings us to


    test-case.html

So as long as we can arrange to web-serve that directory (and its 
parent) we have a perfectly useable interactive test-suite explorer and 
it could easily be extended to add extra fields, or collection filters etc.

-- 
*John Lumley* MA PhD CEng FIEE
john@saxonica.com

Received on Wednesday, 27 March 2024 14:22:29 UTC