Add a `test` init profile
Metadata
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
-
Blocked By:
canonical/snapcraft#5098
(confidence 100%)
The issue explicitly depended on adopting craft-application's init command.
-
Blocked By:
canonical/craft-application#508
(confidence 100%)
The issue explicitly listed this upstream dependency.
-
Likely Fixed By:
canonical/snapcraft#5398
(confidence 99%)
Merged implementation added the test init profile and its spread templates.
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. | |
| #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. | |
| #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. |