W3C home > Mailing lists > Public > public-css-testsuite@w3.org > July 2013

Re: Do test titles really need to be unique?

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 30 Jul 2013 21:40:50 -0400
Message-ID: <a011996e2a309fc85ca920094509694e.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Rebecca Hauck" <rhauck@adobe.com>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

Le Mar 30 juillet 2013 17:20, Rebecca Hauck a écrit :
> Hi all,
> (but this is probably mostly for Peter, maybe Elika)
>
> I'm reviewing and updating some of our testing documentation that is
> eventually going to be centralized in one location used for all W3C
> testing, not just CSS testing.  Do we really need to enforce unique
> titles on tests?  I don't believe there is any such requirement for
> non-CSS tests and I assume Shepherd doesn't have al problem with
> duplicate titles since each test file is seen as a separate asset.
>
> If we can soften this requirement, it's one less thing authors and
> reviewers need to deal with.
>
> Thoughts?

I think it does not need to be unique but it will help if it is
describes what the test is about, if it designates concisely and
meaningfully what the test is about or what property|ies is|are involved
in the test. The goal is to reduce time of searching for a particular
test or particular set of tests.

There is a way to make title unique, descriptive and useful. James
Hopkins wrote about his method of making each test's title unique,
descriptive and helpful.

Roughly, something like:

<title>CSS [module name] Test: [property-name: property-value] - [list
of optional parameters | concise description]</title>


In the end, a title text can not be unique, descriptive and concise
altogether if one test suite has 10,000+ tests. This is the case for CSS
CSS 2.1 test suite.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Wednesday, 31 July 2013 01:41:24 UTC

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