FindSoftware

insta

Snapshot testing library for Rust that stores expected values as snapshot files and shows the diff when a test output changes.

insta is a snapshot testing library for Rust. A test compares a value against a reference snapshot that the library stores and manages, either in separate snapshot files or inline in the source file, and the companion cargo-insta tool reviews the snapshots that have changed. A VS Code extension in the same repository lets snapshots be reviewed from the editor.

The quickstart says tests run with cargo test as usual, and that insta behaves differently in CI environments.

Identity

Status
Active
Maintainer
Armin Ronacher4
Maintained by
Individual4
First release
20198

Rendering and deploy

Runs as
Dev only3
Install with
cargo add --dev insta (crates.io), cargo-insta installer script (curl or PowerShell), cargo install cargo-insta36

Releases

Current major version
17
Last release
2026-10-037

Adoption

GitHub stars
2,9872
Contributors
839
Dependent repositories
1,54210
Dependent packages
85110

Why these figures do not compare

Sources

  1. 2026-11-16: links
    insta.rs/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/mitsuhiko/insta
  3. 2026-11-16: links, Runs as, Install with
    insta.rs/docs/quickstart/
  4. 2026-11-16: Maintainer, Maintained by
    github.com/mitsuhiko/insta/blob/1.49.0/insta/Cargo.toml
  5. 2026-11-16: Categories, Runtime, License, License model
    github.com/mitsuhiko/insta/blob/master/README.md
  6. 2026-11-16: Install with
    insta.rs/docs/cli/
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/mitsuhiko/insta/releases/latest
  8. 2026-11-16: First release
    crates.io/api/v1/crates/insta
  9. 2026-11-16: Contributors
    api.github.com/repos/mitsuhiko/insta/contributors?per_page=1
  10. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/crates.io/packages/insta

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON