← Back to issue list

Add a `test` init profile

View original Github issue

Metadata

Project
snapcraft
Number
#5099
Type
issue
State
closed
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Added the test init profile in merged PR #5398 (commit 0fb29e11f), including spread.yaml and spread-extension templates.

Resolution: closed resolved

Reason: PR #5398 resolved #5099 and was merged as commit 0fb29e11f, adding the requested test init profile and templates.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Add the `test` init profile prototyped in https://github.com/canonical/snapcraft/commit/83f50cd8589e80ff70bb9b5da4a8f98efe70c8b2 ### Why it needs to get done To allow users to create and run tests for `snapcraft test`. Depends on https://github.com/canonical/craft-application/issues/508 and https://github.com/canonical/snapcraft/issues/5098.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Added the test init profile in merged PR #5398 (commit 0fb29e11f), including spread.yaml and spread-extension templates.
stealth/space-bunny-alpha — closed resolved Added the test init profile in merged PR #5398 (commit 0fb29e11f), including spread.yaml and spread-extension templates.
stealth/space-bunny-alpha — closed resolved Added the test init profile via merged PR #5398 (commit 0fb29e11f), including spread.yaml and spread-extension templates.
qwen/qwen3.6-35b-a3b — — Closed as superseded. Maintainer declined the dedicated profile, noting the same functionality is available via the existing --enable-expertimental-tests flag with the default profile.
qwen/qwen3.6-35b-a3b — — Rejected. A dedicated test init profile was not implemented. Existing snapcraft init commands instead use experimental test flags to manage templates, making the requested profile redundant.
qwen3.6-35b-a3b-mtp-q6 — — Rejected. Maintainer closed the issue, noting the requested test functionality is already supported via existing init flags, making a dedicated profile unnecessary.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#5398 feat: add init test profile snapcraft merged Merged in #5398 via commit 0fb29e11f, adding a separate test init profile with spread.yaml and spread-extension templates; fixes #5099.
87%
#869 feat: add 'test' command rockcraft merged Merged #869 (a6d1b77a), adding the test CLI command and a Spread test with hardcoded files pending init-profile test support.
73%
#871 feat(init): add 'test' init profile rockcraft merged Added an experimental test init profile for Spread-based rock testing, including spread.yaml and extension templates; merged in #871 as 5b1f24f2 and shipped in Rockcraft 1.11.0.
72%