CSS 2.1 test suite feedback: slicing and dicing

I've been through about 60% of the HTML4 tests in the 20100917 suite, and have some feedback.

This message relates to how specific each individual test is.

There are some collections of tests that seem to have way too many tests testing the same features over and over again, with the result that their per-test value is very low. The major culprits that I have run into so far are the following:

first-letter-punctuation-*
border-*-color
border-*-style-applies-to-*
quotes-*

In particular, the border-color tests test the same color-parsing issues again and again, for each border side (175 tests per side). I don't think this is useful. I think it's find to for the suite to make some assumptions about how implementations operate, namely that the same code will be used to parse colors for each side, so there is no need to test each individually.

The first-letter-punctuation tests are a little different, in that there's a separate test for each of a huge number of punctuation characters. I think these should be combined so that a single test can test 50-100 characters. The same applies to quotes-*.

Simon

Received on Monday, 27 September 2010 06:27:53 UTC