mitsuhiko/insta
A snapshot testing library for rust observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 98
- Release rhythm 88
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 15
- age_days: 2789
- days_rel: 83
- days_push: 16
- n_releases_24m: 22
Adoption not part of the score
2950 stars · 157 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Insta is a snapshot (approval) testing library for Rust that asserts values against managed reference snapshots. It includes a companion cargo-insta CLI for reviewing snapshots and a VS Code extension for editor support.
Use cases
- snapshot test rust functions
- approval testing for complex values
- review changed snapshots interactively
- store inline snapshots in source files
- redact timestamps and random ids in test output
- snapshot test cli output
- serialize snapshots to yaml toml
When to choose
- you write rust and want to test large or frequently changing reference values
- you want jest-style snapshot testing in rust
- you need redactions for nondeterministic output
- you want an interactive snapshot review workflow
When to avoid
- you need simple equality assertions on small values
- your project is not in rust
- you prefer property-based or example-based testing without managed reference files
Facets
library · maturity stable
testing developer-tools testing developer-tools rust cli editor-plugin snapshot-testing approval-tests cargo-insta vscode-extension redactions inline-snapshots
6 sources
- readme: https://github.com/mitsuhiko/insta · fetched 2026-08-28 · 9acd03010e47
- homepage: https://insta.rs · fetched 2026-08-29 · 804a2ec9a078
- site_page: https://insta.rs/docs · fetched 2026-08-29 · 4bcfa7bd8385
- site_page: https://insta.rs/docs/quickstart · fetched 2026-08-29 · bb140a92f1e4
- registry_crates: https://crates.io/api/v1/crates/insta · fetched 2026-08-29 · b0729b6a4f57
- site_page: https://insta.rs/changelog · fetched 2026-08-29 · 90e458d9f485
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mitsuhiko/insta | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem