Re: HTML Testing Task Force Conf Call Agenda 9/7/2010

On 09/12/2010 09:24 PM, Ms2ger wrote:
> Kris Krueger wrote:
>> <krisk> since you need many 'references' - one for a unix box, one for
>> a phone, one for MAC, etc...
>> <krisk> The ref image ends up not really being a reference at all
>
> I think you are misunderstanding how reftests work. For example, if you
> have
>
> test.html
> [[[
> <p>There should be one line of text below this one.
> <p>This line should be visible
> <p hidden>This line should not be visible
> ]]]
>
> test.ref.html
> [[[
> <p>There should be one line of text below this one.
> <p>This line should be visible
> ]]]
>
> that would be sufficient for all platforms. Indeed, Mozilla runs a test
> along these lines on every checkin, on Windows, Mac and Linux, and on
> mobile phones.
>

Indeed. Furthermore the reftest should be self-describing (not all 
Mozilla reftests meet this criterion but the CSS WG requires it for 
reftests that form part of their official testsuite and I believe we 
should do the same). This means that you can always run the tests as if 
they were pure visual tests simply by reading the description. This 
eliminates any residual cross-platform concerns that might exist.

Received on Monday, 13 September 2010 09:01:11 UTC