Test suite: ets-cat20-dgiwg10

Scope

This executable test suite (ETS) verifies the conformance of the implementation under test (IUT) with respect to the set of relevant specifications depicted in Figure 1. Conformance testing is a kind of “black box” testing that examines the externally visible characteristics or behaviors of the IUT while disregarding any implementation details.

Figure 1: Relevant specifications

Set of relevant specifications

Several conformance classes are defined in the principal specifications; the ones listed below are covered by this test suite:

  • Class A
    • List capabilities of conformance class A
  • Class B
    • List capabilities of conformance class B

Test requirements

The documents listed below stipulate requirements that must be satisfied by a conforming implementation.

  1. Web Content Accessibility Guidelines (WCAG) 2.0
  2. Extensible Markup Language (XML) 1.0, Fifth Edition
  3. RFC 7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

If any of the following preconditions are not satisfied then all tests in the suite will be marked as skipped.

  1. Precondition 1;
  2. Precondition 2.

Test suite structure

The test suite definition file (testng.xml) is located in the root package, org.opengis.cite.cat20.dgiwg10. A conformance class corresponds to a <test> element, each of which includes a set of test classes that contain the actual test methods. The general structure of the test suite is shown in Table 1.

Table 1 - Test suite structure
Conformance class Test classes
Conformance Level 1 org.opengis.cite.cat20.dgiwg10.level1.*
Conformance Level 2 org.opengis.cite.cat20.dgiwg10.level2.*

The Javadoc documentation provides more detailed information about the test methods that constitute the suite.

Test run arguments

The test run arguments are summarized in Table 2. The Obligation descriptor can have the following values: M (mandatory), O (optional), or C (conditional).

Table 2 - Test run arguments
Name Value domain Obligation Description
iut URI M A URI that refers to the implementation under test or metadata about it. Ampersand ('&') characters must be percent-encoded as '%26'.
ics A comma-separated list of string values. O An implementation conformance statement that indicates which conformance classes or options are supported.