You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to the 2020 Grant Program, the WMS 1.3.0 OGC testsuite has been integrated with GitHub Action in the QGIS continuous integration mechanism (see QGIS Server, OGC tests and Continuous Integration). This way, the WMS 1.3.0 compliancy has become mandatory for every new development merged in QGIS Server source code.
To improve quality assurance as its best, this proposal will add the OGC API Features (aka WFS3) testsuite in QGIS continuous integration by following the same steps. Indeed, these tests are currently performed on master branch once a day but adding a continous integration check will prevent any kind of regressions.
Proposed Solution
pyogctest
A Python tool named pyogctest has been specifically implemented to run the WMS 1.3.0 testsuite in command line for the needs of the continuous integration. The goal is now to add the support for the OCG API Features protocol:
deduce the right URL depending on the tests to execute (https://qgisserver/wfs3 in case of the OGC API Features protocol)
execute the testsuite thanks to the TeamEngine REST API
parse the results to provide an explicit report (HTML or in stdout)
GitHub Actions
The second step is to integrate these OGC API Features tests in the QGIS CI mechanism thanks to GitHub Actions. This basically means adding a new step in .github/workflows/ogc.yml:
- name: Run OGC API Features tests
run: |
docker-compose -f .ci/ogc/docker-compose.yml up -d
source venv/bin/activate && ./pyogctest/pyogctest.py -s ogcapif -v -u http://qgisserver
The underlying project and data to run the testsuite will also need to be managed in the same way as for WMS 1.3.0 testsuite (automatic download and nginx configuration).
Nightly tests
Currently, scripts to run OGC API Features tests are available in the CertifSuite repository. These scripts will be updated to use pyogctest instead.
Documentation
The documentation on OGC Conformance Testing will be updated to add a specific entry about the OGC API Features testsuite.
QGIS Server, OGC tests and Continuous Integration: OGC API Features (part 2)
Date 2021/03/08
Author Paul Blottiere (@pblottiere)
Contact blottiere dot paul at gmail dot com
Maintainer @pblottiere
Version QGIS 3.22
Summary
Thanks to the 2020 Grant Program, the WMS 1.3.0 OGC testsuite has been integrated with GitHub Action in the QGIS continuous integration mechanism (see QGIS Server, OGC tests and Continuous Integration). This way, the WMS 1.3.0 compliancy has become mandatory for every new development merged in QGIS Server source code.
To improve quality assurance as its best, this proposal will add the OGC API Features (aka WFS3) testsuite in QGIS continuous integration by following the same steps. Indeed, these tests are currently performed on
master
branch once a day but adding a continous integration check will prevent any kind of regressions.Proposed Solution
pyogctest
A Python tool named pyogctest has been specifically implemented to run the WMS 1.3.0 testsuite in command line for the needs of the continuous integration. The goal is now to add the support for the OCG API Features protocol:
In this case,
pyogctest
will:GitHub Actions
The second step is to integrate these OGC API Features tests in the QGIS CI mechanism thanks to GitHub Actions. This basically means adding a new step in
.github/workflows/ogc.yml
:The underlying project and data to run the testsuite will also need to be managed in the same way as for WMS 1.3.0 testsuite (automatic download and nginx configuration).
Nightly tests
Currently, scripts to run OGC API Features tests are available in the CertifSuite repository. These scripts will be updated to use
pyogctest
instead.Documentation
The documentation on OGC Conformance Testing will be updated to add a specific entry about the OGC API Features testsuite.
Affected Files
.github/workflows/ogc.yml
and.ci/ogc/
in QGIS source codetestsuite/ogcapif
in QGIS-Server-CertifSuitedevelopers_guide/ogcconformancetesting.rst
in QGIS-DocumentationThe text was updated successfully, but these errors were encountered: