Show HN: Insta – an enjoyable snapshot testing tool for Rust
insta.rs
insta.rs
It makes it possible to make assertions where the comparison value is managed by insta automatically. When the reference value changes it gives you a diff of the changes and you can approve of it.
This is particularly useful if you have a lot of generated test cases. For instance we're using it for asserting how the sentry symbolication system symbolizes results.
There is also a Visual Studio Code extension that makes it possible to manage snapshots from VSCode: https://marketplace.visualstudio.com/items?itemName=mitsuhik...