W3C home > Mailing lists > Public > public-test-infra@w3.org > April to June 2016

Re: When it is appropriate to use wpt...

From: Geoffrey Sneddon <me@gsnedders.com>
Date: Thu, 21 Apr 2016 22:46:12 +0100
Message-ID: <CAHKdfMhWUWooEWrq6wUH-=YAUwJDQLU4Dq8OruevUj_O5Cy4bA@mail.gmail.com>
To: Andreas Tolfsen <ato@mozilla.com>
Cc: Shane McCarron <shane@spec-ops.io>, public-test-infra <public-test-infra@w3.org>, Jeffrey Yasskin <jyasskin@google.com>, Simon Stewart <simon.m.stewart@gmail.com>
On Thu, Apr 21, 2016 at 7:54 PM, Andreas Tolfsen <ato@mozilla.com> wrote:
> On 21 April 2016 at 19:39, Geoffrey Sneddon <me@gsnedders.com> wrote:
>> I know James Graham feels strongly about keeping tests self-contained
>> and in one file as much as possible, and while I remember him speaking
>> a fair bit when we popped into the Web Payments meeting at TPAC, I
>> can't remember what was said. I expect he'll have strong opinions
>> about how to do this. :)
>
> Self-containment I believe is an absolute requirement from Mozilla’s
> side, as the browser we are testing in CI is instructed to crash on an
> assertion when it attempts to access remote resources. We do this for
> hermetical purposes so that tests are reproducible.

I meant that James has a very strong desire for tests to be singular
files all and all test logic in a single file, rather than anything
about external (to wpt) resources.

/Geoffrey
Received on Thursday, 21 April 2016 21:46:40 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 21 April 2016 21:46:40 UTC