2

Each time when my organization updates/migrates to the latest QGIS either a regular release or a LTR, how could I ensure that it adopts all the customized adjustments&settings from the used QGIS?

I am looking to test new QGIS against these things:

  • Certificates
  • Proxy settings
  • running domestic Plugins
  • access to Databases
  • access to an internal/external WMS, WFS, and WMTS (with/without username and password)
  • opening a GeoPackage
  • importing a DXF
  • Python version

Currently these things are done manually. For example, open QGIS, import GeoPackage, check if everything okay, and close QGIS.

This article Stable version of QGIS for administration with strict security policy helps me, but wraps QGIS versions and there release dates rather than their behavior and functionality.

I have an idea of a writing a standalone script that by means of the try except statement will check freshly installed QGIS together with custom inputs.


References:

0

1 Answer 1

2

You can do Python unit tests.

See the QGIS documentation about this : https://docs.qgis.org/testing/en/docs/developers_guide/unittesting.html

You can also find a lot of unit tests already written in the QGIS repo : https://github.com/qgis/QGIS/tree/master/tests/src/python

So, if you want to test the QGIS features in your company, you can copy the desired tests with test data, add tests for specific installed plugins.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.