Skip to content

Add tests for feature insertion plugin functionalities#7437

Open
kaustuvpokharel wants to merge 2 commits into
masterfrom
tests/featureInsertion
Open

Add tests for feature insertion plugin functionalities#7437
kaustuvpokharel wants to merge 2 commits into
masterfrom
tests/featureInsertion

Conversation

@kaustuvpokharel
Copy link
Copy Markdown
Collaborator

Tests covering plugin behaviour around feature insertion via canvas action buttons: registration through iface.addItemToCanvasActionsToolbar, iface.mapCanvas resolution, GeometryUtils.reprojectPoint, and end-to-end feature persistence via FeatureModel.create() at a reprojected canvas-menu point.

Each test creates its own memory layer; the end-to-end test sets canvasMenu.point, clicks the registered toolbar button, and verifies the layer ends up with a feature carrying a non-empty point geometry.

@qfield-fairy
Copy link
Copy Markdown
Collaborator

qfield-fairy commented May 15, 2026

📱 Android builds

Download an Android arm64 build of this PR for testing.
(Built from commit eb3a14d)

Other Android architectures

🍎 MacOS DMG universal builds

Download a MacOS DMG universal build of this PR for testing.
(Built from commit eb3a14d)

🪟 Windows builds

Download a Windows build of this PR for testing and for arm64.

(Built from commit eb3a14d)

🐧 Linux AppImage builds

Download a Linux AppImage build of this PR for testing.
(Built from commit eb3a14d)

@kaustuvpokharel kaustuvpokharel self-assigned this May 16, 2026
Comment thread test/qml/tst_plugin_functionalities.qml Outdated
Comment thread test/qml/tst_plugin_functionalities.qml Outdated
@kaustuvpokharel kaustuvpokharel force-pushed the tests/featureInsertion branch from c51a5ce to eb3a14d Compare May 21, 2026 03:20
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