feat!(test): add a pytest plugin
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
This adds a pytest plugin to craft-application with some basic fixtures that are useful both for craft-application itself and for applications that use it.
CRAFT-4158
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a pytest plugin providing basic fixtures for craft-application and downstream consumers, resolving CRAFT-4158. The update streamlines testing workflows for the library and its users. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #645 feat!(test): add a pytest plugin | craft-application | merged | Merged a breaking change adding a pytest plugin with fixtures for craft-application. The auto-used debug_mode fixture may break tests relying on production mode. Includes reference documentation and changelog updates. | |
| #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. | |
| #29 tests: use the Craft CLI lib fixtures | rockcraft | merged | Merged updates to replace test fixtures with the Craft CLI library version. Approved by one reviewer, modifying five files (+11/-54 lines). Resolves CRAFT-996. | |
| #3710 tests: use craft-cli lib fixtures | snapcraft | merged | Merged updates to use craft-cli library fixtures in tests. Approved, passed CI, and reduced test code by 89 lines across 11 files without affecting coverage. | |
| #947 tests: deduplicate tests for python-based plugins | craft-parts | merged | 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. |