← Back to issue list

tests: reorganize plugin tests into subdirectory.

View original Github issue

Metadata

Project
snapcraft
Number
#1014
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged #1014 as d97c00e8f, moving plugin unit tests into a dedicated subdirectory to make the suite manageable and resolve LP #1651903.

Resolution: closed resolved

Reason: PR #1014 was merged as commit d97c00e8f, reorganizing plugin unit tests into a subdirectory and resolving Launchpad bug #1651903.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR resolves LP: [#1651903](https://bugs.launchpad.net/snapcraft/+bug/1651903) by making the unit test suite much more manageable.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #1014 as d97c00e8f, moving plugin unit tests into a dedicated subdirectory to make the suite manageable and resolve LP #1651903.
stealth/space-bunny-alpha — closed resolved Merged PR #1014 in commit d97c00e8f, reorganizing plugin tests into a subdirectory and resolving Launchpad bug #1651903.
qwen/qwen3.6-35b-a3b — — Merged reorganization of plugin unit tests into a subdirectory, resolving Launchpad bug #1651903. The change moved 27 files without code modifications, maintaining 96.38% coverage and improving test suite manageability.
qwen3.6-35b-a3b-mtp-q6 — — Merged reorganization of plugin tests into a subdirectory to improve unit test manageability. Resolved Launchpad bug #1651903 while maintaining 96.38% code coverage with no impact on overall metrics.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1015 tests: reorganize command tests into subdirectory. snapcraft merged Merged PR #1015 as commit 90b63c94, moving command unit tests into a tests/unit/commands/ subdirectory (30 files, +70/-49) to shrink the unit suite and close LP #1651908.
82%
#1651903 Plugin tests need to be reorganized snapcraft (launchpad) closed Fixed: plugin unit tests moved out of the monolithic tests dir into a dedicated subdirectory by merged PR snapcore/snapcraft#1014 (commit d97c00e8f), resolving LP bug #1651903.
80%
#1019 tests: reorganize state tests into subdirectory. snapcraft merged Merged as commit 9abdc0dd3: six state unit test files were moved into a subdirectory, purely a test-suite reorganization with no production code changes and no coverage change (96.39%). Resolves LP#1652136.
77%
#1944 tests: split the plugins tests in the same directory snapcraft merged Merged PR #1944 in commit 2dd0377e9, consolidating split plugin test suites in one package so Python 3.6 unittest discovery no longer failed on directories missing __init__.py.
76%
#199 tests: refactor plugin dependency tests craft-parts merged PR #199 was merged, replacing redundant plugin dependency-test fixtures with a fixture factory; commit c668c180 landed via merge commit a3c5e087.
72%
#1791 tests: python plugin integration tests moved to a separate suite snapcraft merged Merged PR #1791 (commit 91b6639f2) by come-maiz: Python plugin integration tests were moved out of the oversized plugins suite into their own suite, following the same split already done for catkin in #1760.
71%
#85 tests: move starbase tests to sub-directories starbase merged Merged PR #85 as commit 43f86da, moving tests into subdirectories for isolated Starbase ownership and cleaner downstream merges.
70%
#486 test(spread): clean up plugin prep/restore imagecraft merged Merged PR #486 refactors spread tests by moving plugin preparation and restoration logic into common prepare-each and restore-each scripts, reducing task file size and improving maintainability.
70%