A test client (command line program) for implementations of the "OGC LD API" which is a variant of the standardised OGC API: Features that delivers OGC API data and also Linked Data..
Project description
OGC LD API Test Client
A test client (command line program) for implementations of the "OGC LD API" which is a variant of the standardised OGC API: Features that delivers OGC API data and also Linked Data.
This test client performs tests against a target API instance and reports test passing, failure and failure messages.
It has no Python Package Index dependencies (Standard Library modules only) so should run directly with only a basic Python installation.
Installation
This program runs as a Python 3, command line utility and has only been tested on Unix/Linux systems but should run just fine on Windows too.
Use
work in progress
The program can be run as a Python script on the command line or via the tc.sh
shell script in the bin/
folder.
The command line arguments (Python & shell) are:
Flag | Input values | Requirement | Notes |
---|---|---|---|
api_home positional arg |
URI of an API instance to test | Required | |
-r / --requirements |
Perform the OGC APIs Requirements tests | Optional | |
-as / --abstracttests |
Perform the OGC APIs Abstract Tests tests | Optional | |
-a / --alltests |
Perform all tests | Optional | |
-l / --log |
How to log: screen, file, both | Optional | Default: screen |
License
This code is licensed using the GPL v3 licence. See the LICENSE file for the deed.
Note Citation below for attribution.
Citation
To cite this software, please use the following BibTex:
@software{10.5281/zenodo.xxxxx,
author = {{Nicholas J. Car}},
title = {OGC LD API Test Client},
version = {0.5},
date = {2020},
publisher = "SURROUND Australia Pty. Ltd.",
doi = {10.5281/zenodo.xxxxx},
url = {https://doi.org/10.5281/zenodo.xxxxx}
}
Or the following RDF:
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix sdo: <https://schema.org/> .
@prefix wiki: <https://www.wikidata.org/wiki/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://doi.org/10.5281/zenodo.xxxxx>
a sdo:SoftwareSourceCode , owl:NamedIndividual ;
sdo:codeRepository <https://github.com/surroundaustralia/ogcapild-testclient> ;
dcterms:type wiki:Q7397 ; # "software"
dcterms:creator "Nicholas J. Car" ;
dcterms:date "2020"^^xsd:gYear ;
dcterms:title "OGC LD API Test Client" ;
sdo:version "0.5" ;
dcterms:publisher [
a sdo:Organization ;
sdo:name "SURROUND Pty Ltd" ;
sdo:url <https://surroundaustralia.com> ;
]
.
Contacts
publisher:
SURROUND Australia Pty. Ltd.
https://surroundaustralia.com
creator:
Dr Nicholas J. Car
Data Systems Architect
SURROUND Australia Pty. Ltd.
nicholas.car@surroudaustralia.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ogcldapi_testclient-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec7b8bbe5587b03c93865fdc9ab331c176d1a21439955e5c3aa0f294486aa1f1 |
|
MD5 | 2e59efe46199fd1890ad7d22985b11a9 |
|
BLAKE2b-256 | 2b2a3cc86e8b73f42e4c22adca2f2e5f76e4a5d8a32c43e9d6c54c69e2e3a368 |