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

compose: functional tests #4720

Open
weikanglim opened this issue Jan 23, 2025 · 0 comments
Open

compose: functional tests #4720

weikanglim opened this issue Jan 23, 2025 · 0 comments
Labels
Milestone

Comments

@weikanglim
Copy link
Contributor

weikanglim commented Jan 23, 2025

Functional tests (programmatic flow)

Add functional tests that take an azure.yaml as input and validate the output bicep from azd infra synth.

Consider if snapshot testing is appropriate. The minimum is running bicep build to ensure its syntactically sound.

In the future, we can consider add live testing to the appropriate scenarios.

This should replace scaffold_test.go

Functional tests (user driven flow)

Add UI tests that take a string of input representing the user interactions and validate that azd infra synth on the resulting azure.yaml succeeds.

We'll use this to cover most code path scenarios

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

No branches or pull requests

1 participant