This executable test suite (ETS) checks WFS 2.0 implementations for conformance to the set of specifications depicted in Figure 1. Conformance testing is a kind of "black box" testing that examines externally visible characteristics or behaviors of the SUT and is independent of any implementation details.
Several fundamental conformance levels are defined in ISO 19142:
Note: In order to test for "Simple WFS" conformance the WFS under test must
implement an additional stored query: GetFeatureByType
; the mandatory GetFeatureById
query is insufficient by itself as there is no way to discover feature identifiers. The query
definition is given below.
<wfs:StoredQueryDefinition id="urn:ogc:def:query:OGC-WFS::GetFeatureByType" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <wfs:Abstract> A parameterized GetFeature request that returns a collection of features by type name. </wfs:Abstract> <wfs:Parameter name="typeName" type="xs:QName"> <wfs:Abstract>A QName specifying a feature type name (required); a corresponding namespace binding must also be present.</wfs:Abstract> </wfs:Parameter> <wfs:Parameter name="startIndex" type="xs:nonNegativeInteger"> <wfs:Abstract>Default value is 0</wfs:Abstract> </wfs:Parameter> <wfs:Parameter name="count" type="xs:nonNegativeInteger"> <wfs:Abstract>Optional</wfs:Abstract> </wfs:Parameter> <wfs:QueryExpressionText returnFeatureTypes="gml:AbstractFeature" language="http://schemas.opengis.net/wfs/2.0/wfs.xsd#xmlns(wfs=http://www.opengis.net/wfs/2.0)xscd(/wfs:GetFeature)"> <wfs:GetFeature startIndex="${startIndex}" count="${count}"> <wfs:Query typeNames="tns:${typeName}"/> </wfs:GetFeature> </wfs:QueryExpressionText> </wfs:StoredQueryDefinition>
The documents listed below stipulate requirements that must be satisfied by a conforming implementation.
See the Javadoc documentation for more detailed information about the test classes and test methods that comprise the suite.
Several optional conformance classes are not covered by the current test suite. The following capabilities are not tested:
The test suite may be run in any of the following environments:
TestNGController
./src/main/ctl/
directory.The test run arguments are summarized in Table 1. The Obligation descriptor can have the following values: M (mandatory), O (optional), or C (conditional).
Name | Value domain | Obligation | Description |
---|---|---|---|
wfs | URI | M | A URI that refers to a representation of the service capabilities document. This document does not need to be obtained from the service under test (SUT), but it must describe the SUT. Ampersand ('&') characters appearing within a query parameter value must be percent-encoded as %26. |
This is a maintenance release; it includes the following enhancements and fixes:
This is a maintenance release; it includes the following changes:
This is a maintenance release. The following issues were resolved: