← 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. Adds an init test profile containing spread.yaml and extension templates. Approved by two reviewers, passed all CI checks, and resolves #5099.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged: introduces an init test profile with spread.yaml and extension templates. This separate profile enables testing and adding test files to existing projects without modifying the default profile, resolving #5099.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#871 feat(init): add 'test' init profile rockcraft merged Merged the addition of a 'test' init profile. Approved by two reviewers, the change was integrated despite four unresolved comments and failing slow tests. Template refinements will be addressed later.
80%
#522 feat: add init service and init command craft-application merged Merged after two approvals and passing CI. Added the init service and command with profile support, resolving #452 and #508 and creating #530. The 19-file change includes tests and bug fixes discovered during development.
76%
#107 feat: add simple init template debcraft merged Merged a pull request that adds a simple init template. Approved by two reviewers with CI checks passing. The change modifies one file, adding 17 lines.
76%
#2401 feat(test): add testing profiles for init command charmcraft merged Merged. Adds test-machine and test-kubernetes profiles to the init command for charmcraft test. Fixes #2365. Approved by three reviewers despite failing CI checks. Future updates will integrate jubilant and expand profiles.
73%
#1660 feat: add test command and templates charmcraft merged Merged addition of the charmcraft test command and templates. The feature invokes spread to run test suites locally and remotely using a multipass backend. Approved by two reviewers and rebased on main before integration.
72%