← 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 refactoring that reorganizes state tests into a subdirectory, resolving Launchpad bug #1652136. The change moves six files without code modifications, maintaining 96.39% coverage.

Suggested action:

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
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%.
qwen3.6-35b-a3b-mtp-q6 Merged into master, reorganizing state tests into a subdirectory to resolve Launchpad bug #1652136 and improve test suite manageability. Code coverage remains unchanged at 96.39%.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1015 tests: reorganize command tests into subdirectory. snapcraft merged Reorganized command tests into a subdirectory to improve manageability. Merged following approval and CI checks, resolving Launchpad bug #1651908 and slightly increasing code coverage.
87%
#1014 tests: reorganize plugin tests into subdirectory. snapcraft merged 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.
87%
#60 tests: move test data to a common location craft-archives merged Merged following reviewer approval and passing CI. Relocates test data to a common directory, resolving issue #39. Modifies 13 files with zero coverage impact.
73%
#1290 tests: refactor tests with build and stage packages snapcraft merged Merged after approval. Refactored tests across 12 files to use build and stage packages, changing 115 lines added and 110 removed. Code coverage remained unchanged at 95.27% upon integration into master.
71%