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

test writing guidelines regarding use of red

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 20 Oct 2010 16:01:35 +1300
To: public-svg-wg@w3.org
Message-ID: <20101020030134.GH11825@wok.mcc.id.au>

I’m reviewing some of the Microsoft test submissions.  Take
styling-pres-05-f as an example.  The test is good in that red is used
to indicate test failure, but when the test succeeds the shapes (that
would otherwise be red if the test failed) are set to fill:none.  The
resulting test slide if the test passes is blank apart from the CVS
revision.  Do we have test writing guidelines written down somewhere?
I’m thinking we should be following rules like:

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

Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 20 October 2010 03:02:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC