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 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
941f17ddc527bad590d59685b9880e19f43399e0909e58f3e7d2f64ed9fbd4b6
|
|
| MD5 |
a86c2cd1d96619f5ab149da1e9bcd8b8
|
|
| BLAKE2b-256 |
67c6de11720d2734b49804cc09a72491a4a155bc66e303bcecb9ccd173521d1e
|
Provenance
The following attestation bundles were made for localstack_snapshot-0.3.3.tar.gz:
Publisher:
release.yml on localstack/localstack-snapshot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
localstack_snapshot-0.3.3.tar.gz -
Subject digest:
941f17ddc527bad590d59685b9880e19f43399e0909e58f3e7d2f64ed9fbd4b6 - Sigstore transparency entry: 800271134
- Sigstore integration time:
-
Permalink:
localstack/localstack-snapshot@3150300bb03f33c41cd15d05bc60f0a6998d995f -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/localstack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3150300bb03f33c41cd15d05bc60f0a6998d995f -
Trigger Event:
push
-
Statement type:
File details
Details for the file localstack_snapshot-0.3.3-py3-none-any.whl.
File metadata
- Download URL: localstack_snapshot-0.3.3-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
186aabaf514444507569fc741a80684eae924e9d869a725bf3e850892e36a4ca
|
|
| MD5 |
72ac4b1283a46e6e8c83a81529f5b501
|
|
| BLAKE2b-256 |
3892454fdb443469fc6db1aa957b9421e4b6a799c3721d39b25d6c34ce0c1b24
|
Provenance
The following attestation bundles were made for localstack_snapshot-0.3.3-py3-none-any.whl:
Publisher:
release.yml on localstack/localstack-snapshot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
localstack_snapshot-0.3.3-py3-none-any.whl -
Subject digest:
186aabaf514444507569fc741a80684eae924e9d869a725bf3e850892e36a4ca - Sigstore transparency entry: 800271143
- Sigstore integration time:
-
Permalink:
localstack/localstack-snapshot@3150300bb03f33c41cd15d05bc60f0a6998d995f -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/localstack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3150300bb03f33c41cd15d05bc60f0a6998d995f -
Trigger Event:
push
-
Statement type: