← Back to issue list

tests: reorganize state tests into subdirectory.

View original Github issue

Metadata

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

Current evaluation

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.

Resolution: closed resolved

Reason: The PR itself was merged into master as commit 9abdc0dd3 ('tests: reorganize state tests into subdirectory (#1019)'), moving 6 test files with a +0/-0 code diff and codecov confirming no coverage change, closing LP#1652136.

Evaluated by: mr-cal-bot

No scores available.

Issue body

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

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged in snapcore/snapcraft#1019 (commit 9abdc0dd3), reorganizing six state-test files into a subdirectory without production-code changes or coverage loss; addressed LP#1652136.
qwen/qwen3.6-35b-a3b — — Merged refactoring that reorganizes state tests into a subdirectory, resolving Launchpad bug #1652136. The change moves six files without code modifications, maintaining 96.39% coverage.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master, reorganizing state tests into a subdirectory to improve manageability and resolve LP #1652136. Code coverage remains unchanged at 96.39%.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#1015 (confidence 88%)

    Sister PR merged just prior (commit 90b63c94), reorganizing command tests into a subdirectory under the same LP bug series (LP#1651908); codecov on #1019 compares against its commit 90b63c94.

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.
81%
#1014 tests: reorganize plugin tests into subdirectory. snapcraft merged Merged #1014 as d97c00e8f, moving plugin unit tests into a dedicated subdirectory to make the suite manageable and resolve LP #1651903.
77%
#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%