WebCGM 1.0 Conformance Test Suite

Release 1.0 -- 21 January 2002



Copyright & License. The WebCGM 1.0 Conformance Test Suite (WebCGM TS) was developed by Lofton Henderson, under contract with NIST. CGM Open members have assisted with review of interim pre-release versions, and CGM Open provides a Web location for distribution. Copyright for the WebCGM 1.0 Conformance Test Suite is held by Lofton Henderson. License terms for use and redistribution are free, subject to a no-modification restriction (to preserve the integrity of WebCGM TS materials). See the WebCGM TS copyright & license document.

NIST Software Disclaimer. The WebCGM 1.0 Conformance Test Suite (WebCGM TS) was developed under contract for the National Institute of Standards and Technology (NIST), an agency of the U.S. Department of Commerce, Gaithersburg MD 20899, USA. WebCGM TS bears no warranty, either express or implied. NIST does not assume legal liability nor responsibility for a User's use of WebCGM TS or the results of such use.


Introduction. This is the first released version of the WebCGM 1.0 Conformance Test Suite (WebCGM TS). This release covers both the static graphics capabilities of WebCGM, as well as the dynamic, hyperlinking capabilities.

There will be future releases and further improvements. In particular, an important link/traceback from the test case to the appropriate requirements and testable assertions from the WebCGM standard is under development. There will also be a more test cases, as well as bug fixes and improvements to some test cases.

Caveat 1. The Dynamic (hyperlinking) tests will not look very good if you are running on a small screen, or at less that 1024x768 resolution. (At higher resolutions, there may also be some frame-layout issues).

Caveat 2. In a some cases, production of reference images was problematical for the WebCGM TS developer, due to limited access to high-resolution systems and tools. This will be addressed in a future release, rather than delay the first public release of WebCGM TS. This is not a critical criterion for the dynamic tests, in particular, and there is a caveat at the end of each Operator Script.

Instructions. To view WebCGM TS, all you have to do is unzip the delivery into a local directory. Be sure to pay attention to these details when un-zipping:

After you have successfully unzipped the contents:

  1. open "introPage.html" in a browser, or navigate there from this page (Overview.html)
  2. click the link to the dynamic module or the static-graphics module.
  3. If you select "Dynamic", this will display a Table of Contents of test cases. Select any one.
  4. You will need a WebCGM plug-in at this point.
  5. If you select "Static", then you will be taken to a Javascript page (this will not work in older versions of Netscape Navigator -- you may have to switch to Internet Explorer or another browser).
  6. You can navigate to any one of the 233 static tests, by one of several selection categories.
  7. The Operator Script will be displayed, plus a button to display the (raster) reference image. You will have to cause your viewer (plugin, or standalone, or...) to display the CGM.

Dynamic Contents. Test cases have names like: linking-basicH2C-BE-01. The first bit is the functional category, the second is the specific focus, the third is test type (all of these are BE, Basic Effectivity), the 4th is a sequence (within category): category-focus-BE-nn.. All of the tests are BE tests. They try to provide a complete coverage of V4 functionality at a basic level of detail -- no drill down or detailed testing (DT). There are perhaps 6-10 more that I will add before the next (second) public release.

When you select a test in the TOC, a 4-frame screen will come up.

For information (but not relevant to viewing and using the test suite), the test cases are each driven off of an XML test case description instance, and XSLT stylesheets generate the test harnesses.

There are many files associated with each test case. You don't need to worry much about most of them. But a couple of files might interest you. The test content root file will generally be named "category-focus-BE-nn" with extension .cgm or .html. If the test case has a target file for a link, it will be named something line "category-focus-BE-nn-target", with extension .cgm or .html. All of the files with bits like "-dyn" as a suffix to the name are associated with the harness, and you shouldn't need to worry about them.

View Intro Page. In a future upgrade, you will be able to browse the suite online. In this release, you must download and install it per the above instructions. If you install it as described and view the Intro page, it will have links that take you to the dynamic and the static parts of the suite. Please note viewer and browser requirements discussed above.

Download. You can download ZIP file and install the test suite on a local computer.

Feedback Welcome. We welcome specific critiques on individual tests; your general comments and impressions are welcome as well. Please send comments to the WebCGM TS manager, or info@cgmopen.org.

Questions? Please write to WebCGM TS manager, or info@cgmopen.org.

 

Lofton Henderson
7 January 2002.