W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

Re: DOM Testing framework?

From: Hallvord R. M. Steen <hallvord@opera.com>
Date: Fri, 17 Jul 2009 15:46:43 +0200
To: "Travis Leithead" <travil@microsoft.com>, "Doug Schepers (schepers@w3.org)" <schepers@w3.org>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.uw7sj5r5a3v5gv@hr-opera.oslo.opera.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:02 GMT