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

Create scenario tests for init templates #1975

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

javierdelapuente
Copy link
Contributor

@javierdelapuente javierdelapuente commented Oct 23, 2024

To avoid issues like #1970, a scenario test has been added to the spread test for the {go,flask,fastapi,django}-framework init profiles.

This test is a scenario test (unit test), that uses the paas-charm library and runs a pebble ready event. The real goal of the test is that there are no syntax errors or wrong imports in the init template.

@javierdelapuente javierdelapuente marked this pull request as ready for review October 23, 2024 10:13
@javierdelapuente
Copy link
Contributor Author

@lengau Can you have a look at this PR? Did you have a similar idea in mind for these tests? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant