Besides unit- and integration tests (which are stored near the production code) we also use a couple of end-to-end tests. These tests are also part of the CI workflow.
The cypress directory holds end-to-end tests written in Cypress targeted at a running GoKoala instance.
NOTE: The viewer also contains Cypress tests, these are only focussed on viewer/map components.
Run npm run cypress:headless
in CI, run npm run cypress:open
to author (new) tests.
See OGC API Features example involving the config_features_azure.yaml
config file.
In the case of OGC API Features the complaince is validated on each PR in CI using the OGC TEAM Engine. More specifically using a CLI friendly version of this tool. GoKoala currently passes all OGC API Features compliance tests.