Skip to main content

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 to AWS_CLOUD to use an externally-deployed instance when running tests.
  • SNAPSHOT_LEGACY_REPORT: By default set to 0. Can be set to 1. This enables the legacy reporting output style.
  • SNAPSHOT_UDPATE: By default set to 0. Can be set to 1. This enables updating the snapshot file rather than comparing with its contents.
  • SNAPSHOT_RAW: By default set to 0. Can be set to 1. 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

Release files for localstack-snapshot 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for localstack-snapshot 0.3.5
File Size Uploaded
localstack_snapshot-0.3.5.tar.gz 31.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for localstack-snapshot 0.3.5
File Interpreter ABI Platform
localstack_snapshot-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 59.0 kB

Release files / localstack_snapshot-0.3.5.tar.gz

Download URL localstack_snapshot-0.3.5.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
27363bbb85cc6e0e1be221251f4d0d6459795e0269edbbfaedc6a8b492cd640b
BLAKE2b-256 checksum
How to use checksums
048f0b05e9ce866591978bb5f889875fd6b9ad7dac3d897100c73d44ff6bdc6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release files / localstack_snapshot-0.3.5-py3-none-any.whl

Download URL localstack_snapshot-0.3.5-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
521d0ae526e795ad3c16330805c3926f4fc017ef978fde53d711249a0a3510be
BLAKE2b-256 checksum
How to use checksums
c57691611f9f976b5df569f27286326a130c80c8b872d5b7f1056d180fdd18fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page