About Anaconda Help Download Anaconda

A snapshot testing library for Rust

copied from cf-post-staging / cargo-insta

Installers

  • linux-64 v1.43.2
  • osx-64 v1.43.2
  • win-64 v1.43.2
  • linux-aarch64 v1.43.2
  • linux-ppc64le v1.43.2
  • osx-arm64 v1.43.2

conda install

To install this package run one of the following:
conda install conda-forge::cargo-insta

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.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy