/ets-test-resources

Test resources used for checking executable testsuites in the ets-repository

European Union Public License 1.2EUPL-1.2

Test resources for the INSPIRE validator

This repository is intended to store Test Objects and expected test results for automated regression tests. Executable Test Suites from the ets-repository are executed against the Test Objects and the generated results are compared with the expected test results.

© 2017 European Union. Licensed under the EUPL.

Repository structure

There are three root folders for dataset, metadata and service tests resources.

Each test resource has a name and starts with an three-digit sequential number, e.g. 001-alkis-errors.

Testobjects (test input data) must be located in a testobject subfolder, must be uncompressed and have a xml or gml file ending.

Test results are compared with a result file located in expected_results/ETS_SUB_FOLDER/TestTaskResult.xml where ETS_SUB_FOLDER is an individual identifier for the Executable Test Suite. Each ETS_SUB_FOLDER must contain a test.properties file, which is used to define which ETS from the ets-repository is executed, e.g.:

ets=inspire/metadata/iso/ets-md-iso-bsxets.xml

for executing the ets-md-iso ETS.

Attachments are placed in the expected_results/ETS_SUB_FOLDER directory, too, and have to be referenced correctly from TestTaskResult.xml file.

Timestamps will be ignored during comparison.