tests: reorganize command tests into subdirectory.
Metadata
Current evaluation
Reorganized command tests into a subdirectory to improve manageability. Merged following approval and CI checks, resolving Launchpad bug #1651908 and slightly increasing code coverage.
Suggested action: —
No scores available.
Issue body
This PR resolves LP: [#1651908](https://bugs.launchpad.net/snapcraft/+bug/1651908) by making the unit test suite much more manageable.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Reorganized command tests into a subdirectory to improve manageability. Merged following approval and CI checks, resolving Launchpad bug #1651908 and slightly increasing code coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master, reorganizing command tests into a subdirectory to improve unit test suite manageability and resolve Launchpad bug #1651908. The update added one file and three lines while maintaining 96.39% code coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master, reorganizing command tests into a subdirectory to improve test suite manageability and resolve LP #1651908. The change adds one file and three lines, increasing overall coverage by less than 0.01%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1019 tests: reorganize state tests into subdirectory. | snapcraft | merged | 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. | |
| #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. | |
| #3305 unit tests: fix runtests.sh not filtering tests when passed a subdirectory | snapcraft | merged | Merged a one-line fix correcting runtests.sh to properly filter tests when a subdirectory is passed. Previously, the script ran the entire suite. Approved by two reviewers, passed CI, and merged. | |
| #5375 test: fix command tests | snapcraft | merged | Merged after updating test fixtures to resolve failing command unit tests. Approved by two reviewers, passed CI checks, and modified two files with 17 additions and 9 deletions. | |
| #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. | |
| #3719 tests: fix lifecycle tests to run on new directory | snapcraft | merged | Merged a fix for lifecycle tests to run in a new directory instead of the current one. Approved by a reviewer, passed CI, and changed three lines. | |
| #684 Run tests from /tmp | snapcraft | merged | Merged to run tests from /tmp, resolving Launchpad bug #1606290. Approved by come-maiz and integrated with 19 additions and 12 deletions across two files. | |
| #1078 tests: do not rely on project_dir | snapcraft | merged | Merged to master, refactoring tests to remove dependency on project_dir. Approved despite 56 unresolved review comments and acknowledged minor errors. Code coverage unchanged. Resolves LP #1659356. | |
| #6408 Re-organize spread tests | snapcraft | open | Enhancement to reorganize spread test directories, deduplicate tests, and remove unnecessary spread tests for faster CI. Triaged by maintainer, 8 days old. | |
| #278 tests: additional tests to improve coverage | fetch-service | merged | Merged after two reviews and passing CI checks. Adds additional tests across ten files to improve code coverage, changing +386/-60 lines. |