Skip to content
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

Introduce Testing #233

Merged
merged 22 commits into from
Aug 23, 2024
Merged

Introduce Testing #233

merged 22 commits into from
Aug 23, 2024

Conversation

merydian
Copy link
Collaborator

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.

@merydian merydian requested a review from koebi March 25, 2024 10:28
@merydian merydian marked this pull request as ready for review April 19, 2024 10:05
Copy link
Collaborator

@koebi koebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,
looks good so far 👍
My main issue is regarding the setup (conda + mamba + pip is too diverse), and one issue with the test itself.

tests/conftest.py Show resolved Hide resolved
tests/test_common.py Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
tests/conftest.py Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
koebi and others added 6 commits August 23, 2024 10:31
@koebi koebi merged commit 1f0e123 into main Aug 23, 2024
5 checks passed
@koebi koebi deleted the testing branch August 23, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants