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

feat: insta for snapshot testing #688

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vasucp1207
Copy link
Contributor

@vasucp1207 vasucp1207 commented Mar 8, 2024

Related to #634

Warning

This is just for checking how to update snapshots with insta. Not a migration from the current test system to insta snapshots.

Trying out the insta for snapshot testing and find out that moving to insta is not a big deal we just have to adjust the current testing logic.
Run cargo-test and cargo-insta-accept, snapshots will created in src/snapshots with ron format. No need for manually paste the diff.

cc @obi1kenobi

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