User:Jonathan Watt/PaintTest/TestSuiteOrganization

From MozillaWiki
Jump to navigation Jump to search

Test suite organization

To be useful as a regression test suite, it's important that the time it takes to run the suite is minimized. As part of that effort, it's important to try to minimize test duplication. To do that we need to come up with some sort of categorization system. Do you sort by elements? By attributes? What if you're testing that the 'clipPath' element interacts correctly with a filtered 'use' element? Does the test come under the clipPath, filter, or 'use' group? Tricky.

  • static, onload render tests
    • attribute parsing tests (check that the micro parsers resolve the correct values)
    • render tests
  • invalidation tests