← Back to issue list

Document best practices for craft-application test fixtures

View original Github issue

Metadata

Project
craft-application
Number
#670
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Open maintainer request for a how-to standardizing application test-fixture setup and use; individual pytest fixtures have reference docs, but no task-oriented guide is indexed.

Suggested action: needs triage

Reason: The deliverable is clear, but the body does not define the recommended patterns, examples, or intended audience. docs/how-to/index.rst has no fixture guide, while docs/reference/pytest-plugin.rst only documents individual fixtures; the issue has no labels or maintainer categorization, and its sole comment is an automated Jira notification.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 19 Complexity: 42 Confidence: 92 Actionability: 67

Issue body

### What needs to get done Write a how-to document that describes best practices for setting up test fixtures for an application and how to use them. ### Why it needs to get done Apps do this in different ways and currently have fixtures that set things up in unexpected ways. We should make this uniform and the best way to do this is to start with a best-practices document.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 19
Complexity: 42
Confidence: 92
Actionability: 67
needs triage Open maintainer request for a how-to standardizing application test-fixture setup and use; individual pytest fixtures have reference docs, but no task-oriented guide is indexed.
qwen/qwen3.6-35b-a3b
Impact: 35
Quick Win: 20
Complexity: 25
Confidence: 70
Actionability: 75
keep open Request to write a how-to document describing best practices for setting up test fixtures in craft-application to standardize testing across apps.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 24
Staleness: 70
Complexity: 40
Confidence: 75
Support Request: 0
needs triage Request to write a how-to document describing best practices for setting up and using test fixtures in craft-application based apps. No labels, no maintainer response beyond an auto-created Jira ticket (CRAFT-4298). No fixture best-practices doc found in docs/how-to yet.
qwen/qwen3.6-35b-a3b
Staleness: 75
Complexity: 20
Confidence: 85
Support Request: 0
needs triage Request to create a documentation page outlining best practices for setting up and using test fixtures in applications to ensure consistency.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 15
Confidence: 75
Support Request: 5
needs triage Maintainer-requested documentation task to standardize craft-application test fixtures. Unlabelled and unassessed for over a year, awaiting prioritization or explicit closure.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-application#653 (confidence 96%)

    Merged PR #653 added the pytest plugin and reusable fixtures that form the technical basis for the requested guide, but did not add the how-to.

Related issues

No related issues found above the similarity threshold.