Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test init profile #5099

Open
mr-cal opened this issue Oct 7, 2024 · 2 comments
Open

Add a test init profile #5099

mr-cal opened this issue Oct 7, 2024 · 2 comments
Labels
enhancement New features or optimizations triaged

Comments

@mr-cal
Copy link
Collaborator

mr-cal commented Oct 7, 2024

What needs to get done

Add the test init profile prototyped in 83f50cd

Why it needs to get done

To allow users to create and run tests for snapcraft test.

Depends on canonical/craft-application#508 and #5098.

@mr-cal mr-cal added enhancement New features or optimizations triaged labels Oct 7, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3544.

This message was autogenerated

@sergiusens
Copy link
Collaborator

Same behavior as today:

snapcraft init --profile=default

For a new project with test templates

snapcraft init --profile=default --enable-expertimental-tests

To add the test template

snapcraft init --profile=default --enable-expertimental-tests --only-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or optimizations triaged
Projects
None yet
Development

No branches or pull requests

2 participants