W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2010

Re: test writing guidelines regarding use of red

From: Chris Lilley <chris@w3.org>
Date: Wed, 20 Oct 2010 11:10:34 +0200
Message-ID: <611712032.20101020111034@w3.org>
To: Cameron McCormack <cam@mcc.id.au>
CC: public-svg-wg@w3.org
On Wednesday, October 20, 2010, 5:01:35 AM, Cameron wrote:

CM> Hi.

CM> I’m reviewing some of the Microsoft test submissions.  Take
CM> styling-pres-05-f as an example.  The test is good in that red is used
CM> to indicate test failure, but when the test succeeds the shapes (that
CM> would otherwise be red if the test failed) are set to fill:none. 

A totally blank slide tends to be startling. I tend to first assume something went wrong. 

So in a case like that I would put a green shape behind, that is obscured by red if the test fails.

CM>  The
CM> resulting test slide if the test passes is blank apart from the CVS
CM> revision.  Do we have test writing guidelines written down somewhere?
CM> I’m thinking we should be following rules like:

CM>   * If any red is showing, the test failed.
CM>   * If any green is showing and no red is showing, the test passed.
CM>   * Otherwise, you need to read the pass criteria.





-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Wednesday, 20 October 2010 09:11:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 October 2010 09:11:12 GMT