GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
91 stars 31 forks source link

Introduce Testing #233

Open merydian opened 3 months ago

merydian commented 3 months ago

This branch may introduce testing.

Contents on the common and utils directories undergo unit-tests. Contents of gui are testet with an integration test that utilizes a mocked QGis interface. Each of the plugins' processing algorithms is integration tested, directly testing their respective processAlgorithm method.

Locally tests can be run using an anaconda setup, the process of which is described in the Readme file. On Github Actions, the QGis versions 3.16, 3.22 and the latest versions are testes on, using the docker images from QGis itself.