Skip to main content

Extracted snapshot testing lib for LocalStack

Project description

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

Project details


Download files

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

Source Distribution

localstack_snapshot-0.3.3.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

localstack_snapshot-0.3.3-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file localstack_snapshot-0.3.3.tar.gz.

File metadata

  • Download URL: localstack_snapshot-0.3.3.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for localstack_snapshot-0.3.3.tar.gz
Algorithm Hash digest
SHA256 941f17ddc527bad590d59685b9880e19f43399e0909e58f3e7d2f64ed9fbd4b6
MD5 a86c2cd1d96619f5ab149da1e9bcd8b8
BLAKE2b-256 67c6de11720d2734b49804cc09a72491a4a155bc66e303bcecb9ccd173521d1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for localstack_snapshot-0.3.3.tar.gz:

Publisher: release.yml on localstack/localstack-snapshot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file localstack_snapshot-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for localstack_snapshot-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 186aabaf514444507569fc741a80684eae924e9d869a725bf3e850892e36a4ca
MD5 72ac4b1283a46e6e8c83a81529f5b501
BLAKE2b-256 3892454fdb443469fc6db1aa957b9421e4b6a799c3721d39b25d6c34ce0c1b24

See more details on using hashes here.

Provenance

The following attestation bundles were made for localstack_snapshot-0.3.3-py3-none-any.whl:

Publisher: release.yml on localstack/localstack-snapshot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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