-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more QGIS_REPO to travis: improvements for unit testing - fix #49 #50
Conversation
ooops...coverage is not my friend! |
4be39cd
to
59c4547
Compare
ok...now coverage is my friend! :-) |
@slarosa any reason to use mocked QGIS app for the tests? I intentionally used QGIS testing class to promote @m-kuhn 's work last year. Though Boundless makes another testing framework using docker with QGIS instance inside (so the tests are run against a real QGIS instance) and people start using this last approach more... |
QGIS upstream also uses docker images for testing QGIS 3. This can also be used for plugins (see e.g. https://travis-ci.org/opengisch/projectgenerator), QGIS testing classes are available as well. |
No particular reason, just want to see travis happy :-) against more qgis version! |
You get extra points if you make a deploy
;) https://travis-ci.org/opengisch/projectgenerator/builds/281908128 |
@m-kuhn and that should be an awesome score for my unit-testing game! :-p |
@m-kuhn is there docker image for QGIS 3? @slarosa more extra points if there is a QGIS 3 image and we also test it against this version :) @elpaso started some work to port this to be ready for QGIS 3 as a core plugin in this branch: https://github.com/akbargumbira/qgis_resources_sharing/tree/qgis3, but I haven't got time to finish it |
The one from the link above is qgis3. One of the two does not change (fixed to a certain commit) the other one regularly gets updated to the latest master. |
Also, using the QGIS testing module (see slarosa@0abda99) I got a bunch of ImportError (i.e |
This PR has long lived and tests have been refactored to fit Github Actions in #259. |
Add more QGIS versions to travis. Basically uses the same configuration of qgis2web plugin for testing.