/*}]]>*/
Revision History | |
---|---|
Revision 0.1 | 2008-03-24 |
Revision 0.2 | 2008-04-29 |
Revision 1.0 | 2009-01-11 |
This document is an abstract test suite (ATS): a compendium of test assertions applicable to all implementations of the WCS Processing Extension. An ATS provides a basis for developing an executable test suite (ETS) to verify that the implementation under test (IUT) conforms to all relevant functional specifications.
The abstract test cases (assertions) are organized into test groups that correspond to distinct conformance classes or sets of capabilities defined in the WCPS specification (see below for the version it applies to). The following mandatory test groups are defined:
Test data required are described by the sub-tests.
Purpose
The GetCapabilities
test group consists of the assertions
that are defined on the GetCapabilities request type of the WCS specification.
Purpose
The DescribeCoverage
test group consists of the assertions
that are defined on the DescribeCoverage request type of the WCS specification.
Purpose
The ProcessCoverages
test group consists of the assertions
that validate the ProcessCoverages request type of the WCPS specification,
using one of the protocol encodings specified in the WCS Processing Extension specification.
Test case identifier | WCPS.ProcessCoverages-expressions |
---|---|
Test purpose | The expression language of WCPS must be evaluated correctly. |
Test method | Perform the ATS of WCPS. Pass if all assertions hold; fail otherwise. |
Reference |
|
Test type | Capability |
Test case identifier | WCPS.ProcessCoverages-encoding |
---|---|
Test purpose | All protocols supported by the server under test must work properly. |
Test method |
Check the result retrieved whether it contains the predetermined value in a correct encoding. Pass if all assertions hold; fail otherwise. |
Reference |
|
Test type | Capability |
Test case identifier | WCPS.ProcessCoverages-exceptions |
---|---|
Test purpose | Exceptions must be thrown in the specified error conditions. |
Test method | Send ProcessCoverages requests as described below to provoke each of the specified exception types.
Note: exception code NoApplicableCode seemingly cannot be tested, as there is no indication provided on a situation that can provoke it. Check whether the response is an exception in its appropriate encoding. Pass if all assertions hold; fail otherwise. |
Reference |
|
Test type | Capability |