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.4.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.4-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for localstack_snapshot-0.3.4.tar.gz
Algorithm Hash digest
SHA256 ea618231f1fb7612ef30b36230a415c32ff35bae6a0f54b571d9c5b00489ce8b
MD5 ad2b98725414f7bd1020d3f7037cdbda
BLAKE2b-256 7b95ffd249326ca9320729a6e33950a4e8c7c80d1e194c76fe0af001599e59f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for localstack_snapshot-0.3.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for localstack_snapshot-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 14ab2b1e4d07839e169cf1395ffe1f57be36c9db43390aea80d1d778d622395e
MD5 d71f95e1fdf2b1e154fa7d6f134748cf
BLAKE2b-256 b875cb3d170d2db1380574a75142ff894d4accf04ddb9ce153d8cc6c000dc459

See more details on using hashes here.

Provenance

The following attestation bundles were made for localstack_snapshot-0.3.4-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