W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2008

RE: Importing tests from one suite to another

From: Grant, Melinda <melinda.grant@hp.com>
Date: Mon, 15 Sep 2008 20:20:20 +0000
To: fantasai <fantasai.lists@inkedblade.net>
CC: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <763AE400FE923441B74861D534DF254950F9FAE4AA@GVW0433EXB.americas.hpqcorp.net>

fantasai said:
> Grant, Melinda wrote:
> >
> > fantasia said:
> >>    In each test we have a link to the appropriate spec section.
> >>    What if instead of independent source directories for each
> >>    CSS3 module collected together all CSS tests, and each test
> >>    had links to the appropriate spec sections for each spec they
> >>    tested? Then the build scripts for each test suite could
> >>    trawl the set of all tests and build only the tests that
> >>    apply to that particular test suite.
> >
> > The disadvantage with this approach is that it requires someone to
> > manually modify each test to add the new spec link at some point --
> > probably when it goes to CR.  For instance someone should
> now modify
> > all the (applicable) CSS1 tests to point to the right 2.1 sections.
> I don't think there's any way to automate this. Someone needs
> to manually do /something/ for each test. Whether that's
> adding it to a special list, or making a copy of it, or
> rewriting it from scratch, or adding a new spec link doesn't
> change that fact.
> ~fantasai

Agree.  As I said, I don't see a better way.  Everything else I can think of (like removing the spec links and instead quoting spec verbiage) seems to have similar or worse drawbacks...

Received on Monday, 15 September 2008 20:23:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:13 UTC