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

[tcgc] refine model output test #1951

Merged
merged 3 commits into from
Dec 5, 2024
Merged

[tcgc] refine model output test #1951

merged 3 commits into from
Dec 5, 2024

Conversation

tadelesh
Copy link
Member

@tadelesh tadelesh commented Dec 5, 2024

this pr does not change any tcgc logic, just change the test mechanism for tccg model output. i no longer used raw yaml snapshot to do comparison, instead will load the yaml output and check the critical part. this will help to reduce the frequency to update the raw yaml snapshot because of other package's changes.

@microsoft-github-policy-service microsoft-github-policy-service bot added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Dec 5, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 5, 2024

All changed packages have been documented.

  • @azure-tools/typespec-client-generator-core
Show changes

@azure-tools/typespec-client-generator-core - internal ✏️

refine tcgc tests

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@tadelesh tadelesh added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit bb9f189 Dec 5, 2024
23 checks passed
@tadelesh tadelesh deleted the refine_tcgc_output_test branch December 5, 2024 06:21
markcowl pushed a commit to markcowl/typespec-azure that referenced this pull request Dec 5, 2024
this pr does not change any tcgc logic, just change the test mechanism
for tccg model output. i no longer used raw yaml snapshot to do
comparison, instead will load the yaml output and check the critical
part. this will help to reduce the frequency to update the raw yaml
snapshot because of other package's changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants