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.02.05.inspire.service #38

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

XPATH expression is missing Clearly identify the Conformance Class / ATS that the response document must conform to / pass.

Proposed Change

Add XPATH reference

PeterParslow commented 8 years ago

The XPath expressions for each of the necessary elements are given in Table 3 of the TG. There are 14 mandatory ones which could be checked (at least that they are non-empty strings, better to check the actual type e.g. ping a URL, check that Dates are formatted correctly). If it's useful, copy the 14 XPaths into this test case. That said, there are also six conditional elements, where the conditions are not automatically testable - that's probably why the original document said the requirement isn't testable: because one can't actually give a 'pass'. But it is possible to fail (e.g. by missing a mandatory thing), so I reckon it's worth testing.

However, this only applies to services which have taken scenario 2 at Requirement 7. So that becomes a condition on the test case (A.2.4 must have returned "scenario 2")