← Back to issue list

feat!(test): add a pytest plugin

View original Github issue

Metadata

Project
craft-application
Number
#645
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged as commit 5d7a6fe0, adding documented pytest fixtures; the auto-used debug_mode fixture introduced a breaking change for tests expecting production mode.

Resolution: closed resolved

Reason: PR #645 was merged into the mainline. Commit 5d7a6fe0 introduced the pytest plugin, reusable fixtures, documentation, and the intentionally breaking auto-used debug_mode fixture.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged as commit 5d7a6fe0, adding documented pytest fixtures; the auto-used debug_mode fixture introduced a breaking change for tests expecting production mode.
stealth/space-bunny-alpha — closed resolved Merged as 5d7a6fe0, adding a breaking pytest plugin with documented fixtures; auto-used debug_mode changes test defaults.
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.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-application#653 (confidence 90%)

    Repository history records the same plugin change at commit 5d7a6fe0 as PR #653, likely due to issue or PR renumbering.

Related issues

Issue Project State Summary Similarity
#653 feat!(test): add a pytest plugin craft-application merged Merged PR #653 as 5d7a6fe0, adding a pytest plugin with reusable fixtures for craft-application and downstream applications (CRAFT-4158).
86%