W3C home > Mailing lists > Public > public-css-testsuite@w3.org > August 2011

Re: Are self-describing reftests required?

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 25 Aug 2011 14:07:10 -0400
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: public-css-testsuite@w3.org
Message-ID: <20110825180710.GA1724@pickering.dbaron.org>
On Thursday 2011-08-25 18:24 +0200, Øyvind Stenhaug wrote:
> On Thu, 25 Aug 2011 17:10:57 +0200, L. David Baron
> <dbaron@dbaron.org> wrote:
> 
> >I think requiring that reftests be self-describing would be a huge
> >mistake; in many cases it significantly incresaes (i.e., multiplies
> >by a small integer) the amount of work that the test author has to
> >do.
> 
> On the other hand, having just a cryptic rendering increases the
> amount of work any future user has to do when personally inspecting
> individual tests, analyzing failures etc. It's a tradeoff (kind of
> like spending effort commenting code,really). As someone who spends
> a significant amount of time both authoring and examining testcases,
> I certainly prefer striving to make them succinct and neat with
> regards to both code and visual appearance.

In many cases, the easiest way to understand a reftest is to diff
the test with the reference; the diff is often relatively
straightforward.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla Corporation               http://www.mozilla.com/   𝄂
Received on Thursday, 25 August 2011 18:08:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 25 August 2011 18:08:16 GMT