Snapshot testing for pytest
Extracted snapshot testing lib for LocalStack.
This project is in a very early stage and will be both restructured and renamed.
Quickstart
To install the python and other developer requirements into a venv run:
make install
Configuration options
There's a few env vars that can be used with this project:
TEST_TARGET: Set toAWS_CLOUDto use an externally-deployed instance when running tests.SNAPSHOT_LEGACY_REPORT: By default set to0. Can be set to1. This enables the legacy reporting output style.SNAPSHOT_UDPATE: By default set to0. Can be set to1. This enables updating the snapshot file rather than comparing with its contents.SNAPSHOT_RAW: By default set to0. Can be set to1. This outputs an additional snapshot file which contains the untransformed values.
Format code
We use black and isort as code style tools. To execute them, run:
make format
Build distribution
To build a wheel and source distribution, simply run
make dist
Metadata
Release files for localstack-snapshot 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| localstack_snapshot-0.4.1.tar.gz | 32.1 kB | With provenance | Details for localstack_snapshot-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| localstack_snapshot-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for localstack_snapshot-0.4.1-py3-none-any.whl |
Total release size: 59.3 kB
Release files / localstack_snapshot-0.4.1.tar.gz
| Download URL | localstack_snapshot-0.4.1.tar.gz |
|---|---|
| Size | 32.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10687bf82d24e200cf0c51981520076673690440b9e20fcf72c023d0330f1ecf
|
|
BLAKE2b-256 checksum How to use checksums |
309e1a4bbf4460ae86c2af328e8db419843e4ae34843b33bb708c83ccc7d4ea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / localstack_snapshot-0.4.1-py3-none-any.whl
| Download URL | localstack_snapshot-0.4.1-py3-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d49446e3e2ae856ee1ea038cbc5c2cb04a9057164f71884815591571d334009
|
|
BLAKE2b-256 checksum How to use checksums |
b578ddcba950a6b7b4a3765ea5aca521cc3d9f4ad1bf52dc1b9e8171c6c960a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for localstack-snapshot 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for localstack_snapshot-0.4.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.