feat!(test): add a pytest plugin
Metadata
Current evaluation
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.
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 for craft-application, with several fixtures. The fixtures are documented on a [new reference page](https://canonical-craft-application--645.com.readthedocs.build/en/645/reference/pytest-plugin.html).
This is a breaking change because debug_mode is an auto-used fixture, any tests that rely on production mode will break.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a pytest plugin for craft-application providing several fixtures. The change breaks tests relying on production mode as debug_mode is now auto-used. Reference documentation was added. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. |