← Back to issue list

feat: add init test profile

View original Github issue

Metadata

Project
snapcraft
Number
#5398
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #5398 via commit 0fb29e11f, adding a separate test init profile with spread.yaml and spread-extension templates; fixes #5099.

Resolution: closed resolved

Reason: PR #5398 was merged after approval and passing CI, adding the requested test profile templates. The merge commit is 0fb29e11f and explicitly fixes issue #5099.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add template for spread.yaml and spread extension files to the "test" init profile. This was added to a separate profile to make it more convenient to test this feature without disturbing the default profile, and to allow test files to be added to existing projects. After test files stabilize, they can be also added to the default profile. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `make test`? --- Fixes #5099 (SNAPCRAFT-301) (SNAPCRAFT-476)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #5398 via commit 0fb29e11f, adding a separate test init profile with spread.yaml and spread-extension templates; fixes #5099.
stealth/space-bunny-alpha — closed resolved PR #5398 (commit 0fb29e11f) merged: adds a separate "test" init profile with spread.yaml and spread extension templates, fixing #5099. Kept out of the default profile until test files stabilize.
stealth/space-bunny-alpha — closed resolved Merged in #5398 (commit 0fb29e11f), adding a separate init test profile with spread.yaml and spread-extension templates; fixes #5099.
qwen/qwen3.6-35b-a3b — — Merged. Adds an init test profile containing spread.yaml and extension templates. Approved by two reviewers, passed all CI checks, and resolves #5099.
qwen3.6-35b-a3b-mtp-q6 — — Merged addition of spread.yaml and extension templates to a new test init profile. Enables testing without altering the default profile and supports adding test files to existing projects. Resolves #5099.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#5099 Add a `test` init profile snapcraft closed Added the test init profile in merged PR #5398 (commit 0fb29e11f), including spread.yaml and spread-extension templates.
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.
81%
#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.
78%
#775 feat: add support to spread test expressions craft-application merged Merged PR #775 as commit 7f70ecb0, adding Spread test-expression matching and CI filtering; fixes issue #748.
72%
#2401 feat(test): add testing profiles for init command charmcraft merged Merged PR #2401 as commit a7334d49, adding test-machine and test-kubernetes init profiles for charmcraft test; the feature shipped in Charmcraft 4.0.
70%