- Two graphical test suites
- SVG (at Candidate Recommendation, 4/2001):
- a basic but comprehensive set of viewer tests
- built from scratch within SVG Working Group
- started at "stable Working Draft" (1/2000)
- WebCGM (Recommendation, 1/1999):
- basic plus some detailed viewer tests
- built from adapted (NIST-ATA) plus new materials
- started 2 years after Recommendation
Components of the Suites
Both test suites (SVG/WebCGM) consist of:
- XML test case description database
- set of test case instances (.svg/.cgm files)
- matching set of raster reference images (expected results)
- set of "operator scripts" -- instructions, pass/fail, test
- test harness to organize, coalesce, and present suite & results
- Miscellaneous production and managment tools
(Refer to test suites for examples of each. To be presented with
Goals of the Two Suites
Top Problems and Issues
- Both projects short-cut traceability.
- Specs (Recommendations) not always conducive to testability.
- normative language; optional features; organization;
- Visual comparison (w/ reference image) is imprecise and error
- Uniformity and accountability difficult working within WG.
- Overall, these projects (in several aspects) are very labor
See the workshop
paper for discussion of additional problems and issues.
- Improve specifications (Recs) themselves -- guidelines and standards
- Early conformance work confers big benefit to quality of specifications
- Start some conformance work (e.g., TR/TP, some BE, etc) in WG early in
- Realistic plan (acknowledging resource needs) for finishing work.
- Address in WG charter: what, how, when, by whom conformance will be
- Attention to more automation methods and tools, especially:
- TR/TP extraction and synthesis; traceability implementation.
- comparison of actual and expected results
See the workshop
paper for additional issues, lessons, observations.
Note about Accessibility
- the static-linked page set of SVG is more accessible
- both are driven off of similar XML databases, so both can be
- Operator Scripts
- terse pass/fail criteria of existing (NIST-ATA) WebCGM tests --
designed for certification operators -- are not very accessible
- the style of the SVG BE conformance suite provides, essentially,
detailed alternative text to the TC pictures and reference