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

Re: About test repository structure

From: Tobie Langel <tobie@w3.org>
Date: Wed, 31 Jul 2013 09:47:16 +0200
To: Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
Cc: "public-webapps-testsuite@w3.org" <public-webapps-testsuite@w3.org>, "'public-test-infra@w3.org'" <public-test-infra@w3.org>
Message-ID: <DE98201145854A46BAD245BAE1700C1F@w3.org>

Thanks for bringing this topic up.

Ideally all tests should follow the nested section structure.

Note that the limit to three levels of subsections is artificial and shouldn't be enforced. There are specs where going deeper makes sense.

Specs organized like the FileAPI is (by contributor name/org) absolutely need to be reviewed reorganized using the subsection model.

This is not so critical for specs which have just chosen a different directory model, such as Webstorage (though I still think it's worth doing at some point).



On Wednesday, July 31, 2013 at 9:20 AM, Zhang, Zhiqiang wrote: 
> Hi folks,
> In http://www.w3.org/wiki/Webapps/Submitting_tests#Test_Repository_Structure, the structure of the web-platform-tests repository, is addressed as
> .../[specification]/
> .../[specification]/[section]/test.htm
> Where:
> [specification] is the short-name of a specification as used when the spec is published as a Technical Report e.g. XMLHttpRequest, workers, webstorage
> [section] is up to three level deep sections of the spec where the test belongs. NOTE: some tests do not use the section subdirectories.
> I wonder if all [specification]s need [section], and follow such structure? Because currently there are specifications don't use [section], like webstorage, and specifications don't follow such structure, like FileAPI (whose tests are in test/submission/ subdirectory). 
> Since the upcoming Test the Web Forward Shanghai event will focus on the File API and Web Storage specifications, I would like to reconstruct the structure of File API as that of Web Storage (no [section]), or as https://github.com/w3c/web-platform-tests/pull/262 (with [section]), if get a conclusion here.
> Thanks,
> Zhiqiang
Received on Wednesday, 31 July 2013 07:47:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:52:58 UTC