inspire-eu-validation / discovery-service

Abstract Test Suite for the Technical Guidance for INSPIRE Discovery Services
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

A.01.04.language.parameter #31

Closed jensscheerlinck closed 8 years ago

jensscheerlinck commented 8 years ago

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685

Comment

IR N2 reference should be part A and not part B XPATH expression is missing

Proposed Change

Update reference to IR N2

Add XPATH reference

PeterParslow commented 8 years ago

In addition, add a list of the language tags which are allowed - i.e. the default language has to be on of these. This should be the list of Community languages as specified in Metadata TG (see requirement 15). See #17 , #31,

PeterParslow commented 8 years ago

This test case is a summary case, which should consist of a number of sub test cases. Because requirement 24 is the general requirement. One group (requirements 6,7,8,23,25-29) tests the 'language' functionality of the Get Discovery Service Metadata operation; another group (requirements 9-12,20, 30-32) tests the language functionality of the Discover Metadata operation; a third group could check that the functionality is advertised correctly in the metadata.

Several requirements appear to be generic if read in isolation, but are clearly assigned to a specific section of the TG, and should therefore be specific to that operation.

Conversely, requirement 25 is in the generic section, but explicitly applies to the Get Discovery Service Metadata operation. And more importantly, the list of language codes (requirement 23) is explicitly associated with the metadata (GetCapabilities response), but implicitly controls the languages that may be supported by the Discover Metadata operation!

In order to automate the test sequence, it is likely that this third group needs to be checked first & then the service tested against its description in the metadata. For example:

Recommendation: include an overall description of language testing in this test case.