insta
A snapshot testing library for rust
Insta is a snapshot testing library for Rust. It lets developers compare complex values against stored reference outputs instead of writing fragile manual assertions. Snapshot tests are useful when outputs are large, structured, or expected to change during development. The project includes macros for generating snapshots, reviewing changes, and storing inline snapshots inside source files. A companion cargo tool helps manage the review workflow, while a VS Code extension improves snapshot file editing and inspection. ...