Skip to main content

A review tool for the insta snapshot testing library for Rust

Project description

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

To install an old version ensure to pass the --locked flag so that the Cargo.lock file is honored:

$ cargo install cargo-insta --version 1.15.0 --locked

Usage

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.

License and Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

cargo_insta-1.26.0-py3-none-win_amd64.whl (1.9 MB view hashes)

Uploaded Python 3 Windows x86-64

cargo_insta-1.26.0-py3-none-win32.whl (1.7 MB view hashes)

Uploaded Python 3 Windows x86

cargo_insta-1.26.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

cargo_insta-1.26.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (3.4 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

cargo_insta-1.26.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

cargo_insta-1.26.0-py3-none-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

cargo_insta-1.26.0-py3-none-macosx_10_7_x86_64.whl (2.2 MB view hashes)

Uploaded Python 3 macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page