W3C home > Mailing lists > Public > public-html-testsuite@w3.org > December 2012

Re: Notes on test suite reorganisation

From: James Graham <jgraham@opera.com>
Date: Tue, 11 Dec 2012 14:41:17 +0100
Message-ID: <50C737FD.6030204@opera.com>
To: public-html-testsuite@w3.org
On 12/11/2012 01:53 PM, Simon Pieters wrote:
> On Tue, 11 Dec 2012 13:03:41 +0100, Robin Berjon <robin@w3.org> wrote:
>
>> • Inside tests, I made five directories: html5, html51, canvas2d,
>> canvas2d2, microdata to reflect the various specs. Technically there
>> might be a microdata2 as well, but there doesn't seem to be much
>> motion there for now so that can wait.
>
> I'm not sure I'm happy with having separate directories for "html5" and
> "html51" (etc). This seems like it would lead to duplicating the whole
> testsuite multiple times and cause a maintenance nightmare.
>
> A better option might be to just have an "html" directory with tests for
> both html5 and html51 (etc), and if a particular test is not valid for a
> particular snapshot, that can be indicated with metadata in the test
> itself. Tests should be assumed to reflect the latest spec, since that's
> what most implementors are working towards.
>

I think branches are the natural way to handle this. The mainline should 
be the latest specification, and any stabilisation branch, such as 
HTML5, should have any patches relevant to that branch applied to it.
Received on Tuesday, 11 December 2012 13:41:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 December 2012 13:41:55 GMT