W3C home > Mailing lists > Public > public-htmail@w3.org > February 2014

Re: Test cases

From: Joshua Cranmer <Pidgeot18@verizon.net>
Date: Tue, 04 Feb 2014 10:01:54 -0600
Message-id: <52F10EF2.5000704@verizon.net>
To: public-htmail@w3.org
On 2/4/2014 5:50 AM, Charles McCathie Nevile wrote:
> While it's a handy test, there are a coupleof issue. The big one is 
> that it isn't very easy to collate results - the test covers a bunch 
> of different things, but I need to refer back to the original page and 
> check over the two renderings, and even then some of what I am doing 
> is guessing what is being tested.

The standard process for developing HTML and CSS tests is with reftests: 
<http://testthewebforward.org/docs/reftests.html>. In short, you prepare 
two pages that should render identically. The reftest framework takes 
pictures of the two pages and compares the resulting images for 
equivalence. In terms of automation, I've been able to use the 
functionalities in Gecko to automate a mimereftest suite for 
Thunderbird, but I haven't pursued the project beyond prototype stages.

Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Received on Tuesday, 4 February 2014 16:03:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:54:17 UTC