CMD + K

cargo-insta

Community

A snapshot testing library for Rust

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::cargo-insta

Usage Tracking

1.46.3
1.46.2
1.46.1
1.46.0
1.45.1
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

Snapshots tests (also sometimes called approval tests) are tests that assert values against a reference value (the snapshot). This is similar to how assert_eq! lets you compare a value against a reference value but unlike simple string assertions, snapshot tests let you test against complex values and come with comprehensive tools to review changes.

Snapshot tests are particularly useful if your reference values are very large or change often.

About

Summary

A snapshot testing library for Rust

Last Updated

Feb 2, 2026 at 17:51

License

Apache-2.0

Total Downloads

6.2K

Supported Platforms

win-64
macOS-64
macOS-arm64
linux-aarch64
linux-ppc64le
linux-64