-
Notifications
You must be signed in to change notification settings - Fork 208
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
Conversation
There was a problem hiding this 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.
done :) |
rebased on top of |
There was a problem hiding this 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. 🚀
This PR continues what #1247 has started by migrating all tests in
utoipa-gen
that useassert-json-diff
to useinsta::assert_json_snapshot!()
instead.Note that this PR currently includes #1252 to avoid conflicts from the
path_derive_auto_into_responses_actix
test suite.