Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Conformance Tests #231

Open
4 of 9 tasks
Tracked by #141
fmigneault opened this issue Mar 11, 2021 · 0 comments
Open
4 of 9 tasks
Tracked by #141

[Feature] Conformance Tests #231

fmigneault opened this issue Mar 11, 2021 · 0 comments
Assignees
Labels
ci/tests Tests of the package and features help wanted Extra attention is needed triage/conformance Issue related to fixing/ensuring compliance to specifications. triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Mar 11, 2021

All conformance link items should be evaluated with specific test-case according to Test Method row of each table corresponding to the relevant conformance class in https://docs.ogc.org/DRAFTS/18-062.html
relates to #53

For easier identification of conformance specific tests, they should be placed in a separate test_conformance.py file.

All items from :

... that are implemented by Weaver should be listed in the documentation (new conformance.RST file)
directly in the /conformance response.

def api_conformance(request): # noqa: F811
# type: (Request) -> HTTPException
"""Weaver specification conformance information."""
# TODO: follow updates with https://github.com/geopython/pygeoapi/issues/198
conformance = {"conformsTo": [

Example:
http://www.opengis.net/spec/ogcapi-processes-1/1.0/req/core/process (/req/... path defined in file) for
https://github.com/opengeospatial/ogcapi-processes/blob/master/core/requirements/core/REQ_process-op.adoc

Can refer to ogcapi-common, ogcapi-processes-1, etc. requirements.

Function tests that provide the validation of the relevant requirements/recommendations/abstract-tests should have a URL reference in their docstring for quick retrieval of validators across the code.
Ex:

def test_conformance_rc_links():
    """
    .. seealso::
        - `/req/collections/rc-links <https://github.com/opengeospatial/ogcapi-common/blob/Working/collections/requirements/collections/REQ_rc-links.adoc>`_
    """
    # validation tests here

New features to add tests if implemented:

Some existing features to add to the table:

OGC Executable Test Suite:

@fmigneault fmigneault added ci/tests Tests of the package and features triage/conformance Issue related to fixing/ensuring compliance to specifications. labels Mar 11, 2021
@fmigneault fmigneault self-assigned this Mar 11, 2021
@fmigneault fmigneault added the help wanted Extra attention is needed label Mar 11, 2021
@fmigneault fmigneault pinned this issue Mar 11, 2021
@fmigneault fmigneault added this to the OGC-API Conformances milestone May 25, 2021
fmigneault added a commit that referenced this issue Nov 4, 2021
…vide Job status type field (resolves #351) + increate OGC conformance (relates to #53, #231)
@github-actions github-actions bot added the triage/feature New requested feature. label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/tests Tests of the package and features help wanted Extra attention is needed triage/conformance Issue related to fixing/ensuring compliance to specifications. triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant