Skip to content
rjmartell edited this page Feb 18, 2016 · 22 revisions

WMTS 1.0 Conformance Test Suite

The selection and execution of tests is rather tortuous. A test run starts off in WMTS_ETS.xml with the following steps:

  1. Fetch service metadata
  • Note: XML Schema validation is disabled by default. Schematron is not used at all to perform rule-based validation (to check constraints that are beyond an XML Schema grammar).
  1. call-function "wmtsBootstrap:bootstrap.restful" (check advertised capabilities)
  2. call-function "wmts:testMenus" (select tests)
  3. call-function "wmtsFunctions:invokeTestGroupsForBinding" (run test groups)
  4. call-function "wmtsFunctions:invokeSelectedTests" (in wmtsFunctions.xml)
  5. call-test $testName
  6. call-function $abbreviatedTestName (in wmtsFunctions.xml; this file contains almost 30000 lines!)

There is a draft ATS that offers some guidance regarding test coverage.

There are several test groups defined for each binding.

Binding Test groups
REST
  • CommonOperations.Mandatory.RESTful
  • GetCapabilities.Mandatory.RESTful
  • GetTile.Mandatory.RESTful
  • GetTile.Implemented.RESTful
  • GetFeatureInfo.Implemented.RESTful
Clone this wiki locally