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
- Documentation
- Issue Tracker
- License: Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file cargo_insta-1.26.0-py3-none-win_amd64.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-win_amd64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ea7b4a6784fe6957a04ee65b2c90cf99e00f56520f1a23bf7f79f7245c5a568 |
|
MD5 | 8aac5aa9c90ef986cad0f64681bdd31a |
|
BLAKE2b-256 | e7ca3969b650b46decdcda427b89162962bae26fe0b0abb382ba6b46df2deb93 |
File details
Details for the file cargo_insta-1.26.0-py3-none-win32.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-win32.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2905a431ed508ec789bb7538486e54ec5bd2ad41f6b79e492443b3477513c688 |
|
MD5 | 0337250b1c2d99227335bf5a0971e13b |
|
BLAKE2b-256 | 8b51a135001b88ba7e8ec8b2324e949d151a2a8837831e493e1774a56905c09a |
File details
Details for the file cargo_insta-1.26.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c6337894dd27d9988c765c858636e1f15dff0631f5d3c8ebdc59242be09a5af |
|
MD5 | c136dd7f38cc163f8a2e23e5989344d7 |
|
BLAKE2b-256 | 20e254b7e52b8c95fd6882ae19800446c0f24002c15dd4192ea17d5aeb047098 |
File details
Details for the file cargo_insta-1.26.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 993de03a1a0d20a6e3594154346cece41c619d9b75e8cecfbe154272fc558cad |
|
MD5 | c5aed4e1c39da97ab488d6c283311803 |
|
BLAKE2b-256 | 5b749deb72e936eda27adaf4ffdb35a6bc5b8ac2a8c18b3cf0500ca285cd41fd |
File details
Details for the file cargo_insta-1.26.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15880e0f3324d8c3d210c1cb8dc8272154259adcbca178562249e3a7127586aa |
|
MD5 | a439b0ae8c15769a902d41301cf9de6f |
|
BLAKE2b-256 | 76499d6a8090294ec23dc062a432275a28eab13c6fc12273702a4dccf901eea4 |
File details
Details for the file cargo_insta-1.26.0-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e03544ae187623bb57ca7113b545cc41f7d31345d8cfe41b3903e6eb03bcb45 |
|
MD5 | a52c9b4a67fde878bf7eb0048ea027fe |
|
BLAKE2b-256 | 09e164e9319292aa03e3f9146bbdc73aa5c15cce7695062e43a07ba051e6f773 |
File details
Details for the file cargo_insta-1.26.0-py3-none-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: cargo_insta-1.26.0-py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e258f493cc37f3082792a411f0e6616b9d501bab3fd1036494a6b9f48e0b8a19 |
|
MD5 | 6eeb6eef6c801f1240f8b14ea7fa1c18 |
|
BLAKE2b-256 | f907ca0a47a3bbc05c7c6271f35a68bdfb1097b925014eeba2ae005d1adf7603 |