Re: DOM Testing framework?

On Wed, 15 Jul 2009 20:17:33 +0200, Travis Leithead <travil@microsoft.com>  
wrote:

> Just curious what the current status is of the JSUnit testing framework?
>
> http://www.w3.org/DOM/Test/
>
> Is this usable for adding new tests?

Personally, I'd rather see something much simpler. The JSUnit framework is  
somewhat big and chunky - I'll expand on that in your other thread for  
requirements though :)

> Has the content of the tests been reviewed recently? Are they still an  
> acceptable set of tests?

We run them. I've even gone through the process of building them - which  
is very cumbersome because the build process automatically downloads old  
spec documents to parse them and extract IDL blocks, and in doing so it  
comes across some specs that actually violate some late errata in the XML  
spec, parsing fails, and one must resort to do string replace on the XML  
sources in the build process before using a modern XML parser (!).

> Would this testing framework be suitable for HTML5/ DOM L2 specs that  
> are missing?

IMO: no, if we could have a more lighweight framework it would be great.

-- 
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/

Received on Friday, 17 July 2009 13:46:44 UTC