W3C home > Mailing lists > Public > public-test-infra@w3.org > January to March 2015

Re: Multiple tests per file

From: Philippe Le Hegaret <plh@w3.org>
Date: Thu, 26 Feb 2015 13:02:53 -0500
Message-ID: <54EF5FCD.6070604@w3.org>
To: James Graham <james@hoppipolla.co.uk>, "public-test-infra@w3.org" <public-test-infra@w3.org>

On 02/26/2015 05:13 AM, James Graham wrote:
> So there are some cases in which it is useful to have multiple tests per
> file, distinguished by a query string or fragment. In fact some tests in
> the repo (e.g. the html5lib parser tests) already support variations
> specified in this way, but we don't include those variations in our
> manifest.
> Assuming we want to support this somehow, what's people's preferred
> mechanism? <meta> elements like:
> <meta name=test content="">
> <meta name=test content="?variant=1">
> An override.manifest file like:
> test.html
> test.html?variant=1
> Something else?

Would we want to let the test generate those variants automatically? ie 
would there be a use case where those variants are constructed on the fly?

Received on Thursday, 26 February 2015 18:02:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:34:11 UTC