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

utoipa-gen: Replace assert-json-diff with snapshot testing via insta #1253

Merged
merged 16 commits into from
Dec 21, 2024

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented Dec 20, 2024

This PR continues what #1247 has started by migrating all tests in utoipa-gen that use assert-json-diff to use insta::assert_json_snapshot!() instead.

Note that this PR currently includes #1252 to avoid conflicts from the path_derive_auto_into_responses_actix test suite.

Copy link
Owner

@juhaku juhaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks for putting the effort for migrating the tests 🥳

Just missing the entry or CHANGELO.md under Unreleased title and Changed subtitle at the top of the file.

@Turbo87
Copy link
Contributor Author

Turbo87 commented Dec 21, 2024

Just missing the entry or CHANGELO.md under Unreleased title and Changed subtitle at the top of the file.

done :)

@Turbo87
Copy link
Contributor Author

Turbo87 commented Dec 21, 2024

rebased on top of master now

Copy link
Owner

@juhaku juhaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, let's get this show on the road. 🚀

@juhaku juhaku merged commit 2782358 into juhaku:master Dec 21, 2024
12 checks passed
@Turbo87 Turbo87 deleted the insta branch December 22, 2024 11:11
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.

2 participants