tests: deduplicate tests for python-based plugins
Metadata
Current evaluation
Merged changes that deduplicate tests for Python-based plugins, resolving #935 and CRAFT-3807. Approved by three reviewers, passed CI, and modified six files with a net reduction of 98 lines.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Closes #935.
CRAFT-3807
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes that deduplicate tests for Python-based plugins, resolving #935 and CRAFT-3807. Approved by three reviewers, passed CI, and modified six files with a net reduction of 98 lines. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged deduplication of tests for Python-based plugins, resolving issue #935 and ticket CRAFT-3807. Maintainer bepri integrated the changes without additional comments. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #77 tests: add integration tests for application plugins (CRAFT-69) | craft-parts | merged | Merged integration tests for application plugins. Approved by two reviewers, passed CI checks, and added 203 lines across two files to verify plugin registration and functionality. | |
| #199 tests: refactor plugin dependency tests | craft-parts | merged | Merged after approval and passing CI. Refactored plugin dependency tests by replacing redundant fixtures with a fixture factory in conftest.py, optimizing 4 files. Addressed reviewer feedback regarding test configuration. | |
| #1286 test: run all plugin tests with partitions | craft-parts | merged | Merged after two approvals and passing CI. The change refactors plugin test execution to run all tests with partitions enabled across 26 files. Resolves CRAFT-4767. | |
| #1791 tests: python plugin integration tests moved to a separate suite | snapcraft | merged | Merged. Python plugin integration tests were split into a separate suite to prevent timeout failures in the main plugins test suite. Approved by reviewer, passed CI, and modified seven files. | |
| #1928 tests: remove duplicate tests | snapcraft | merged | Merged changes that remove duplicate tests and clarify test base class names to prevent future duplication. Approved by two reviewers, passed CI, and reduced unit test execution time. | |
| #1275 ci: run plugin integration tests in separate jobs | craft-parts | merged | Merged. Splits plugin integration tests into separate CI jobs to accelerate pipeline execution, isolate results for plugin authors, and reduce dependency conflicts. Approved by two reviewers with all checks passing. Resolves CRAFT-4767. | |
| #1944 tests: split the plugins tests in the same directory | snapcraft | merged | Merged. Fixes Python 3.6 unittest discovery crashes by restructuring plugin test directories, replacing a temporary workaround that relied on missing init files. Approved and merged with 24 files changed. | |
| #653 feat!(test): add a pytest plugin | craft-application | merged | Merged a pytest plugin providing basic fixtures for craft-application and its consumers. Approved by two reviewers, passed CI checks, and updated 11 files (+350/-80 lines). Addresses CRAFT-4158. |