-
Notifications
You must be signed in to change notification settings - Fork 37
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
Summary of updated snapshots #597
Comments
|
That all sounds awesome! Thank you for responding so quickly! No rush as these are mostly cosmetic enhancements. |
2 is implemented in https://github.com/syrupy-project/syrupy/releases/tag/v4.7.0. Will edit this issue so it's scoped to snapshot details |
This should be a simple change to implement. The reporter prints out a summary for creates/updates here: Line 328 in 8c1208d
if self.include_snapshot_details: and then print some additional info. All the required context is already available.
Open to contributions on this issue. |
Is your feature request related to a problem? Please describe.
When I run snapshot update and only a few snapshots have changed or a few new ones get created it currently gives a summary saying "x snapshots have been updated".
Describe the solution you'd like
It would be wonderful if it could print a complete list of the names of each of the snapshots so that you can feel more confident that only the ones you expected to be updated / created were changed. This would give me more confidence when updating snapshots and a clear list of the ones I should go look at manually to validate their correctness. Ideally it would have a separate section where it prints the names of any snapshots that were updated and then another section for printing the names of newly created snapshots.
Thank you very much for this awesome library it saves me so much time and effort and has beautiful syntax.
The text was updated successfully, but these errors were encountered: