cargo-insta: review tool for insta, a snapshot testing library for Rust
cargo-insta
provides a cargo command for insta
snapshot reviews.
$ cargo install cargo-insta
$ cargo insta --help
cargo-insta
provides a few different commands to interact with insta snapshots.
For running tests you can use the test
command, for reviewing snapshots review
.
The reviewing process is interactive and prompts for all changes identified.
If you want to skip reviewing you can use accept
and reject
directly.
For more information refer to the documentation.