[QGIS-Developer] Fwd: Running QGIS Python tests inside a real QGIS application in Travis CI

Alessandro Pasotti apasotti at gmail.com
Sat Nov 24 01:46:35 PST 2018


Re-sending, because apparently this email was not delivered, sorry if you
have got it already.


---------- Forwarded message ---------
From: Alessandro Pasotti <apasotti at gmail.com>
Date: Thu, Nov 22, 2018 at 9:09 AM
Subject: Running QGIS Python tests inside a real QGIS application in Travis
CI
To: QGIS Developer Mailing List <qgis-developer at lists.osgeo.org>
Cc: <akendrick at boundlessgeo.com>, Larry Shaffer <lshaffer at boundlessgeo.com>,
Alex Neto <aneto at boundlessgeo.com>, Victor Olaya <volaya at boundlessgeo.com>


Hi,

since all the pieces are now in place, I made a little experiment for
running Python tests inside QGIS on Travis and it seem to work well [1]

I don't think that we need to run **all** tests this way, but I believe
that for some tests that require the real iface and a real QGIS
application, this could be very useful.

I'm still waiting to hear from Boundless if they are willing to fund the
additional work required to fully integrate this new possibility in the
current testing workflow but I'd like to know your thoughts on this topic
before proceeding further.

I'm not sure what is the best way to integrate this in the current CMake
configuration, for example: should we create a CMake macro to add these
tests?

[1] https://travis-ci.org/qgis/QGIS/jobs/458107282#L1815

-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181124/2e8d9aad/attachment.html>


More information about the QGIS-Developer mailing list