Skip to content

Conversation

@dmarteau
Copy link

@dmarteau dmarteau commented Sep 12, 2025

Related to #358

Changes

Modify the test infrastructure and workflow in order to enable the tests running against recent qgis image version (starting from 3.34).

The original issue is that the testing infrastructure used with old images seems to be totally deprecated: the simplest solution appears to be completely dropping it and run with standart unitetest tools and mock from the qgis testing api.

The tests have been pulled out the plugin code and run with pytest wich is (for my taste) a more versatile and powerful tool than unitests - its a suggestion, feel free not to use it.

Some tests fails but at least the test run even if It seems that there is is still a bit of work to set things up for good.

@dmarteau dmarteau marked this pull request as draft September 12, 2025 21:50
@dmarteau dmarteau marked this pull request as ready for review September 12, 2025 21:53
@dmarteau dmarteau marked this pull request as draft September 12, 2025 21:53
@ghtmtt
Copy link
Owner

ghtmtt commented Sep 16, 2025

@dmarteau first of all, thanks for taking this issue! Do you need more privileges in order to make some tests without approval? Let me know!

@Gustry
Copy link
Collaborator

Gustry commented Sep 22, 2025

Good move.

Side note, would it be OK to have a look to qgis/qgis-docker#129 or to improve the provided QGIS docker image ?

@ghtmtt
Copy link
Owner

ghtmtt commented Sep 23, 2025

Side note, would it be OK to have a look to qgis/qgis-docker#129 or to improve the provided QGIS docker image ?

absolutely! thanks for the hint. @dmarteau can I help you in some way?

@ghtmtt
Copy link
Owner

ghtmtt commented Oct 28, 2025

@dmarteau is this PR still a draft?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants