W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2014

Re: [whatwg] URL interop status and reference implementation demos

From: Domenic Denicola <d@domenic.me>
Date: Wed, 19 Nov 2014 16:02:33 +0000
To: James Graham <james@hoppipolla.co.uk>, "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
Message-ID: <890c5957eb684ff89358792567e630f6@CY1PR0501MB1369.namprd05.prod.outlook.com>
From: whatwg [mailto:whatwg-bounces@lists.whatwg.org] On Behalf Of James Graham

> That sounds like unnecessary complexity to me. It means that random third party contributers need to know which repository to submit changes to if they edit the urld testata file. It also means that we have to recreate all the infrastructure we've created around web-platform-tests for the URL repo.
>
> Centralization of the test repository has been a big component of making contributing to testing easier, and I would be very reluctant to special-case URL here.

Hmm. I see your point, but it conflicts with what I consider a best practice of having the test code and spec code (and reference implementation code) in the same repo so that they co-evolve at the exact same pace. Otherwise you have to land multi-sided patches to keep them in sync, which inevitably results in the tests falling behind. And worse, it discourages the practice of not making any spec changes without any accompanying test changes.

That's why for streams the tests live in the repo, and are run against the reference implementation every commit, and every change to the spec is accompanied by changes to the reference implementation and the tests. I couldn't imagine being able to maintain that workflow if the tests lived in another repo.

Received on Wednesday, 19 November 2014 16:03:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:32 UTC